<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 - Mismatched application id with xdg-shell"
href="https://bugzilla.gnome.org/show_bug.cgi?id=769641">bug 769641</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>jadahl@gmail.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Mismatched application id with xdg-shell"
href="https://bugzilla.gnome.org/show_bug.cgi?id=769641#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Mismatched application id with xdg-shell"
href="https://bugzilla.gnome.org/show_bug.cgi?id=769641">bug 769641</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>Yes. The problem is that we don't have the information available in Gdk to set
it to the correct thing. In the past I made an attempt to force everyone to
start setting the prgname (g_set_prgname()) to the application ID (since some
were already doing it and its the closest thing we had). Eventually that was
reverted since it just switched what set of applications were broken to a
different set. Another attempt was to use the GApplication ID (the one that
becomes the D-Bus name), but for various applications that didn't match with
the actual application ID which was not the D-Bus name. They could not change
their application ID to the D-Bus name because that'd mean they had to change
the .desktop file name, which would break favorites, bookmarks etc. I think
since then there was some idea floating around making .desktop file aliases or
something which I suspect could possibly solve that particular issue.
The "cleanest" way would maybe be to force every application to use ID used as
the GApplication application-id, i.e. rename their .desktop files and maybe
create aliases (if that makes the problem go away), and then have GTK pass that
down as a gdk_window_set_app_id() (instead of
gdk_window_set_dbus_properties_libgtk_only).
It'd definitely break things again, until all applications have been updated,
which is not very optimal, but it's the most "correct" way IMHO.
FWIW, I suspect in the Calendar example, the correct ID will be passed via the
gtk_surface1.set_dbus_properties request.</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>