Closed
Bug 1212618
Opened 10 years ago
Closed 10 years ago
unknownContentType.xul grows size when toggling the "Do this for all files"
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1211344
| Tracking | Status | |
|---|---|---|
| firefox44 | --- | affected |
People
(Reporter: Felipe, Assigned: jaws)
Details
Attachments
(2 files, 1 obsolete file)
|
1.13 MB,
video/quicktime
|
Details | |
|
2.47 KB,
patch
|
Felipe
:
review+
|
Details | Diff | Splinter Review |
Haven't tried in other platforms, but this is on OSX Yosemite. Watch the attached screen recording.
STR:
- Open a link that forces a download, such as the attachment on this bug
- Check/Uncheck the "Do this for all files" checkbox
- Hilarity ensues
| Assignee | ||
Comment 1•10 years ago
|
||
I reproduced it on Windows.
| Assignee | ||
Comment 2•10 years ago
|
||
Without digging deep in to why dialog.sizeToContent is causing the wrong result to be concluded, I've changed this to not resize the dialog anymore but to make the text not visible until the textbox is checked (changing visibility instead of display).
| Reporter | ||
Comment 3•10 years ago
|
||
Comment on attachment 8671445 [details] [diff] [review]
Patch
Review of attachment 8671445 [details] [diff] [review]:
-----------------------------------------------------------------
settingsChange has the hidden="true" from the markup at unknownContentType.xul, which needs to be cleared or changed to style="visibility: hidden"
Attachment #8671445 -
Flags: review?(felipc)
| Assignee | ||
Comment 4•10 years ago
|
||
Yikes! That's what I get for writing the patch while doing a clobber build!
| Assignee | ||
Comment 5•10 years ago
|
||
I went with style="visibility:hidden;" because toggleRememberChoice() isn't called in all code paths of initDialog. Also, there isn't a content stylesheet which is where I would have wanted to put it and this didn't seem like a large enough bug to introduce a content stylesheet for.
Attachment #8671445 -
Attachment is obsolete: true
Attachment #8671993 -
Flags: review?(felipc)
| Reporter | ||
Updated•10 years ago
|
Attachment #8671993 -
Flags: review?(felipc) → review+
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Comment 7•10 years ago
|
||
(In reply to Jared Wein from comment #2)
> Without digging deep in to why dialog.sizeToContent is causing the wrong
> result to be concluded
Bug 1211344.
| Reporter | ||
Comment 8•10 years ago
|
||
I backed this out in favor of bug 1211344
https://hg.mozilla.org/integration/fx-team/rev/b142c073ea28
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•