<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body><span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Epiphany displays incorrect name in gnome-shell app menu"
href="https://bugzilla.gnome.org/show_bug.cgi?id=752258">bug 752258</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>jstpierre@mecheye.net
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Epiphany displays incorrect name in gnome-shell app menu"
href="https://bugzilla.gnome.org/show_bug.cgi?id=752258#c13">Comment # 13</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Epiphany displays incorrect name in gnome-shell app menu"
href="https://bugzilla.gnome.org/show_bug.cgi?id=752258">bug 752258</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
<pre>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".</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>