Closed Bug 1886996 Opened 1 year ago Closed 9 months ago

Does not restore Firefox window to correct virtual desktop anymore

Categories

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

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: William.full.moon, Unassigned, NeedInfo)

References

Details

Firefox Developer is up to date 125.0b3 (64-bit)

Kubuntu
Distributor ID: Ubuntu
Description: Ubuntu 23.10
Release: 23.10
Codename: mantic

Steps to reproduce:

Start Firefox 125.0b3 and restore session with virtual desktops on KDE Plasma desktop.

Actual results:

Firefox Windows since 116.0.2 update does not restore Firefox windows to the correct virtual desktop anymore.

Expected results:

Each Firefox window used to be restored back to the correct virtual desktops where it was previously displayed. It was working properly before the 116 update as best I recall.

This still happens with Firefox 121.0b4 and 125.0b3 on Kubuntu 23.04

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Win32' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Widget: Win32
Product: Firefox → Core
Component: Widget: Win32 → Widget: Gtk

I personally use Kubuntu 22.04 LTS at home, and can partially reproduce: exactly one of my Firefox windows remains on the current virtual desktop, while the others relocate appropriately. (This may or may not be intended behavior.)

Hey William, could you help us find a regression range for this bug? Thank you!

Flags: needinfo?(William.full.moon)
See Also: → 1848892
  • I am running KDE Plasma on Ubuntu
    -- This is a Windows program
Flags: needinfo?(William.full.moon)

William, please attach your about:support page. I may be caused by X11 -> Wayland switch.

Flags: needinfo?(William.full.moon)
See Also: → 1931966

I expect the bug is here:
https://searchfox.org/mozilla-central/rev/5a7e5e2e1fe04028fc77787084caf9b26ab74ce6/widget/gtk/nsWindow.cpp#2909

So can you please run firefox on terminal with MOZ_LOG="Widget:5" env variable, for instance as:

MOZ_LOG="Widget:5" firefox

and check if you see nsWindow::GetWorkspaceID() / nsWindow::MoveToWorkspace() lines? It's possible that workspace ID is changed and we don't have valid one any more. Please attach the output here.

Thanks.

Priority: -- → P3

Happens 100% of the time on my system. I've switched from chrome and i really love a lot of the features but some of the others I'm used to arent there and this is one of them, sadly enough.


Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble

Mozilla firefox Snap version for Ubuntu
133.0.3 (64-bit)

Hey William and Vladimir, could you please try what :stransky suggested in comment 6, and perhaps provide your about:support output as well?

Flags: needinfo?(vacekvla.kt)

Redirect a needinfo that is pending on an inactive user to the triage owner.
:stransky, since the bug doesn't have a severity set, could you please set the severity or close the bug?

For more information, please visit BugBot documentation.

Flags: needinfo?(vacekvla.kt) → needinfo?(stransky)
Status: UNCONFIRMED → RESOLVED
Closed: 9 months ago
Flags: needinfo?(stransky)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.