Closed Bug 86620 Opened 23 years ago Closed 23 years ago

Inadequate window size for the download/sync pop-up box

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: sameerds, Assigned: dianesun)

References

Details

(Whiteboard: Request R & SR)

Attachments

(6 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win95; en-US; rv:0.9.1+) Gecko/20010617 BuildID: 2001061708 Clicking on file->offline->download/sync now opens up a dialog box with a number of options. But the box is a little small so that the OK and Cancel buttons do not show up. You have to drag the lower edge to make the box large enough for these buttons to show. Reproducible: Always Steps to Reproduce: 1. Open the mail/news component 2. Click on the File menu and select offline->download/sync now... 3. Try to locate the OK button on the box that pops up.
Indeed the size is too small. I'll fix this.
Assignee: sspitzer → hwaara
Status: UNCONFIRMED → NEW
Ever confirmed: true
Mohan, I think your patch to remove the .xul and add nsIPrompt will fix this?
Ok, cleaning up the XUL a bit did it. Among some XUL cleanup I shrunk the space the separators took (using class="thin") which in turn made the dialog a little bit smaller. I also made it so the OK/Cancel buttons adjusted a little better to the window. Adding patch and requesting r= from MohanB, Bhuvan or Dianesun.
Keywords: patch, review
OS: Windows 95 → All
Attached patch fix. please review (deleted) — Splinter Review
Status: NEW → ASSIGNED
*** Bug 81004 has been marked as a duplicate of this bug. ***
QA Contact: esther → gchan
Still need review and super-review. Bhuvan? Seth?
Whiteboard: need review
Just increase the number in msgSynchronize.xul line 37 width="???" height="???" could solve the problem.
Well removing unused space is a much nicer solution IMHO. :) Even if both solutions fixes it.
Looks ok to me. Please make sure it looks right in all skins. r=andreww
Attached image screenshot with new change (deleted) —
I attached the screeshot with Hakan's changes. What do you think the lower half and the space between "Select" button and "OK/Cancel" buttons.
The only bad thing I can see there is the gap at the bottom. I'll make a new patch to decrease the height of the dialog slightly.
Attached image new screenshot... (deleted) —
Attached patch ... and of course new fix! (deleted) — Splinter Review
Dianesun, the new patch addresses your concern. Anything else?
Looks good, please make sure the decrease in height works OK in any case. r=dianesun
Seth, got r=dianesun. Now waiting for your review to check this in.
seems fine to me. sr=sspitzer just a FYI, this dialog looked fine on my system before this change. perhaps it might be display resolution / font specific. maybe with certain large fonts, certain localizations, or certain display resolutions, the problem will still exist. should we not be specifying the size, and sizing the dialog to the content? (or am I missing something, and it will already size to content?)
Well, we should size to the content in many places but I think sizeToContent() is horked. This fix can't hurt. Do you want me to add the sizeToContent() even though I'm not sure it will help or even work?
proceed with your fix as-is, it doesn't make things worse. (and looks like it makes things better in certain cases.) don't add a sizeToContent() if you think it is broken. (is there a bug on this?) my really question is: what is XPToolkit's recommend approach for problems like this? 1) don't specify height & width (will it size to content on its own?) 2) use (or don't use) sizeToContent() because... cc danm, he'd be the one to know.
fixed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Using commercial trunk builds 2001071004 Win Nt 4.0 2001071008 linux 2.2, red hat 7.0 2001071008 mac os 9.0.4 Verified the Download/Sync Now window does not have cropped ok and cancel buttons. Tried in both modern and classic themes. Tried different screen resolutions: 1024x768,800x600,600x480 and no problems. Marking as verified.
Status: RESOLVED → VERIFIED
Attached image screenshot for the classic theme (deleted) —
The problem still exists for the classic theme. Using build 20010713 on Windows.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
I noticed that the real problem here is that the dialog is resizable... I will try and re-fix this in a better way by using sizeToContent() and make the dialog non-resizable.
Reassign to dianesun.
Assignee: hwaara → dianesun
Status: REOPENED → NEW
Attached patch Fix the size (deleted) — Splinter Review
Request R & SR
Whiteboard: need review → Request R & SR
(about Diane's patch:) I dunno ... I disagree that the dialog should have a hardwired size at all. Regardless, it looks to be already fixed to me (a little too large, really). I've tried it on Linux and Windows in Classic and Modern skins; no clipping anywhere.
this is in response to Diane's email to me asking me just to check how the current build looks like. Did a quick look at 2001-08-10-10-trunk NT 4.0 2001-08-10-08-trunk/ linux 2.2, mac 9.0.4 Tried a 4.x profile and new profile, tried both modern and classic themes, and different resolutions (640x840,800x600, and 1024 x 768). The Download and Sync Now window looks fine. The Ok, cancel, and select buttons were not cut off. The window is still resizeable. But I said the same thing in my comments on 2001-07-10 and Ashant was still seeing the problem when I did not. So I'm not sure 'what the problem is'. Certain 4.x profiles, screen size, themes, etc.. I have seen in the past the Download and Sync now window tiny and it cuts off the buttons (but I have not recently seen this). So I don't know if the problem is more than just code for the actual window and maybe something else is affecting it? So Diane it looks fine for me in the current builds. I'll let Senior people here decide if we should mark this as works for me or apply the patch.
Thanks a lot, Gary. Close it as "WORKSFORME"
Status: NEW → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → WORKSFORME
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: