Closed Bug 450951 Opened 16 years ago Closed 16 years ago

allow to retrieve/restore the monitor a window is on in multi-monitor setups

Categories

(Core :: Widget, defect)

All
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: zeniko, Unassigned)

References

Details

(Keywords: helpwanted, Whiteboard: [worksforme?])

Attachments

(1 file)

This is needed more accurate session restoration on all platforms that support multiple monitors.
At least on Windows the screenX/screenY attributes on a window's documentElement seem to be relative to the primary screen's top left corner. Unless we want to correctly position windows for multi-screen setups where the monitors change position (which IMO we needn't), this already is WORKSFORME. What about the other platforms we support?
Keywords: helpwanted
Blocks: 461285
This is a hack I wrote some times ago to debug screen issues. I can confirm that Mac behaves the same as Windows. The screenX/screenY is relative to the main screen (the one containing the menu if I'm correct).
Hmm, shouldn't SessionStoreService::restoreDimensions() already take care of restoring to the right monitor?
It should indeed. WORKSFORME if Linux works the same as Windows and OS X.
OS: All → Linux
Whiteboard: [worksforme?]
well, my previous comment 3 should rather be for bug 461285.
Yes, Linux works the same.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
No longer blocks: 372650
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: