Public bug reported:

Hi,
I am experiencing an issue with lxqt-panel (specifically the 
taskbar/taskmanager widget) regarding the window icons of Google Chrome Web 
Apps (launched with --app-id).

Although the .desktop launchers are correctly generated by Chrome with
the proper 'Icon=' and 'StartupWMClass=' (containing the 'crx_' prefix),
the taskbar fails to separate the Web App window from the main Google
Chrome process. As a result, it displays the generic Chrome browser icon
instead of the specific Web App icon.

TECHNICAL DETAILS:
Running 'xprop' and clicking on the Web App window outputs the following 
correct X11 strings:
WM_CLASS(STRING) = "crx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "Google-chrome"

It seems that lxqt-panel ignores the first string (the specific instance
'crx_...') and only reads the global class ('Google-chrome'), grouping
the window incorrectly.

EXPECTED BEHAVIOR:
The taskbar should check the full WM_CLASS to match the window to its specific 
.desktop file and display the correct application icon.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: lxqt-panel 1.4.0-0ubuntu6
ProcVersionSignature: Ubuntu 6.8.0-117.117-generic 6.8.12
Uname: Linux 6.8.0-117-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: LXQt
Date: Thu May 28 17:06:20 2026
InstallationDate: Installed on 2023-09-22 (979 days ago)
InstallationMedia: Lubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 
(20230807)
SourcePackage: lxqt-panel
UpgradeStatus: Upgraded to noble on 2025-02-23 (459 days ago)

** Affects: lxqt-panel (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug chromium lubuntu lxqt lxqt-panel noble taskbar 
third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154491

Title:
  lxqt-panel taskbar ignores specific WM_CLASS instance for Chrome Web
  Apps

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxqt-panel/+bug/2154491/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to