[Wayland-bugs] [Bug 752258] Epiphany displays incorrect name in gnome-shell app menu
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Sun Aug 9 02:44:18 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=752258
--- Comment #31 from Florian Müllner <florian.muellner at gmail.com> ---
(In reply to Michael Catanzaro from comment #30)
> Our preferred solution is to simply revert this change. Then
> WM_CLASS/xdg_surface.set_application_id will be preferred always. D-Bus
> activatable applications will need to set their prgname to the full name of
> the desktop file, e.g. g_set_prgname("org.gnome.gedit").
The current heuristics used in gnome-shell check for _GTK_APPLICATION_ID first,
and only then use WM_CLASS/xdg_surface.application_id. So unless you are
suggesting to modify our heuristics, the g_set_prgname() call is not used for
app matching in the case of DBus-activatable apps as long as they're based on
GtkApplication.
> To make this simpler, it would be ideal for applications to not need to call
> g_set_prgname, but for it to be set properly automatically.
That should already work for the majority of applications on X11 - prgname
defaults to the executable's basename, which usually matches the .desktop
filename for non-DBus-activatable apps.
And if xdg_surface.application_id is changed to match the prgname again, it
would just work for most apps on wayland again.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150809/275dae0c/attachment.html>
More information about the wayland-bugs
mailing list