Closed
Bug 76790
Opened 24 years ago
Closed 24 years ago
modal dialogs inaccessable when switching btwn resolutions
Categories
(Core :: XUL, defect, P2)
Core
XUL
Tracking
()
VERIFIED
FIXED
mozilla0.9.2
People
(Reporter: bugzilla, Assigned: danm.moz)
References
Details
(Keywords: access)
Attachments
(2 files)
using 2001.04.19.0x opt comm bits on Mac and WinNT [methinks linux/unix n/a due
to wm issues concerning positioning of dialogs]. basically, if a modal dialog
[eg, Find in Page, or Open Web Location] is placed near/just outside the edge of
the monitor's screen area, and then you reduce the resolution, you won't be able
to access that dialog [or its parent browser window]. this might be an edge
case, however simon pointed out that this might be common for people who switch
btwn a docked workstation monitor and a laptop.
to repro:
0. let's say you start out with a nice monitor resolution --eg, i had 1024x768
on my Mac and 1280x1024 on my winNT box.
1. in a browser window, open a modal dialog --eg, i tested with Find in Page and
Open Web Location.
2. move the dialog to the far right side of the screen, so that only about half
of it is showing.
3. hit Esc and bring the dialog back up again to make sure its position persists
[bug 75657].
4. quit the app.
5. change the screen resolution --eg, i bumped it down to 800x600.
6. restart app, bring up modal dialog.
result: the modal dialog is offscreen, and the parent window is inaccessible.
workaround: you need to hit Esc to cancel the dialog to bring access back to the
browser window --you won't be able to use the dialog (at least not effectively
:).
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9.2
Comment 1•24 years ago
|
||
Not just modal, document windows and secondary windows like Find dialog can also
come up offscreen due to this, even after a restart.
Updated•24 years ago
|
Priority: -- → P2
The above patch is raising eyebrows on people who don't want the entire window
forced onscreen. Which is fine by me. A new patch is just below. While the
Platform field on this bug says "All," as far as I can tell, it's only really a
problem on the Mac. That's because the window is only barely forced onscreen and
the menubar isn't taken into account, so it ends up slightly offscreen. The below
patch leaves it as is (windows not forced entirely onscreen) but forces them a
little more onscreen (the old 10 pixels wasn't much and was probably being
missed) and is generally more careful on the Mac.
Comment 5•24 years ago
|
||
This one is fine with me.
The second patch is in. I reiterate that although this bug complains about a
problem on all platforms, as far as I can tell, it was really only a problem on
the Mac. Other platforms successfully forced a window onscreen, though only by a
10 pixel margin. That's probably easily missed. On the Mac the window was truly
completely offscreen, because the forcing code wasn't taking the menubar into
account. The patch checked in bumps the margin to 20 pixels, making the window
easier to spot, and also on the Mac bumps the window up by the height of the
menubar.
Comment 8•24 years ago
|
||
verified fixed, mac (and win2k, just for the heck of it), per sairuh's test
above. dialog is back on screen by ~20px.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•