[Wayland-bugs] [Bug 769641] Mismatched application id with xdg-shell
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Wed Aug 17 09:50:45 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=769641
--- Comment #3 from Pier Luigi Fiorini <pierluigi.fiorini at gmail.com> ---
Can't give any suggestion on how to do it because I don't know much the
Gtk+/GDK internals but it was working with gtk-shell.
My compositor implements gtk-shell and I received the application ID from
there, which was sufficient but that is no longer working - the clients don't
seem to bind anymore, perhaps I have an old version advertised.
That said resort to a non-public protocol such as gtk-shell is problematic
especially for Qt-based compositor, and it can change version any time breaking
compatibility with older Gtk+ applications.
FWIW, with Qt 5.7 I added a QGuiApplication for the desktop file name and
application developers should really set that property if they want their
application to work reliably on Wayland.
There is still some guessing when the property is not set, reverse the domain
name (if set) and concatenate with the executable name. Works on most cases but
the desktop file name property is the best way.
Perhaps Gtk+ could do add that property to GApplication and keep separate the
GApplication ID from the desktop file name. Most of the time they will be
pretty much the same so the desktop file name could be initialized to the
application ID.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160817/fa0f7aa3/attachment.html>
More information about the wayland-bugs
mailing list