After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 779143 - add a way to change the app_id of a window so LibreOffice can reuse toplevels and get the right task icons
add a way to change the app_id of a window so LibreOffice can reuse toplevels...
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
https://bugs.documentfoundation.org/s...
Depends on:
Blocks: wayland WaylandRelated
 
 
Reported: 2017-02-23 16:59 UTC by Caolan McNamara
Modified: 2018-05-02 18:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to do this (4.39 KB, patch)
2017-02-23 16:59 UTC, Caolan McNamara
none Details | Review

Description Caolan McNamara 2017-02-23 16:59:44 UTC
Created attachment 346588 [details] [review]
patch to do this

LibreOffice recycles toplevel windows, e.g. writer to start center to calc. Under X we can use XSetClassHint to keep the WM_CLASS in sync so we get the right icons in the task switcher. I don't see a way to hack around this under wayland, hence the attached suggested patch for gtk itself to gain access to setting the wayland app_id equivalent
Comment 1 Matthias Clasen 2017-02-27 13:43:04 UTC
this is just not right. The application id is something that is associated with the application, it is not just some extra decoration we put on the window.
Comment 2 spinnekop 2018-04-03 08:09:01 UTC
(In reply to Caolan McNamara from comment #0)
> Created attachment 346588 [details] [review] [review]
> patch to do this
> 
> LibreOffice recycles toplevel windows, e.g. writer to start center to calc.
> Under X we can use XSetClassHint to keep the WM_CLASS in sync so we get the
> right icons in the task switcher. I don't see a way to hack around this
> under wayland, hence the attached suggested patch for gtk itself to gain
> access to setting the wayland app_id equivalent

This is still happening on gnome 3.28, libreoffice 6.0 with wayland. Any progress?
Comment 3 GNOME Infrastructure Team 2018-05-02 18:09:53 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/767.