[Wayland-bugs] [Bug 752258] Epiphany displays incorrect name in gnome-shell app menu
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Tue Jul 14 23:41:50 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=752258
Jonas Ådahl <jadahl at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jstpierre at mecheye.net
--- Comment #13 from Jonas Ådahl <jadahl at gmail.com> ---
The linked GTK+ commit is an attempt to implement the client<->shell Wayland
protocol (xdg_shell) more properly. The reason that triggered the change was
that applications that had transitioned te being D-Bus activatable (i.e.
renamed their .desktop file) would no longer match correctly because the
prgname would no longer match the .desktop file and gnome-shell was not able to
figure out what window was part of what application (i.e. the same as this
bug).
One of the problems is that in the future, for GtkApplications the application
id passed there will most likely always be correct, but there is no way for the
GDK backend to know if it actually is that. The most "future proof" was then
decided to be to default to the GtkApplication ID when available, and fallback
to prgname.
I don't think reverting the commit is preferable since it would make GTK+ to
more or less always set the incorrect application ID (according to the
xdg_shell protocol). I know that the same ID is available via the
set_dbus_properties request in gtk_shell, but that does not change the fact
that we should properly implement the xdg_shell protocol.
While the IMHO "proper" fix is to fix all the GtkApplications, a possible
transition-phase work-around is to add a "set_legacy_prgname" to gtk_shell or
"gtk_legacy_shell" or something that can then be propogated to gnome-shell so
that it can match applications who has not updated to the new conventions.
It'd introduce multiple ID's per application in Wayland similar to how it is in
X, but at least it'd be more clearly marked as "legacy".
--
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/20150715/24787e1a/attachment-0001.html>
More information about the wayland-bugs
mailing list