{"action":"created","issue":{"url":"https://api.github.com/repos/mate-desktop/mate-panel/issues/336","labels_url":"https://api.github.com/repos/mate-desktop/mate-panel/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/mate-desktop/mate-panel/issues/336/comments","events_url":"https://api.github.com/repos/mate-desktop/mate-panel/issues/336/events","html_url":"https://github.com/mate-desktop/mate-panel/issues/336","id":99425285,"number":336,"title":"Gtk3: na-tray applet lost transparency when using icon-padding","user":{"login":"NiceandGently","id":961604,"avatar_url":"https://avatars.githubusercontent.com/u/961604?v=3","gravatar_id":"","url":"https://api.github.com/users/NiceandGently","html_url":"https://github.com/NiceandGently","followers_url":"https://api.github.com/users/NiceandGently/followers","following_url":"https://api.github.com/users/NiceandGently/following{/other_user}","gists_url":"https://api.github.com/users/NiceandGently/gists{/gist_id}","starred_url":"https://api.github.com/users/NiceandGently/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiceandGently/subscriptions","organizations_url":"https://api.github.com/users/NiceandGently/orgs","repos_url":"https://api.github.com/users/NiceandGently/repos","events_url":"https://api.github.com/users/NiceandGently/events{/privacy}","received_events_url":"https://api.github.com/users/NiceandGently/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mate-desktop/mate-panel/milestones/4","html_url":"https://github.com/mate-desktop/mate-panel/milestones/Gtk+3","labels_url":"https://api.github.com/repos/mate-desktop/mate-panel/milestones/4/labels","id":873203,"number":4,"title":"Gtk+3","description":null,"creator":{"login":"infirit","id":3465730,"avatar_url":"https://avatars.githubusercontent.com/u/3465730?v=3","gravatar_id":"","url":"https://api.github.com/users/infirit","html_url":"https://github.com/infirit","followers_url":"https://api.github.com/users/infirit/followers","following_url":"https://api.github.com/users/infirit/following{/other_user}","gists_url":"https://api.github.com/users/infirit/gists{/gist_id}","starred_url":"https://api.github.com/users/infirit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infirit/subscriptions","organizations_url":"https://api.github.com/users/infirit/orgs","repos_url":"https://api.github.com/users/infirit/repos","events_url":"https://api.github.com/users/infirit/events{/privacy}","received_events_url":"https://api.github.com/users/infirit/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":6,"state":"open","created_at":"2014-11-19T19:04:42Z","updated_at":"2015-09-06T14:52:26Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-08-06T12:36:23Z","updated_at":"2015-09-06T14:52:26Z","closed_at":"2015-09-06T14:52:25Z","body":"![na-tray](https://cloud.githubusercontent.com/assets/961604/9111330/4d32dd5c-3c46-11e5-920e-376bb6e3d8a7.png)\r\nThis screenshot is with gtk+-3.17.x, for some reasons the new feature doesn't work with gtk+-3.16.\r\nI used this setting in mate-applictions.css (green-submarine)\r\n```\r\nNaTrayApplet {\r\n    -NaTrayApplet-icon-padding: 6px;\r\n    -NaTrayApplet-icon-size: 16;\r\n}\r\n```\r\nHere you see that the padding background left and right from the icon use the default bg from the theme. This is bad if a theme use a dark bg for the panel which differs from default theme bg, or using a transparency panel.\r\nI tried to fix that with set background-color=transparent or border-color=transparent in theme settings, but all of this will be ignored.\r\nYou will see this also if you use a custom bg-color for the panel.\r\nThe only soution is to use\r\n```\r\nNaTrayApplet {\r\n    -NaTrayApplet-icon-padding: 0px;\r\n    -NaTrayApplet-icon-size: 16;\r\n}\r\n```\r\nin themes. But than we don't need this new feature ;)\r\nSee also:\r\nhttp://forums.mate-desktop.org/viewtopic.php?f=16&t=3668"},"comment":{"url":"https://api.github.com/repos/mate-desktop/mate-panel/issues/comments/138091133","html_url":"https://github.com/mate-desktop/mate-panel/issues/336#issuecomment-138091133","issue_url":"https://api.github.com/repos/mate-desktop/mate-panel/issues/336","id":138091133,"user":{"login":"NiceandGently","id":961604,"avatar_url":"https://avatars.githubusercontent.com/u/961604?v=3","gravatar_id":"","url":"https://api.github.com/users/NiceandGently","html_url":"https://github.com/NiceandGently","followers_url":"https://api.github.com/users/NiceandGently/followers","following_url":"https://api.github.com/users/NiceandGently/following{/other_user}","gists_url":"https://api.github.com/users/NiceandGently/gists{/gist_id}","starred_url":"https://api.github.com/users/NiceandGently/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiceandGently/subscriptions","organizations_url":"https://api.github.com/users/NiceandGently/orgs","repos_url":"https://api.github.com/users/NiceandGently/repos","events_url":"https://api.github.com/users/NiceandGently/events{/privacy}","received_events_url":"https://api.github.com/users/NiceandGently/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T14:52:25Z","updated_at":"2015-09-06T14:52:25Z","body":"This can easily fix in a theme, so i will close the issue."}}