Closed
Bug 516387
Opened 15 years ago
Closed 15 years ago
nsPromptService dialogs should not have '&' shortcut in labels
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
fennec1.0b4
People
(Reporter: jmaher, Assigned: mfinkle)
References
Details
Attachments
(1 file, 1 obsolete file)
9.94 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
I get the unresponsive script warning on fan590.com on my n810 with swap enabled:) This script has changed since the last time I saw it and there are some issues with it: 1) there is what appears to be a Yes/No slider like the preferences, but it is unclear, all the same color and says No 2) there is "&Don't ask me again". Not sure what the & is about, I suspect it is for making the D a alt+ in windows.
Assignee | ||
Comment 1•15 years ago
|
||
bug 514208 will address the theme issues. I'll turn this bug into dealing with the &
Summary: unresponsive script warning has formatting and usability issues → nsPromptService dialogs should not have & shortcut in labels
Assignee | ||
Updated•15 years ago
|
tracking-fennec: --- → ?
Assignee | ||
Updated•15 years ago
|
Component: Linux/Maemo → General
QA Contact: maemo-linux → general
Assignee | ||
Comment 2•15 years ago
|
||
This patch uses the code to strip & characters from any place that a users can pass a string for a label.
Assignee: nobody → mark.finkle
Attachment #400863 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 3•15 years ago
|
||
Comment on attachment 400863 [details] [diff] [review] patch Fabrice - can you look this over too?
Attachment #400863 -
Flags: review?(fabrice.desre)
Assignee | ||
Updated•15 years ago
|
Summary: nsPromptService dialogs should not have & shortcut in labels → nsPromptService dialogs should not have '&' shortcut in labels
Comment 4•15 years ago
|
||
Comment on attachment 400863 [details] [diff] [review] patch >diff --git a/chrome/content/prompt/promptPassword.xul b/chrome/content/prompt/promptPassword.xul > <hbox id="prompt-password-checkbox-box" collapsed="true" align="center"> > <checkbox class="toggle-dark" id="prompt-password-checkbox"/> >- <description id="prompt-password-checkbox-msg"/> >+ <label id="prompt-password-checkbox-msg"/> > </hbox> > <hbox pack="center" id="prompt-password-button-box"> We should keep a <description> here since a <label> will not wrap if the text is too long and we probably don't want to crop it. This means that : - setLabelForNode() needs to check if aNode is a description to add a text child node. - we also should make sure that other checkbox messages are descriptions, which is not the case currently.
Attachment #400863 -
Flags: review?(fabrice.desre)
Attachment #400863 -
Flags: review-
Updated•15 years ago
|
Attachment #400863 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 6•15 years ago
|
||
This patch addresses Fabrice's comments. The <label>s have been changed to <description>s and setLabelForNode checks for <label>s and <description>s, handling each a little differently. Screenshot of the fix: http://people.mozilla.com/~mfinkle/fennec/screenshots/fennec-slowscript-fix.png
Attachment #400863 -
Attachment is obsolete: true
Attachment #402266 -
Flags: review?(gavin.sharp)
Updated•15 years ago
|
Attachment #402266 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 7•15 years ago
|
||
pushed: https://hg.mozilla.org/mobile-browser/rev/aeb08b2119c8
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → B4
Comment 8•15 years ago
|
||
verified FIXED with the security label on build: Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2b1pre) Gecko/20090923 Fennec/1.0b4pre
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
tracking-fennec: ? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•