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)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1211344
Tracking Status
firefox44 --- affected

People

(Reporter: Felipe, Assigned: jaws)

Details

Attachments

(2 files, 1 obsolete file)

Attached video lol.mov
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
I reproduced it on Windows.
Attached patch Patch (obsolete) — Splinter Review
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).
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Attachment #8671445 - Flags: review?(felipc)
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)
Yikes! That's what I get for writing the patch while doing a clobber build!
Attached patch Patch v2Splinter Review
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)
Attachment #8671993 - Flags: review?(felipc) → review+
(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.
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.

Attachment

General

Created:
Updated:
Size: