Closed Bug 324239 Opened 20 years ago Closed 20 years ago

Warning - Unresponsive script button choices graphics reversed

Categories

(Core :: DOM: Core & HTML, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: lettsbs, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Firefox/1.5 This page usually has too much to send us, resulting in an error message from FF about unresponsive script. There are two buttons: 1) Stop script, with a green checkmark and 2) Continue, with a red X. Logic would suggest the Stop should have the red X and Continue should have the green check - like a stop light says red for stop, green to go (ahead). Reproducible: Always Steps to Reproduce: 1. your computer only need be slow enough, or the Internet busy enough, to make the message come up. 2. 3.
Couldn't reproduce, but from memory that dialog does not have checkboxes on it. Are you using firefox's default theme?
These are not check boxes, only buttons with wrong graphics.
Sorry, I meant graphics. Are you using the default firefox theme?
Using Microfirefox 1.027. Didn't even think about these being art of themes. Not that normally involved at this level but trying to make a great product better.
The prompt that is used to display this warning is a very generic one and I think your theme is just assuming that the first button is an equivalent of "Ok" and the second of "Cancel" which in this case doesn't really apply. I suspect this is invalid but moving to the right component for further review.
Assignee: nobody → general
Component: General → DOM: Core
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → 1.8 Branch
That dialog uses the prompt service to display the dialog, which uses commonDialog.xul/js. The first argument it passes is the "stop" string: http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/dom/src/base/nsJSEnvironment.cpp&rev=1.275&mark=597#592 which gets mapped to eButton0Text: http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/embedding/components/windowwatcher/src/nsPromptService.cpp&rev=1.29&mark=294,328#294 which is "8": http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/embedding/components/windowwatcher/public/nsPIPromptService.idl&mark=52&rev=1.9#52 which gets mapped to the "accept" button at: http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/content/commonDialog.js&rev=1.10&mark=156,158#142 which the Minifirefox theme correctly styles as the "checkmark" button. Since "stop script" is the choice most users want when presented with this dialog, I think setting it to be the accept button makes sense. The fact that the theme's style for this dialog seems counterintuitive is problem with the specific theme, not Firefox, so resolving invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Component: DOM: Core → DOM: Core & HTML
QA Contact: ian → general
You need to log in before you can comment on or make changes to this bug.