{"action":"created","issue":{"url":"https://api.github.com/repos/mate-desktop/marco/issues/163","repository_url":"https://api.github.com/repos/mate-desktop/marco","labels_url":"https://api.github.com/repos/mate-desktop/marco/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/mate-desktop/marco/issues/163/comments","events_url":"https://api.github.com/repos/mate-desktop/marco/issues/163/events","html_url":"https://github.com/mate-desktop/marco/issues/163","id":54183563,"number":163,"title":"marco doesn't honor theme settings for CSD applications with no compositor","user":{"login":"raveit65","id":961604,"avatar_url":"https://avatars.githubusercontent.com/u/961604?v=3","gravatar_id":"","url":"https://api.github.com/users/raveit65","html_url":"https://github.com/raveit65","followers_url":"https://api.github.com/users/raveit65/followers","following_url":"https://api.github.com/users/raveit65/following{/other_user}","gists_url":"https://api.github.com/users/raveit65/gists{/gist_id}","starred_url":"https://api.github.com/users/raveit65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raveit65/subscriptions","organizations_url":"https://api.github.com/users/raveit65/orgs","repos_url":"https://api.github.com/users/raveit65/repos","events_url":"https://api.github.com/users/raveit65/events{/privacy}","received_events_url":"https://api.github.com/users/raveit65/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mate-desktop/marco/labels/confirmed","name":"confirmed","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-13T11:55:38Z","updated_at":"2016-05-21T18:44:53Z","closed_at":null,"body":"If compositor effect is disabled the top corners from a CSD window is square, should be round.\r\n![nautilus-traditionalok-gtk3-3 14-jessie](https://cloud.githubusercontent.com/assets/961604/5720316/be3f842a-9b22-11e4-8d3d-31ba0eb1f68e.png)\r\nThis is independent from GTK3 or marco version, here marco-1.8.x in debian jessie.\r\nWith this commit it  is testable with traditional themes.\r\nhttps://github.com/mate-desktop/mate-themes/commit/e1151b5eb9c5943cf04de706e165c0d46d5e92c8\r\n```\r\n.titlebar {\r\n<snip>\r\nborder-radius: 7px 7px 0 0;\r\n<snip>\r\n}\r\n```\r\nIn other themes i worked around this issue."},"comment":{"url":"https://api.github.com/repos/mate-desktop/marco/issues/comments/220794012","html_url":"https://github.com/mate-desktop/marco/issues/163#issuecomment-220794012","issue_url":"https://api.github.com/repos/mate-desktop/marco/issues/163","id":220794012,"user":{"login":"lukefromdc","id":14036792,"avatar_url":"https://avatars.githubusercontent.com/u/14036792?v=3","gravatar_id":"","url":"https://api.github.com/users/lukefromdc","html_url":"https://github.com/lukefromdc","followers_url":"https://api.github.com/users/lukefromdc/followers","following_url":"https://api.github.com/users/lukefromdc/following{/other_user}","gists_url":"https://api.github.com/users/lukefromdc/gists{/gist_id}","starred_url":"https://api.github.com/users/lukefromdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukefromdc/subscriptions","organizations_url":"https://api.github.com/users/lukefromdc/orgs","repos_url":"https://api.github.com/users/lukefromdc/repos","events_url":"https://api.github.com/users/lukefromdc/events{/privacy}","received_events_url":"https://api.github.com/users/lukefromdc/received_events","type":"User","site_admin":false},"created_at":"2016-05-21T18:44:53Z","updated_at":"2016-05-21T18:44:53Z","body":"Without either true or pseudo compositing round corners (not drawing on all of the window) is probably impossible in X11 itself, which defines a window as a rectangle. Debugging Marco compositing might be more productive than trying to work around X11 limitations. \r\n\r\nIceWM is able to give rounded corners without transparency, but they are using GTK2, and it does NOT work with CSD, implying that IceWM is using pseudotransparency within SSD decorations. I've never once seen any WM work with rounded CSD corners without true transparency-and since GTK 3.16 with GTK recognizing the WM as a compositor too.\r\n\r\nI don't even know if GTK3 would even permit a WM to apply a cairo drawn pseudocomposited background to the otherwise black rectangle set aside for/controlled by  box shadows in GTK 3.20 and by the margin setting in GTK  3.18 and earlier. If not, than no fix is possible for CSD rounded corners other than enabling transparency-and advertising GTK_FRAME_EXTENTS support too. If GTK 3 does allow this, the most useful way would be to draw that copied background only to the decoration area, then draw the decoration on top of it. Drawing to the whole window would be just as heavy as compositing and a hybrid between compositing and stacking(painter's model). I don't know anywhere near enough Cairo to code this.\r\n\r\nThe CSD/compositing issue has been a nightmare in Compiz, due to the decision by GTK devs back in the 3.15 cycle to disable compositing unless the WM reports support for GTK_FRAME_EXTENTS\r\nhttps://git.gnome.org/browse/gtk+/commit/?id=5ced234144ce63decbf5afc8a3517290b9027018\r\nLots of fallout and various patches for both GTK and Compiz from that, but that's another issue.\r\n\r\nAnyway, a total mess. Any use in a theme of rounded CSD borders thus requires the existing workarounds."}}
{"actor":{"display_login":"lukefromdc"}}