Closed Bug 1650826 Opened 4 years ago Closed 1 years ago

Moving Firefox nightly window to new workspace on GNOME duplicates Firefox icons in sidebar.

Categories

(Core :: Widget: Gtk, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1751153

People

(Reporter: rpc01234, Unassigned)

References

Details

Attachments

(2 files)

Attached image Screenshot.png (deleted) —

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0

Steps to reproduce:

(Open GNOME)
Press the super key and search for nightly; add firefox nightly to favorites. Open firefox nightly, then move the firefox nightly window to a new workspace (default keybiding is Shift+Super+Page Up/Down).

Actual results:

When firefox nightly opened it stayed on there was just one icon in the GNOME sidebar/taskbar/favorites bar (as expected) but when it was moved to a new workspace the icon was duplicated, one for when firefox nightly was favorited and another for the actual firefox nightly window, as shown in the screenshot.

Expected results:

There should be only one firefox nightly icon in the GNOME sidebar despite being moved to a new workspace (just like in regular, non-nightly firefox).

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

I have discovered additional odd behavior relating to this bug:

  • Moving the firefox nightly window to a different workspace when other firefox nightly windows are open will not cause the bug
  • Opening new firefox nightly windows when an open firefox nightly window is already bugged will cause the new windows to also be bugged
Attached file firefox-trunk.desktop (deleted) —
I have found a fix for this issue by altering the `/usr/share/applications/firefox-trunk.desktop` file. One must add the key `StartupWMClass` with a value of `Nightly` to fix the issue. Attached file:///home/mithic/firefox-trunk.desktop

This can't be fixed on Mozilla side as Mozilla does not ship firefox .desktop file. It's distributed by Ubuntu. We may adjust the .desktop we ship for flatpak and maybe Snap if there's anyone (I'm not sure there's any in mozilla tree).

Priority: -- → P3

(In reply to Martin Stránský [:stransky] from comment #4)

This can't be fixed on Mozilla side as Mozilla does not ship firefox .desktop file. It's distributed by Ubuntu. We may adjust the .desktop we ship for flatpak and maybe Snap if there's anyone (I'm not sure there's any in mozilla tree).

Not quite; the application does generate a desktop file when the "set as default" functionality is used and no desktop file for the binary path exists already.

Severity: -- → S3
Status: UNCONFIRMED → RESOLVED
Closed: 1 years ago
Duplicate of bug: 1751153
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: