Bug 1601033
| Summary: | QT tray icons / appindicators do not work when qgnomeplatform is installed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dan Callahan <dan.callahan> | ||||
| Component: | qgnomeplatform | Assignee: | Germano Massullo (Thetra) <germano.massullo> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 28 | CC: | dan.callahan, germano.massullo, jgrulich, m, nonamedotc, robert.mader, samuel-rhbugs | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | qgnomeplatform-0.4-1.fc28 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-07-27 16:47:58 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1607147 | ||||||
| Attachments: |
|
||||||
|
Description
Dan Callahan
2018-07-13 16:05:27 UTC
Hi Dan, could you please provide screenshots of both working and not working situation? I am not a GNOME user so it would be helpful to give a look to pictures Created attachment 1458771 [details] Screenshot showing the tray icon being present and absent Sure! Screenshot attached. Thank you for the quick response. Things are currently a bit weird with tray icons in Gnome. They've been removed from the platform as of Gnome 3.28, but Canonical is maintaining an extension (linked in the steps to reproduce) that effectively restores support via a different protocol. Apparently a lot of upstream libraries incorrectly detect which methods are supported (legacy tray icon vs. KStatusNotifier vs AppIndicator). For example, Electron apps like Slack need to be launched with XDG_CURRENT_ENVIRONMENT=Unity to work with the extension, otherwise it tries and fails to use a legacy GTKStatusIcon. Further discussion at https://github.com/ubuntu/gnome-shell-extension-appindicator/issues/127 ...which is all to say, this is probably a really weird interaction between the environment and the upstream libraries. This might be caused by the QGnomePlatform platform plugin that Fedora ships. You can try uninstalling the qgnomeplatform package, or setting QT_QPA_PLATFORMTHEME=kde (or something else other than "gnome"), though I'm not sure whether the platform theme actually needs to exist for the environment variable to work (the KDE one is in the plasma-integration package). Removing qgnomeplatform fixes this (at the cost of platform integration). Installing plasma-integration and setting QT_QPA_PLATFORMTHEME=kde does change the visual theme of the application, but does not fix the missing tray icon. ...so it sounds like the bug is somewhere in qgnomeplatform, and not necessarily in the theme code. Weird observation: with QT_QPA_PLATFORM=kde, keepassxc behaves as if it has a tray icon (closing the window does not terminate the process), but there is no actual tray icon visible on the screen. (Changing the theme and observing this behavior *does* require that plasma-integration is installed. Without it installed, the process terminates as soon as the main window is closed.) Moving this over to the qgnomeplatform component, and adding its owner (jgrulich) to CC. qgnomeplatform-0.4-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a5657e9770 qgnomeplatform-0.4-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-61048a9a6e Alright, I can confirm the update from https://bugzilla.redhat.com/show_bug.cgi?id=1601033#c8 fixes the problem qgnomeplatform-0.4-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a5657e9770 qgnomeplatform-0.4-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-61048a9a6e qgnomeplatform-0.4-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. |