Closed Bug 1811466 Opened 1 year ago Closed 1 year ago

menu bar items get selected on mouse over and block all keyboard shortcut until alt or the toolbar item is pressed

Categories

(Firefox :: Menus, defect, P1)

Firefox 110
defect

Tracking

()

VERIFIED FIXED
111 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox109 --- unaffected
firefox110 + verified
firefox111 --- verified

People

(Reporter: sajicek, Assigned: emilio)

References

(Regressed 1 open bug, Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0

Steps to reproduce:

(I've confirmed this in a fresh profile, video of the behaviour, and a correct behaviour from previous version is attached)

When you have the "menu bar" enabled (the one with File, Edit, View etc) move your mouse over any of them, don't click, just move the mouse over it, then move it anywhere else, again without clicking it.

Actual results:

The item you hovered on will be lit as if you were still hovering over it, and no firefox keyboard shortcuts will work (ctrl + t, ctrl + shift + p etc) and all key inputs will be interpreted as if you really are focused on the menu bar (left and right arrows will move you left and right on the menu bar items, down arrow will open the curently selected item etc) until you either press the alt key (which does normaly focus / defocus the menu bar) to defocus the bar, or click anywhere else in any window (this is new in 110.0b3, previously in 110.0b2 the only way was to click any menu item).

Expected results:

The focus should happen on mouse over, but when the mouse leaves, it should defocus it (as it was before and should still be, based on normal Windows window behaviour)

Attachment #9313233 - Attachment description: ffbug.mp4 → Video of the bad behaviour and the correct one

The Bugbug bot thinks this bug should belong to the 'Firefox::Menus' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Menus

[Tracking Requested - why for this release]:Menu hover state is broken due to regression from Bug 1805414

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=0c989b2bcd7882a9e7106e7879ab8933c2e09071&tochange=47c002d3637247e71ee901f32421deaecc9d8ea3

Status: UNCONFIRMED → NEW
Has STR: --- → yes
Ever confirmed: true
Regressed by: 1805414

:emilio, since you are the author of the regressor, bug 1805414, could you take a look? Also, could you set the severity field?

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)
Assignee: nobody → emilio
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e301f5641226
Restore menubar activation behavior from before bug 1811466. r=smaug
Regressions: 1811774
Severity: -- → S3
Priority: -- → P1
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch

Emilio should we uplift? Thanks

Flags: needinfo?(emilio)

Comment on attachment 9313321 [details]
Bug 1811466 - Restore menubar activation behavior from before bug 1811466. 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): Very targeted fix.
  • String changes made/needed: none
  • Is Android affected?: No
Flags: needinfo?(emilio)
Attachment #9313321 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9313321 [details]
Bug 1811466 - Restore menubar activation behavior from before bug 1811466. r=smaug

Approved for 110 beta 8, thanks.

Attachment #9313321 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

Reproduced this issue on an affected Nightly build from 2023-01-20 ON Win 10, using the STR from Comment 0.
Verified as fixed on Firefox 111.0a1 (20230131093335) and 110.0b8 (treeherder build - 20230130164457) on Windows 10 and Ubuntu 22.04.

I have verified this issue on Ubuntu with Light and Dark theme enabled. System theme does not have a visible hover effect on the menu bar items and for this issue I have filled Bug 1814079.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: