Closed Bug 248910 Opened 21 years ago Closed 20 years ago

Two mouse clicks required to leave drop down list with Field focus colors enabled

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 281551

People

(Reporter: lovett, Unassigned)

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Opera 7.51 [en] Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 Enabling focus colours in prefs.js results in two mouse clicks to change focus from a drop down list. If a drop down list currently has focus and a another dropdown menu is selected, it takes three mouse clicks to display the list from the drop down. No ther form components seem to require extra mouse clicks to leave. While the dropdown has focus, no other applications can get keyboard focus - even when click on an external window. Enabling focus colours also results in slow form navigation as fields are higlighted. Reproducible: Always Steps to Reproduce: 1. Edit prefs.js and add the following lines: user_pref("browser.display.focus_background_color", "#ffffcc"); user_pref("browser.display.focus_text_color", "#ff0000"); user_pref("browser.display.use_focus_colors", true); 2. Start mozilla and test on a web page with multiple drop down lists 3. Use the mouse to set focus on a list and note the number of mouse clicks required to change focus to another component on the same web page like a text input field. 4. Highlight a dropdown list and then click the mouse in an xterm window. Now try entering text at the xterm. Note no text can be entered. Actual Results: 2 mouse clicks are required to transfer keyboard focus away from a drop down list. Keyboard focus remains with the browser when a drop down list has focus. Expected Results: 1 mouse click required to transfer keyboard focus away from a drop down list. Keyboard focus can be transfered to other applications when a drop down list has focus, by clicking on the other applications.
I see this on LInux 2004082306 The problem is that it applys *:focus. This has caused other problems see bug 163503 and bug 149981. This probably be related to bug 154670. You don't have to set these preferences to see this. You can use a HTML file also. See attachment 96893 [details] from bug 149981
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** This bug has been marked as a duplicate of 281551 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.