After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 778945 - Missing icon and application name not set in wayland
Missing icon and application name not set in wayland
Status: RESOLVED FIXED
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-statistics
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-02-20 09:45 UTC by Laurent Bigonville
Modified: 2017-02-23 15:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Rename the application id passed to the gtk_application_new() function (1.06 KB, patch)
2017-02-20 10:17 UTC, Laurent Bigonville
none Details | Review

Description Laurent Bigonville 2017-02-20 09:45:39 UTC
Hi,

It seems that the icon and the name of the application is not properly set in the top bar of gnome-shell. This is more noticeable when using wayland.
Comment 1 Laurent Bigonville 2017-02-20 10:03:06 UTC
I think the issue comes from the fact that the .desktop file is called org.gnome.PowerStats while the application id passed to the gtk_application_new() function is "org.gnome.PowerManager.Statistics"
Comment 2 Laurent Bigonville 2017-02-20 10:17:55 UTC
Created attachment 346247 [details] [review]
Rename the application id passed to the gtk_application_new() function

The application id and the desktop file need to match, rename the
application id here instead of renaming all the other icon and .desktop
files
Comment 3 Florian Müllner 2017-02-23 15:29:51 UTC
Alternatively, g_set_prgname("org.gnome.PowerStatus"); should work as well - just *something* that points to the correct .desktop file name ...
Comment 4 Florian Müllner 2017-02-23 15:31:32 UTC
(Note that I'm not involved with gnome-power-manager, so I'm not making any judgment on what solution should be used)
Comment 5 Laurent Bigonville 2017-02-23 15:34:27 UTC
This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.