[Firefox Dev Edition | Ubuntu 24.04]: Incorrect StartupWMClass in .desktop file of the deb package version
Categories
(Release Engineering :: General, defect, P3)
Tracking
(Not tracked)
People
(Reporter: zab, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0
Steps to reproduce:
- Install Firefox Developer Edition on Ubuntu 24.04. (deb package).
- Launch Firefox Developer Edition.
- Observe that the dock icon does not correctly associate with the running window.
- Open and inspect running windows (Press Alt + F2, Run "lg" command, Click on "Windows" ).
- Observe that the "wmclass" for Firefox Developer Edition is set to "firefox-dev".
- Inspect ".desktop" file (/usr/share/applications/firefox-devedition.desktop).
- Observe that the "StartupWMClass" has been set to "firefox-aurora".
WORKAROUND
- Copy the "firefox-devedition.desktop" file into the "~/.local/share/applications/" folder.
- Modify the "StartupWMClass" and set it to "firefox-dev"
Actual results:
The Firefox Developer Edition dock icon shows a generic gears icon and can't be pinned.
Expected results:
The Firefox Developer Edition dock icon should correctly associate with the running application window, showing the correct icon and functionality e.g. Green counter showing number of open windows.
| Reporter | ||
Updated•8 months ago
|
Comment 1•8 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•8 months ago
|
Comment 2•8 months ago
|
||
This code was already there prior my changes: https://searchfox.org/mozilla-central/rev/874c5067c78f395e07a95dd0a55bc7e7f029a192/python/mozbuild/mozbuild/repackaging/desktop_file.py#272
Someone from releng would know better where lies the correct fix.
Updated•8 months ago
|
Updated•8 months ago
|
Description
•