GNOME Bugzilla – Bug 778228
gnome-calculator 3.23 identifies as 'gnome-calculator' instead of 'Calculator'
Last modified: 2017-02-12 18:25:43 UTC
gnome-calculator 3.23.4 on Ubuntu GNOME 17.04 Alpha using the GNOME3 Staging PPA 1. Start gnome-calculator from the Activities Overview What happens ============ 'gnome-calculator' shows in the top bar as the app name instead of 'Calculator' 'gnome-calculator' shows in the Alt-Tab switcher instead of 'Calculator' This is a regression from gnome-calculator 3.22.2.
Huh. Actually in Unity, it's the opposite. gnome-calculator 3.22.2's titlebar says 'gnome-calculator'; with 3.23.4 it says 'Calculator'.
Strange: * I today did experiment with the master version on fedora, for me "Calculator" is displayed everywhere * asked around on #gnome-hackers to find about who and how should match app title to a window, but have not received a response * checked gnome-shell code, and it looks like it is a desktop-file based lookup (GAppInfo) So if you have any idea for the fix on this, let me know, I'll be among the first ones to try it and review it. The rename happened for flatpak compatibility and to align with other GNOME apps having the same naming style, and I did consider it a necessary evil. It looks like it is worse as I thought :( I will ask a couple more times on #gnome-hackers and maybe #gnome-shell, maybe I'll find something.
Actually, I only experience this bug in Wayland. It works fine in X. My system is GNOME 3.22. Ubuntu 17.04 does have the gnome-session login shell .patch: https://git.gnome.org/browse/gnome-session/commit/?id=7e307f8ddb
Ok, now I am really confused: * on Fedora on wayland calculator 3.22 does show gnome-calculator * on Fedora on x11 calculator 3.22 does show Calculator * on Fedora on x11 calculator master does show Calculator * on Fedora on wayland calculator master does show Calculator. I can only hope that for most people we will have one of the last three (or any other similar) option.
I can't easily test on Fedora since gnome-calculator 3.23.4 hasn't been officially packaged there yet. I get the same bug on Debian Stretch (3.23 does not identify correctly in Wayland)
I've seen this kind of bug elsewhere in GNOME. Some GNOME developers have figured out how to work around it. Here are some of the other bugs I've filed about it affecting other apps: https://bugzilla.gnome.org/705323 https://bugzilla.gnome.org/770865 https://bugzilla.gnome.org/778490
(In reply to Jeremy Bicha from comment #6) > I've seen this kind of bug elsewhere in GNOME. Some GNOME developers have > figured out how to work around it. > > Here are some of the other bugs I've filed about it affecting other apps: > > https://bugzilla.gnome.org/705323 > https://bugzilla.gnome.org/770865 > https://bugzilla.gnome.org/778490 Thanks Jeremy for the investigation, I have read through your references, tried some of the solutions (e.g. setting program class) but they did not help. During the investigation however I have found that the application id is not correctly set, which might be the reason for the problem on your side. I have pushed a fix for this, hoping that you can test it and get back with the result (either confirm the fix or "reject" it, in which case I will investigate further).
Yes, that commit fixes the issue for me on Unity and GNOME Shell in Ubuntu 17.04 Alpha.