Closed Bug 1973465 Opened 8 months ago Closed 8 months ago

[Firefox Dev Edition | Ubuntu 24.04]: Incorrect StartupWMClass in .desktop file of the deb package version

Categories

(Release Engineering :: General, defect, P3)

x86_64
Linux

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1960205

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:

  1. Install Firefox Developer Edition on Ubuntu 24.04. (deb package).
  2. Launch Firefox Developer Edition.
  3. Observe that the dock icon does not correctly associate with the running window.
  4. Open and inspect running windows (Press Alt + F2, Run "lg" command, Click on "Windows" ).
  5. Observe that the "wmclass" for Firefox Developer Edition is set to "firefox-dev".
  6. Inspect ".desktop" file (/usr/share/applications/firefox-devedition.desktop).
  7. Observe that the "StartupWMClass" has been set to "firefox-aurora".

WORKAROUND

  1. Copy the "firefox-devedition.desktop" file into the "~/.local/share/applications/" folder.
  2. 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.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64

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.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Component: Widget: Gtk → General
Flags: needinfo?(lissyx+mozillians)
Product: Core → Release Engineering
Version: Firefox 140 → unspecified

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.

Flags: needinfo?(lissyx+mozillians)
Assignee: nobody → jcristau
Severity: -- → S4
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P3
Assignee: jcristau → nobody
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Duplicate of bug: 1960205
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.