Open Bug 1841036 Opened 2 years ago Updated 2 years ago

Opening multiple Firefox windows and then restarting the browser causes previously opened windows to appear first when clicking on a link, with the linked website opening in the background.

Categories

(Core :: Widget: Gtk, enhancement)

Firefox 114
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: simgo.gc, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

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

Steps to reproduce:

First, open multiple Firefox windows. Then, restart the computer. Now click on a link (i.e. in Thunderbird).

Actual results:

The link was opened as a tab added to one of the previously opened windows. But one of the other previously opened windows got pushed to the foreground, while the window with the link is in the background.

Expected results:

The window with the tab for the link I clicked on should be in the foreground, while all other old windows should be in the background. It should also be considered the link being opened in a new window in the foreground, and not attaching it to one of the previous windows.

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

Please attach about:support page. Also can you create a screencast of the issue?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Collect_information_for_a_bug_report
Thanks.

Flags: needinfo?(simgo.gc)

Requested by stransky.
After restarting the computer and before opening Firefox, clicking on the bugtracker link leads to it being opened in Firefox, but an old window with Amazon "overshadows" the bugtracker window, putting the desired window in the background.

Attached file about:support
(In reply to Martin Stránský [:stransky] (ni? me) from comment #2) > Please attach about:support page. Also can you create a screencast of the issue? > https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Collect_information_for_a_bug_report > Thanks. I took a short screencast. Also, here's the about:support page:

(In reply to Martin Stránský [:stransky] (ni? me) from comment #2)

Please attach about:support page. Also can you create a screencast of the issue?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Collect_information_for_a_bug_report
Thanks.
I took a short screencast. Also, here's the about:support page:

Flags: needinfo?(simgo.gc)

So it's Wayland. We don't have control over window placement/order on Wayland as it's managed by compositor.

Blocks: wayland

(In reply to Martin Stránský [:stransky] (ni? me) from comment #6)

So it's Wayland. We don't have control over window placement/order on Wayland as it's managed by compositor.

Doesn't Firefox dictate the order in which the windows are opened? If so, the old windows should be opened first, and the window with the link clicked on should be opened last, so that it is in the foreground.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: