{"action":"created","issue":{"url":"https://api.github.com/repos/lxde/lxqt/issues/1081","repository_url":"https://api.github.com/repos/lxde/lxqt","labels_url":"https://api.github.com/repos/lxde/lxqt/issues/1081/labels{/name}","comments_url":"https://api.github.com/repos/lxde/lxqt/issues/1081/comments","events_url":"https://api.github.com/repos/lxde/lxqt/issues/1081/events","html_url":"https://github.com/lxde/lxqt/issues/1081","id":162677176,"number":1081,"title":"Using the new XdgIconLoaderEngine, Qt4 status notifier items have no icon","user":{"login":"paulolieuthier","id":1238157,"avatar_url":"https://avatars.githubusercontent.com/u/1238157?v=3","gravatar_id":"","url":"https://api.github.com/users/paulolieuthier","html_url":"https://github.com/paulolieuthier","followers_url":"https://api.github.com/users/paulolieuthier/followers","following_url":"https://api.github.com/users/paulolieuthier/following{/other_user}","gists_url":"https://api.github.com/users/paulolieuthier/gists{/gist_id}","starred_url":"https://api.github.com/users/paulolieuthier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulolieuthier/subscriptions","organizations_url":"https://api.github.com/users/paulolieuthier/orgs","repos_url":"https://api.github.com/users/paulolieuthier/repos","events_url":"https://api.github.com/users/paulolieuthier/events{/privacy}","received_events_url":"https://api.github.com/users/paulolieuthier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lxde/lxqt/labels/high-priority","name":"high-priority","color":"e11d21"},{"url":"https://api.github.com/repos/lxde/lxqt/labels/libqtxdg","name":"libqtxdg","color":"c2e0c6"},{"url":"https://api.github.com/repos/lxde/lxqt/labels/lxqt-panel","name":"lxqt-panel","color":"5319e7"},{"url":"https://api.github.com/repos/lxde/lxqt/labels/regression","name":"regression","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/lxde/lxqt/milestones/5","html_url":"https://github.com/lxde/lxqt/milestones/0.11","labels_url":"https://api.github.com/repos/lxde/lxqt/milestones/5/labels","id":1163697,"number":5,"title":"0.11","description":"","creator":{"login":"paulolieuthier","id":1238157,"avatar_url":"https://avatars.githubusercontent.com/u/1238157?v=3","gravatar_id":"","url":"https://api.github.com/users/paulolieuthier","html_url":"https://github.com/paulolieuthier","followers_url":"https://api.github.com/users/paulolieuthier/followers","following_url":"https://api.github.com/users/paulolieuthier/following{/other_user}","gists_url":"https://api.github.com/users/paulolieuthier/gists{/gist_id}","starred_url":"https://api.github.com/users/paulolieuthier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulolieuthier/subscriptions","organizations_url":"https://api.github.com/users/paulolieuthier/orgs","repos_url":"https://api.github.com/users/paulolieuthier/repos","events_url":"https://api.github.com/users/paulolieuthier/events{/privacy}","received_events_url":"https://api.github.com/users/paulolieuthier/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":36,"state":"open","created_at":"2015-06-14T14:03:12Z","updated_at":"2016-07-10T07:47:15Z","due_on":null,"closed_at":null},"comments":19,"created_at":"2016-06-28T12:46:10Z","updated_at":"2016-07-10T14:46:38Z","closed_at":null,"body":"[sni-qt](https://launchpad.net/sni-qt) turns Qt4's `QSystemTray` items into `StatusNotiferItem`s. After the new `XdgIconLoaderEngine` addition to our Qt plugin (lxde/lxqt-qtplugin#10), those icons are no longer visible.\r\n\r\nThis is what happens (AFAIK):\r\n* lxqt-panel asks the application for a icon name, and then asks `QIcon` for that icon [(source)](https://github.com/lxde/lxqt-panel/blob/master/plugin-statusnotifier/statusnotifierbutton.cpp#L139).\r\n* `QIcon` creates the icon through our engine [(source)](https://github.com/qt/qtbase/blob/dev/src/gui/image/qicon.cpp#L1182).\r\n* `XdgIconLoaderEngine` can't find sni-qt powered icons, because those are in private, custom folders.\r\n* Somehow the `QIcon` instance created is valid [(source)](https://github.com/qt/qtbase/blob/dev/src/gui/image/qicon.cpp#L1224) and lxqt-panel won't search for the icons in the custom theme folders because it thinks the icons were found in the system theme.\r\n\r\nThis needs to be fixed in the current milestone."},"comment":{"url":"https://api.github.com/repos/lxde/lxqt/issues/comments/231592666","html_url":"https://github.com/lxde/lxqt/issues/1081#issuecomment-231592666","issue_url":"https://api.github.com/repos/lxde/lxqt/issues/1081","id":231592666,"user":{"login":"stefonarch","id":10681413,"avatar_url":"https://avatars.githubusercontent.com/u/10681413?v=3","gravatar_id":"","url":"https://api.github.com/users/stefonarch","html_url":"https://github.com/stefonarch","followers_url":"https://api.github.com/users/stefonarch/followers","following_url":"https://api.github.com/users/stefonarch/following{/other_user}","gists_url":"https://api.github.com/users/stefonarch/gists{/gist_id}","starred_url":"https://api.github.com/users/stefonarch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefonarch/subscriptions","organizations_url":"https://api.github.com/users/stefonarch/orgs","repos_url":"https://api.github.com/users/stefonarch/repos","events_url":"https://api.github.com/users/stefonarch/events{/privacy}","received_events_url":"https://api.github.com/users/stefonarch/received_events","type":"User","site_admin":false},"created_at":"2016-07-10T14:46:37Z","updated_at":"2016-07-10T14:46:37Z","body":"The only program which wasn't displayed here correctly was appset-qt, I notice now that it works even before   upgrading lxqt-qtplugin-git (0.10.0.7.g3ad671e-1 -> 0.10.0.8.g411f696-1)\r\nSo yes, for me everything works fine."}}
{"actor":{"display_login":"stefonarch"}}