{"action":"created","issue":{"url":"https://api.github.com/repos/ubuntu/gtk-communitheme/issues/624","repository_url":"https://api.github.com/repos/ubuntu/gtk-communitheme","labels_url":"https://api.github.com/repos/ubuntu/gtk-communitheme/issues/624/labels{/name}","comments_url":"https://api.github.com/repos/ubuntu/gtk-communitheme/issues/624/comments","events_url":"https://api.github.com/repos/ubuntu/gtk-communitheme/issues/624/events","html_url":"https://github.com/ubuntu/gtk-communitheme/issues/624","id":341131779,"node_id":"MDU6SXNzdWUzNDExMzE3Nzk=","number":624,"title":"Plasma requires special trick for rendering windows' borders","user":{"login":"VandaLHJ","id":28790923,"node_id":"MDQ6VXNlcjI4NzkwOTIz","avatar_url":"https://avatars0.githubusercontent.com/u/28790923?v=4","gravatar_id":"","url":"https://api.github.com/users/VandaLHJ","html_url":"https://github.com/VandaLHJ","followers_url":"https://api.github.com/users/VandaLHJ/followers","following_url":"https://api.github.com/users/VandaLHJ/following{/other_user}","gists_url":"https://api.github.com/users/VandaLHJ/gists{/gist_id}","starred_url":"https://api.github.com/users/VandaLHJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VandaLHJ/subscriptions","organizations_url":"https://api.github.com/users/VandaLHJ/orgs","repos_url":"https://api.github.com/users/VandaLHJ/repos","events_url":"https://api.github.com/users/VandaLHJ/events{/privacy}","received_events_url":"https://api.github.com/users/VandaLHJ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-13T19:19:53Z","updated_at":"2018-07-14T09:43:32Z","closed_at":null,"author_association":"NONE","body":"![screenshot_20180713_162559](https://user-images.githubusercontent.com/28790923/42709894-57605e96-86e2-11e8-962c-ae3348cb6891.png)\r\n\r\nRendering on plasma add strange borders instead of shadows. It's most likely linked with rendering engine and lack of cooperation in setting up sensible standards between kde and gnome camps.\r\n\r\nMost likely linked with this:\r\n\r\n> GTK 3's implementation of CSDs isn't standards compliant and that's why you see these grey borders instead of transparency and shadows. We've been trying for a couple years to find some way around this issue, but the solutions I've proposed haven't panned out. They are as follows:\r\n> \r\n>     Patch the GTK CSD implementation, at least so RGBA is available. This has been met with resistance over the years as there are always other priorities. When this was first requested, GTK was still undergoing drastic changes per release, so pausing to make sure they had a stable CSD standard for freedesktop.org was not important to GTK developers.\r\n> \r\n>     Modify KWin to support GTK's implementation of CSDs. This can't be done because GTK doesn't conform to a predictable behavior. If KWin were rearchitected to properly implement a specific GTK version's CSD implementation, it could break as soon as the new version came out. Most other compositors like Compiz or Compton happen to be compatible by chance, whereas KWin's rendering is fairly deep and complex. Changing it could take months of potentially wasted work away from important things like Wayland.\r\n> \r\n>     Write a KWin effect that shaves off the edges of GTK windows, menus, and tooltips and adds shadows around them. This is very hacky and something I tried to do to no avail as it's rather complicated.\r\n> \r\n> So, what we've decided on instead is to modify the theme so it gets rid of the grey borders (originally left so you can resize the window) and force window decorations on CSD windows so they can appear more or less correct. You can get part of this if you checkout Breeze-GTK's master branch.\r\n> \r\n> I should note that native GTK CSD windows might actually behave correctly on Wayland once KWin's xdg_shell is fully up to date. As such, we've altered the theme in such a way that it can work and look fairly correct in both situations. Either way, if we can't get the GTK devs to standardize their CSD implementation in the near future, we may have to remake the theme to take these limitations into account. I should also note that issues like these and GTK's removal of theme engine support have been preventing us from focusing on color scheme support.\r\n> \r\n> UPDATE: Here's a quick shot of what it looks like. If we can't get any changes into GTK soon, the headerbars will be altered to look like toolbars and appear disabled even if they work in Wayland for the sake of consistency."},"comment":{"url":"https://api.github.com/repos/ubuntu/gtk-communitheme/issues/comments/405012075","html_url":"https://github.com/ubuntu/gtk-communitheme/issues/624#issuecomment-405012075","issue_url":"https://api.github.com/repos/ubuntu/gtk-communitheme/issues/624","id":405012075,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTAxMjA3NQ==","user":{"login":"clobrano","id":2883614,"node_id":"MDQ6VXNlcjI4ODM2MTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2883614?v=4","gravatar_id":"","url":"https://api.github.com/users/clobrano","html_url":"https://github.com/clobrano","followers_url":"https://api.github.com/users/clobrano/followers","following_url":"https://api.github.com/users/clobrano/following{/other_user}","gists_url":"https://api.github.com/users/clobrano/gists{/gist_id}","starred_url":"https://api.github.com/users/clobrano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clobrano/subscriptions","organizations_url":"https://api.github.com/users/clobrano/orgs","repos_url":"https://api.github.com/users/clobrano/repos","events_url":"https://api.github.com/users/clobrano/events{/privacy}","received_events_url":"https://api.github.com/users/clobrano/received_events","type":"User","site_admin":false},"created_at":"2018-07-14T09:43:32Z","updated_at":"2018-07-14T09:43:32Z","author_association":"MEMBER","body":"I updated the title of the ticket to reflect the content of the request"}}
{"actor":{"display_login":"clobrano"}}