Add a way to change the application_id of a toplevel wayland GdkSurface (so LibreOffice can reuse toplevels and get the right task icons in Wayland)

Bug #1891761 reported by Amr Ibrahim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
New
Low
Unassigned

Bug Description

This is already committed upstream in GTK 3.24.22:
https://gitlab.gnome.org/GNOME/gtk/-/commit/2b74662b2befebb988b63118c8d7ee8c9d90e736

LibreOffice in a Wayland session uses the same generic icon for its different apps, so when I have Writer, Calc and Impress open, they all share the same generic LO icon, which is not a very good experience. The upstream GTK commit should fix that, however, I have not tested it.

The reason why I'm using Wayland in Ubuntu 20.04 is that I have a second 4K UHD monitor and fractional scaling + 4K UHD resolution is unusable in X11, so I'm kind of forced to use Wayland for fractional scaling. See bug #1890802.

So I hope this fix could be committed in Ubuntu 20.04 to improve the LibreOffice experience in Wayland.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: libgtk-3-0 3.24.20-0ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.6
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat Aug 15 17:14:07 2020
InstallationDate: Installed on 2020-04-26 (111 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: gtk+3.0
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, wayland issues are lower priority but that seems simple enough to include in a SRU next time we do one, it would be useful to test if the fix by itself is enough though or if other components also will need to use the new feature in gtk

Changed in gtk+3.0 (Ubuntu):
importance: Undecided → Low
Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

Thanks, I will test any potentials fixes.

Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

I've tested and this is now fixed in Groovy.

Could this be SRUed to Focal?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.