Bug 1880553 - Generic placeholder icon for BOINC Manager in GNOME Wayland session
Summary: Generic placeholder icon for BOINC Manager in GNOME Wayland session
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: boinc-client
Version: rawhide
Hardware: All
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Germano Massullo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-18 18:40 UTC by Ben Beasley
Modified: 2020-09-27 01:57 UTC (History)
3 users (show)

Fixed In Version: boinc-client-7.16.6-6.fc33 boinc-client-7.16.6-6.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-25 17:01:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME gnome-shell issues 1779 0 None None None 2020-09-18 18:40:24 UTC
Github BOINC boinc issues 3810 0 None open BUG: Boinc icon in the dock is replaced by an placeholder in an Ubuntu 20.04 wayland session 2020-10-03 23:05:56 UTC
Gitlab inkscape inkscape issues 539 0 None None None 2020-09-18 18:40:24 UTC

Description Ben Beasley 2020-09-18 18:40:25 UTC
Description of problem:

When using GNOME/Wayland, the running BOINC Manager (boincmgr) application has a generic placeholder icon associated with it. This occurs in both Fedora 32 and Rawhide.

Version-Release number of selected component (if applicable):

7.16.6-3 (F32) or 7.16.6-5 (Rawhide)

How reproducible:


Steps to Reproduce:
1. Start a GNOME/Wayland desktop session.
2. Launch BOINC Manager from the Applications menu. (The launcher has the correct icon.)
3. Observe that the running application has a generic placeholder icon.

Actual results:

Running application has a generic placeholder icon.

Expected results:

Running application has a custom application-specific icon.

Additional info:

Upstream bug: https://github.com/BOINC/boinc/issues/3810

This is another manifestation of the issue discussed in https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/1779, in which gnome-shell cannot match the running application with its desktop file. As far as gnome-shell is concerned, this is resolved by falling back to a generic placeholder icon instead of no icon.

Many upstreams ship their own desktop files; in these cases, the issue can be fixed by adding a call to QGuiApplication.setDesktopFileName for Qt applications or g_set_prgname() for GTK applications (like this one). See the fixes in Lyx, Spyder, and Inkscape:

https://www.lyx.org/trac/changeset/dc5eda84/lyxgit

https://github.com/spyder-ide/spyder/pull/13787/files

https://gitlab.com/inkscape/inkscape/-/issues/539

In this case, though, BOINC upstream does not ship a .desktop file, so in my opinion this should be considered a Fedora packaging issue. Here is the file Fedora ships: https://src.fedoraproject.org/rpms/boinc-client/blob/master/f/boinc-manager.desktop

I have verified that the problem can be resolved by renaming the boinc-manager.desktop file to boincmgr.desktop. I think this is more sensible than the alternative, which would be patching the source to call g_set_prgname("boinc-manager") from glib/gutils.h. I have not tested that alternative.

If the maintainer agrees, I am happy to prepare a PR to rename the .desktop file.

Comment 1 Germano Massullo 2020-09-18 21:46:09 UTC
Hello, thank you for providing a solution for this problem.
I really think renaming is the only way to address the problem. Concerning Gtk, the Boinc Manager is not written in Gtk, but is written in WxWidgets. The latter, then "translates" the code into native libraries code for each operating system, Gtk for Linux case. 

I will take care of renaming the desktop file

Comment 2 Fedora Update System 2020-09-18 23:11:18 UTC
FEDORA-2020-f685412889 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f685412889

Comment 3 Fedora Update System 2020-09-19 19:57:14 UTC
FEDORA-2020-f2b1ad298e has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-f2b1ad298e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f2b1ad298e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2020-09-19 23:24:01 UTC
FEDORA-2020-f685412889 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-f685412889`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f685412889

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2020-09-25 17:01:56 UTC
FEDORA-2020-f2b1ad298e has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2020-09-27 01:57:31 UTC
FEDORA-2020-f685412889 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.