Menus in permission doorhangers open on hover rather than click
Categories
(Firefox :: Menus, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox109 | --- | unaffected |
firefox110 | --- | wontfix |
firefox111 | --- | verified |
People
(Reporter: pbz, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
77.91 KB,
image/jpeg
|
Details | |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-release-
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-release-
|
Details | Review |
Tested on macOS + Nightly 111.0a1 (2023-02-06) (64-bit)
STR:
- Open https://permission.site
- Click on the "Screen Share" button
- In the permission doorhanger that opens mouse hover over the expand arrow of the "block" button.
Expected:
Nothing happens unless you click the arrow panel
Actual:
On hover the menu opens
Mozregression:
16:17.49 INFO: Last good revision: 0c989b2bcd7882a9e7106e7879ab8933c2e09071
16:17.49 INFO: First bad revision: 47c002d3637247e71ee901f32421deaecc9d8ea3
16:17.49 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=0c989b2bcd7882a9e7106e7879ab8933c2e09071&tochange=47c002d3637247e71ee901f32421deaecc9d8ea3
Reporter | ||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
Set release status flags based on info from the regressing bug 1805414
Assignee | ||
Comment 2•2 years ago
|
||
This also happens on Windows and probably Linux. It's basically a similar thing as bug 1809019.
Assignee | ||
Comment 3•2 years ago
|
||
This matches what the old code did.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
So what does the DOM tree look like here? Why does the menu open?
Assignee | ||
Comment 5•2 years ago
|
||
There's a <button type="menu">
inside a <panel>
. So if we treat the panel as a menu, the <button>
opens because of this
Assignee | ||
Comment 7•2 years ago
|
||
Comment 9•2 years ago
|
||
bugherder |
Comment 10•2 years ago
|
||
bugherder |
Comment 11•2 years ago
|
||
The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox110
towontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 12•2 years ago
|
||
Comment on attachment 9316229 [details]
Bug 1815309 - Make IsOnMenu() only return true for menupopups/popup elements. r=smaug
Beta/Release Uplift Approval Request
- User impact if declined: comment 0
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: comment 0
- List of other uplifts needed: none
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Relatively simple fix to preserve old behavior.
- String changes made/needed: none
- Is Android affected?: No
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 13•2 years ago
|
||
Reproduced the issue with Firefox 111.0a1 (2023-2-06) on Windows 10x64. The menu opens on hover after following the steps from comment 0.
The issue is verified fixed with Firefox 111.0b2 on Windows 10x64 and macOS 12. The menu no longer opens on hover.
Comment 14•2 years ago
|
||
Comment on attachment 9316311 [details]
Bug 1815309 - Test. r=smaug
Hitting this bug seems an infrequent scenario, let's have it in 111 in two weeks, thanks!
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Description
•