Closed Bug 461285 Opened 16 years ago Closed 3 years ago

Restoring session on Mac with multiple screens puts windows all on one screen

Categories

(Firefox :: Session Restore, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 440895
Tracking Status
firefox60 --- affected

People

(Reporter: sheppy, Unassigned)

References

(Blocks 1 open bug)

Details

When I use session restore on my multi-display Mac, all my windows restore to the same screen instead of going back onto the screens I had carefully positioned them on. Icky.
Depends on: 450951
Ok, in theory that should be taken care by SessionStoreService::restoreDimensions() but is not for some reason.
Blocks: 450886
So setting screenX/screenY in restoreDimensions() has no effect for the non-first windows opened. Setting these properties move the window if they are set again a few hundred milliseconds later. Looks like the windows are automatically positioned and can't be moved for a small period of time.
Similarly, each time I restart Aurora (Firefox 22) on my dual screen configuration, Aurora is reopened on the left screen, while it was on the right screen (the one with the menu bar) when it was closed. I believe it might be the same issue.
See Also: → 440895

This had been fixed by Bug 440895 - Session Restore does not take Spaces into account.
But it has since regressed Bug 1642310 - Mac OS: After restart, Firefox windows re-open in the same single virtual desktop instead of the virtual desktops they previously occupied.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.