Closed Bug 1153586 Opened 9 years ago Closed 9 years ago
[Not e10s] Clicking <select> doesn't close the drop-down menu when it's open
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0 Build ID: 20150402191859 Steps to reproduce: Click on any dropdown list (combobox) on a web site to open it. Then click again on the header (not on the dropdown list) to close it again. Actual results: The popup remains open. Expected results: The popup should close again like it did in the past and does on other native controls on all platforms.
What is a "header" in this context? And can you please provide a specific example to reproduce this? Which platforms did you test this on?
You don't need to go far. The issue also happens here in Bugzilla and affects every <select> HTML element. Click on it to open it. Then click the exact same spot again to close it, but it won't close. I've tested with at least a dozen websites, I'm sure you'll find tons more. The header is the part that's always visible. Not sure what it's officially called. The dropdown or popup is the part that only appears when the list is open. This thing should close when clicking on the header but it doesn't. I've only tested this with Firefox on Windows 7, but I know that native combobox controls do close on Windows, and IIRC they also behave so on Linux and OS X.
Steps to reproduce: 1. http://www.w3schools.com/html/tryit.asp?filename=tryhtml_elem_select 2. Click “Volvo”. 3. Click “Volvo”. Actual results: The drop-down menu quickly opens again, although it's already open. Expected results: The drop-down menu should close. The issue doesn't occur in the latest Nightly with e10s enabled. It does occur when right-clicking the tab and choosing Open in new non-e10s window. It also occurs in Aurora, Beta and Release. Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:40.0) Gecko/20100101 Firefox/40.0 Built from https://hg.mozilla.org/mozilla-central/rev/eb3a1c0262e4 Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:39.0) Gecko/20100101 Firefox/39.0 Built from https://hg.mozilla.org/releases/mozilla-aurora/rev/d0eda02ebe76 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0 Built from https://hg.mozilla.org/releases/mozilla-beta/rev/4526b85aa607 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0 Built from https://hg.mozilla.org/releases/mozilla-release/rev/42b937b0039b
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout: Form Controls
Ever confirmed: true
Product: Firefox → Core
Summary: Dropdown list remains open when clicking again, should close again → [Not e10s] Clicking <select> doesn't close the drop-down menu when it's open
Whiteboard: [STR at comment 3]
pushlog https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=18f07a17281f&tochange=6915e633dbaf Regressed by: Bug 1106824
Assignee: nobody → mats
Attachment #8593057 - Attachment is obsolete: true
Attachment #8593104 - Flags: review?(enndeakin)
Thank you for fixing this thing. I'm not familiar with how those fixes are actually used now. Will we have to wait until late August for this bug to go away in the public releases of Firefox? Or is there a chance that this can be used sooner, like with the next update that's released whenever that is? I'd just like to see this fixed before I get used to the permanent feeling that Firefox has it wrong.
QA Whiteboard: [good first verify]
You need to log in before you can comment on or make changes to this bug.