{"action":"created","issue":{"url":"https://api.github.com/repos/swaywm/wlroots/issues/348","repository_url":"https://api.github.com/repos/swaywm/wlroots","labels_url":"https://api.github.com/repos/swaywm/wlroots/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/swaywm/wlroots/issues/348/comments","events_url":"https://api.github.com/repos/swaywm/wlroots/issues/348/events","html_url":"https://github.com/swaywm/wlroots/issues/348","id":269211248,"node_id":"MDU6SXNzdWUyNjkyMTEyNDg=","number":348,"title":"xwayland: transparency in firefox windows","user":{"login":"acrisci","id":3258764,"node_id":"MDQ6VXNlcjMyNTg3NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3258764?v=4","gravatar_id":"","url":"https://api.github.com/users/acrisci","html_url":"https://github.com/acrisci","followers_url":"https://api.github.com/users/acrisci/followers","following_url":"https://api.github.com/users/acrisci/following{/other_user}","gists_url":"https://api.github.com/users/acrisci/gists{/gist_id}","starred_url":"https://api.github.com/users/acrisci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acrisci/subscriptions","organizations_url":"https://api.github.com/users/acrisci/orgs","repos_url":"https://api.github.com/users/acrisci/repos","events_url":"https://api.github.com/users/acrisci/events{/privacy}","received_events_url":"https://api.github.com/users/acrisci/received_events","type":"User","site_admin":false},"labels":[{"id":591667613,"node_id":"MDU6TGFiZWw1OTE2Njc2MTM=","url":"https://api.github.com/repos/swaywm/wlroots/labels/bug","name":"bug","color":"ee0701","default":true},{"id":724741137,"node_id":"MDU6TGFiZWw3MjQ3NDExMzc=","url":"https://api.github.com/repos/swaywm/wlroots/labels/xwayland","name":"xwayland","color":"000000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/swaywm/wlroots/milestones/1","html_url":"https://github.com/swaywm/wlroots/milestone/1","labels_url":"https://api.github.com/repos/swaywm/wlroots/milestones/1/labels","id":2983986,"node_id":"MDk6TWlsZXN0b25lMjk4Mzk4Ng==","number":1,"title":"1.0","description":"wlroots 1.0 yo","creator":{"login":"SirCmpwn","id":1310872,"node_id":"MDQ6VXNlcjEzMTA4NzI=","avatar_url":"https://avatars0.githubusercontent.com/u/1310872?v=4","gravatar_id":"","url":"https://api.github.com/users/SirCmpwn","html_url":"https://github.com/SirCmpwn","followers_url":"https://api.github.com/users/SirCmpwn/followers","following_url":"https://api.github.com/users/SirCmpwn/following{/other_user}","gists_url":"https://api.github.com/users/SirCmpwn/gists{/gist_id}","starred_url":"https://api.github.com/users/SirCmpwn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirCmpwn/subscriptions","organizations_url":"https://api.github.com/users/SirCmpwn/orgs","repos_url":"https://api.github.com/users/SirCmpwn/repos","events_url":"https://api.github.com/users/SirCmpwn/events{/privacy}","received_events_url":"https://api.github.com/users/SirCmpwn/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":24,"state":"open","created_at":"2017-12-16T17:00:54Z","updated_at":"2018-06-24T22:38:55Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2017-10-27T19:29:03Z","updated_at":"2018-07-08T13:33:13Z","closed_at":null,"author_association":"MEMBER","body":"Firefox seems to show junk around the borders with drop shadows (depending on the GL clear color).\r\n\r\nI think it is choosing the wrong visual depth. On rootston, it chooses a 24-bit depth but on weston it chooses a 32-bit depth for windows with drop shadows.\r\n\r\nI know we support transparency on X11 windows for sure when they choose the correct depth. For instance, [this program](https://gist.githubusercontent.com/je-so/903479/raw/a644c3d1af67c7d47626c9c49bf8aa3e5d259f93/testprogram.c) demonstrates that wlr-xwayland is capable of displaying windows with transparency.\r\n\r\nMaybe it is copying this attribute from the parent (root window) which does not have an alpha channel. In that case, we might have to reparent the window to get Firefox to behave correctly."},"comment":{"url":"https://api.github.com/repos/swaywm/wlroots/issues/comments/403288145","html_url":"https://github.com/swaywm/wlroots/issues/348#issuecomment-403288145","issue_url":"https://api.github.com/repos/swaywm/wlroots/issues/348","id":403288145,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzI4ODE0NQ==","user":{"login":"emersion","id":506932,"node_id":"MDQ6VXNlcjUwNjkzMg==","avatar_url":"https://avatars1.githubusercontent.com/u/506932?v=4","gravatar_id":"","url":"https://api.github.com/users/emersion","html_url":"https://github.com/emersion","followers_url":"https://api.github.com/users/emersion/followers","following_url":"https://api.github.com/users/emersion/following{/other_user}","gists_url":"https://api.github.com/users/emersion/gists{/gist_id}","starred_url":"https://api.github.com/users/emersion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emersion/subscriptions","organizations_url":"https://api.github.com/users/emersion/orgs","repos_url":"https://api.github.com/users/emersion/repos","events_url":"https://api.github.com/users/emersion/events{/privacy}","received_events_url":"https://api.github.com/users/emersion/received_events","type":"User","site_admin":false},"created_at":"2018-07-08T13:33:13Z","updated_at":"2018-07-08T13:33:13Z","author_association":"MEMBER","body":"Tried running `xdpyinfo` which prints info about visuals, they're almost the same in wlroots and in weston, the differences aren't very interesting.\r\n\r\n```\r\ndiff --git a/home/simon/weston-xdpyinfo.log b/home/simon/wlroots-xdpyinfo.log\r\nindex b697a3af..ca843aa8 100644\r\n--- a/home/simon/weston-xdpyinfo.log\r\n+++ b/home/simon/wlroots-xdpyinfo.log\r\n@@ -1,8 +1,8 @@\r\n-name of display:    :2\r\n+name of display:    :0\r\n version number:    11.0\r\n vendor string:    The X.Org Foundation\r\n-vendor release number:    12000000\r\n-X.Org version: 1.20.0\r\n+vendor release number:    12099001\r\n+X.Org version: 1.20.99.1\r\n maximum request size:  16777212 bytes\r\n motion buffer size:  256\r\n bitmap unit, bit order, padding:    32, LSBFirst, 32\r\n@@ -17,8 +17,8 @@ supported pixmap formats:\r\n     depth 24, bits_per_pixel 32, scanline_pad 32\r\n     depth 32, bits_per_pixel 32, scanline_pad 32\r\n keycode range:    minimum 8, maximum 255\r\n-focus:  PointerRoot\r\n-number of extensions:    25\r\n+focus:  None\r\n+number of extensions:    24\r\n     BIG-REQUESTS\r\n     Composite\r\n     DAMAGE\r\n@@ -32,7 +32,6 @@ number of extensions:    25\r\n     RANDR\r\n     RECORD\r\n     RENDER\r\n-    SECURITY\r\n     SHAPE\r\n     SYNC\r\n     X-Resource\r\n@@ -48,7 +47,7 @@ default screen number:    0\r\n number of screens:    1\r\n \r\n screen #0:\r\n-  dimensions:    1024x640 pixels (271x169 millimeters)\r\n+  dimensions:    1600x900 pixels (423x238 millimeters)\r\n   resolution:    96x96 dots per inch\r\n   depths (7):    24, 1, 4, 8, 15, 16, 32\r\n   root window id:    0x39c\r\n@@ -58,9 +57,10 @@ screen #0:\r\n   default number of colormap cells:    256\r\n   preallocated pixels:    black 0, white 16777215\r\n   options:    backing-store WHEN MAPPED, save-unders NO\r\n-  largest cursor:    1024x640\r\n-  current input event mask:    0x580000\r\n-    SubstructureNotifyMask   SubstructureRedirectMask PropertyChangeMask       \r\n+  largest cursor:    1600x900\r\n+  current input event mask:    0x5a0000\r\n+    StructureNotifyMask      SubstructureNotifyMask   SubstructureRedirectMask \r\n+    PropertyChangeMask       \r\n   number of visuals:    270\r\n   default visual id:  0x24\r\n   visual:\r\n```"}}
{"actor":{"display_login":"emersion"}}