Closed Bug 21220 Opened 25 years ago Closed 25 years ago

Confirm dialogs go off screen.

Categories

(SeaMonkey :: UI Design, defect, P3)

All
Windows NT
defect

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: scalkins, Assigned: bugs)

References

Details

(Whiteboard: [nsbeta2+][6/15])

Attachments

(1 file)

Saw this on Linux and Win builds, not on the Mac. Build 1999-12-08-08 M12 Two test cases follow: Test case 1: 1)Launch Seamonkey. 2)When Mozilla comes up, resize it so it's about 5 inches wide, then move it to the right so it's right border lines up with the right side of your screen. 3)Type the following in the Mozilla URL field, then hit enter: javascript:/alert("foo foo") Actual Results: A dialog box appears with part of the dialog off screen. Test Case 2: 1)Launch Seamonkey and Login to IM via Tasks-->Instant Messenger 2)When the Standalone comes up, Move it to the extreme right of the screen, such that the standalone's right border lines up with your screen's right border. 3)In List setup tab, click once on a group to highlight it, then click on the Delete icon to delete it. Expected results: Delete confirmation dialog comes up centered on screen so you can either click the OK or Cancel buttons. Actual Results: Only about 1/4 of the delete confirmation dialog shows, the rest of it goes off screen to the right. You must drag it to the left to be able to click on the OK or Cancel buttons.
Accept. Dialogs should be constrainted to fit on the same screen as the parent. Is this a dogfood bug ( ie can the window get in a state where it can not be dismissed?)
I don't think this needs to be dogfood.
Status: NEW → ASSIGNED
Depends on: 11940
Fix is to move the fittoscreen code from navigator.js to dialog.js ( or someother global place) and add a call after moving the dialog to the alert positiion. This will not work however until screenX returns something other than 0. Added dependency. Accepted.
Target Milestone: M13
Assignee: davidm → don
Status: ASSIGNED → NEW
Target Milestone: M13 → M15
M15.
Move to M16 for now ...
Target Milestone: M15 → M16
changing qa contact on selected bugs from paulmac to elig@netscape.com
QA Contact: paulmac → elig
Reassigning for Don
Assignee: don → ben
Keywords: nsbeta2
Target Milestone: M16 → M17
Need this tested with latest build please.
QA Contact: elig → jrgm
Whiteboard: [NEED INFO]
Scenario 1: javascript:alert I can't _strictly_ reproduce this (entering a javascript: URL in the urlbar is currently broken -- bug #38537). However, using <A HREF="javascript:alert('foo foo')">, the alert is placed in the horizontal center of the browser window (not offscreen or biased to offscreen). Not a problem. Scenario 2: AIM delete group dialog win95 -- the dialog comes up aligned with the left edge of the parent window (the IM window) (see attachment). However, since the text in the dialog does not wrap, the dialog window is wide enough that part of the text is displayed offscreen. I assume that with more text, the OK button could appear offscreen. mac and linux -- dialog is in the center of the desktop/screen (not a problem) (using 20000510nn latest mac/linux/win95)
Whiteboard: [NEED INFO]
Putting on [nsbeta2+][6/01] radar. This work must be done by 06/01 or we may pull this for PR2.
Whiteboard: [nsbeta2+][6/01]
Changing from [06/01] to [06/15]
Whiteboard: [nsbeta2+][6/01] → [nsbeta2+][6/15]
Move to M19 target milestone.
Target Milestone: M17 → M19
worksforme. This window is centered on screen, no matter what I do to it in js (it doesnt even come up off screen..)
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
verified worksforme (mac/linux/win32 20000707nn builds). alert|confirm comes up at screen center (approx.) in all cases. [That, though, is possibly a bug in its own right, but I will speak with danm about that (he is dealing with various windowing/modality/parenting bugs right now)].
Status: RESOLVED → VERIFIED
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: