Closed
Bug 396635
Opened 17 years ago
Closed 17 years ago
"Launch Application" dialog clips buttons on bottom
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
VERIFIED
FIXED
Firefox 3 beta1
People
(Reporter: abillings, Assigned: sdwilsh)
References
Details
(Keywords: polish)
Attachments
(3 files, 1 obsolete file)
21.35 KB,
image/png
|
Details | |
15.25 KB,
image/png
|
Details | |
1.94 KB,
patch
|
vlad
:
approvalM9+
vlad
:
approval1.9+
|
Details | Diff | Splinter Review |
The new "Launch Application" dialog is now clipping the "cancel" and "ok" buttons at its default size. See attached image. This was found in Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a8pre) Gecko/2007091704 Minefield/3.0a8pre.
Reporter | ||
Comment 1•17 years ago
|
||
Comment 2•17 years ago
|
||
This was also mentioned in bug 389705, but I guess it isn't really quite the same bug. Might be fixed by a patch there, though.
Depends on: 389705
Updated•17 years ago
|
Flags: blocking-firefox3?
I've also got this running on Ubuntu 7.10 Beta and Gnome 2.20 Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a9pre) Gecko/2007100209 Minefield/3.0a9pre ID:2007100209
Updated•17 years ago
|
Target Milestone: --- → Firefox 3 M9
Updated•17 years ago
|
Assignee: nobody → comrade693+bmo
Comment 4•17 years ago
|
||
Seems to also be mentioned in bug 394258.
dupe/similar bug 394711 ?
Comment 6•17 years ago
|
||
(In reply to comment #5) > dupe/similar bug 394711 ? Yours is a duplicate, but of which bug (and the other will be duped to _it_), I'm not sure...
Assignee | ||
Comment 8•17 years ago
|
||
This basically does what Bug 389705 was going to do (that's targeting M10, this is M9, so let's fix it here). If mfinkle could take a quick look-over, that'd be great.
Attachment #284811 -
Flags: review?(mark.finkle)
Attachment #284811 -
Flags: review?(gavin.sharp)
Assignee | ||
Updated•17 years ago
|
Updated•17 years ago
|
OS: Mac OS X → All
Hardware: Macintosh → All
Comment 9•17 years ago
|
||
Comment on attachment 284811 [details] [diff] [review] v1.0 >-<!ENTITY window.width "320"> >-<!ENTITY window.height "250"> >+<!ENTITY window.EMwidth "26em"> >+<!ENTITY window.EMheight "26em"> EMwidth & EMheight? not "-" worthy but I'd drop the "EM". We don't use "PX" prefixes > <dialog id="handling" > ondialogaccept="return dialog.onAccept();" > onload="dialog.initialize();" >- width="&window.width;" height="&window.height;" >+ style="min-width: &window.EMwidth;; min-height: &window.EMheight;;" > persist="width height screenX screenY sizemode" > xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> Why are we persisting "sizemode" ? I yanked it from my patch. r=mfinkle with those answered
Attachment #284811 -
Flags: review?(mark.finkle) → review+
Comment 10•17 years ago
|
||
I'll remove the relevant changes from bug 389705, since they are handled here. Bug 389705 will still handle other stuff.
Comment 11•17 years ago
|
||
Comment on attachment 284811 [details] [diff] [review] v1.0 I agree with mfinkle on both points - the names don't need "EM", and persisting sizemode doesn't make sense for a dialog.
Attachment #284811 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 12•17 years ago
|
||
Alright, but it's my understanding that we need to be changing the name of strings if we change them. I would think that this applies to this especially because we want this in em's now (and if a locale doesn't update it and had something similar to before, they'll have a really really big dialog).
Comment 13•17 years ago
|
||
(In reply to comment #12) > Alright, but it's my understanding that we need to be changing the name of > strings if we change them. Ah, yes. Good point. I don't know how likely these are to have already been translated, but better to be safe than sorry.
Assignee | ||
Comment 14•17 years ago
|
||
in that case, suggestions for the new name, or is this sufficient?
Comment 15•17 years ago
|
||
Those are fine.
Comment 16•17 years ago
|
||
Although, maybe emWidth to avoid it being confused with EM (Extension Manager)? Doesn't matter much either way :)
Updated•17 years ago
|
Whiteboard: [has patch][has reviews]
Updated•17 years ago
|
Target Milestone: Firefox 3 M9 → Firefox 3 M10
Assignee | ||
Comment 17•17 years ago
|
||
for checkin. Addresses review comments. This won't fix it for people who have already opened the window (because of the persists stuff), but any first timers to it and any new profiles will work out correctly. This would be nice to have for the beta, and should be low risk.
Attachment #284811 -
Attachment is obsolete: true
Attachment #286222 -
Flags: approvalM9?
Updated•17 years ago
|
Attachment #286222 -
Attachment is patch: true
Attachment #286222 -
Attachment mime type: application/octet-stream → text/plain
Assignee | ||
Updated•17 years ago
|
Target Milestone: Firefox 3 M10 → Firefox 3 M9
Comment on attachment 286222 [details] [diff] [review] v1.1 (Please leave the target milestone alone next time!)
Attachment #286222 -
Flags: approvalM9?
Attachment #286222 -
Flags: approvalM9+
Attachment #286222 -
Flags: approval1.9+
Assignee | ||
Comment 20•17 years ago
|
||
Checking in toolkit/locales/en-US/chrome/mozapps/handling/handling.dtd; new revision: 1.2; previous revision: 1.1 Checking in toolkit/mozapps/handling/content/dialog.xul; new revision: 1.4; previous revision: 1.3
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: in-testsuite-
Flags: in-litmus?
Resolution: --- → FIXED
Assignee | ||
Updated•17 years ago
|
Whiteboard: [has patch][has reviews]
Comment 21•17 years ago
|
||
I think min-width:&window.emWidth;em; or min-width:&window.styleWidth;; would have made more sense. Oh well ...
Comment 22•17 years ago
|
||
hrm, using em for width is suboptimal, you probably should have used ch units instead, which really base on character width, while em bases on line height (and is fine for height because of that).
Comment 23•17 years ago
|
||
verified fixed using Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a9pre) Gecko/2007103004 Minefield/3.0a9pre and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a9pre) Gecko/2007103004 Minefield/3.0a9pre. I verified by launching some links from mail. As a side note, when I use Thunderbird trunk on the Mac I get the dialog when the pref is set to ask. When I use Thunderbird branch, no matter what the pref is set to on trunk, I don't get the ask dialog. Not sure if this is expected, I can file a spinoff bug for this.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•