Closed Bug 1817518 Opened 1 year ago Closed 1 year ago

Context menu items stay highlighted after moving cursor away from them

Categories

(Firefox :: Menus, defect)

Firefox 112
x86_64
Linux
defect

Tracking

()

VERIFIED FIXED
112 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox110 --- wontfix
firefox111 --- verified
firefox112 --- verified

People

(Reporter: gregp, Assigned: emilio)

References

(Regressed 2 open bugs, Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached video context_menu.webm

Steps to reproduce:

  1. Right click a webpage
  2. Hover context menu items with your cursor
  3. Move your cursor away from the context menu

Actual results:
Menu item stays highlighted

Expected result:
Menu item is not highlighted

Flags: needinfo?(emilio)

Yeah before this happened inconsistently. It's not terribly hard to fix but I don't think it's particularly an issue?

Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(emilio)
Resolution: --- → INVALID

Err didn't intend to close without further discussion. Might be worth checking behavior across platforms and native toolkits.

Status: RESOLVED → REOPENED
Resolution: INVALID → ---

I can reproduce this in my Windows VM as well. It just feels a bit weird because other implementations don't have this behavior. I tested native GTK menus and Windows File Explorer.

I knew this sounded familiar, see bug 1811466.

The patch is a one-liner, the rest is a test. I'd ask smaug for review
but he's on PTO so... Markus, maybe you can take a look?

Assignee: nobody → emilio

Set release status flags based on info from the regressing bug 1805414

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/87139fa929ac
De-select closed menuitems on mouseout. r=mstange
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch

Did you want to nominate this for Beta uplift?

Flags: needinfo?(emilio)

Comment on attachment 9318528 [details]
Bug 1817518 - De-select closed menuitems on mouseout. r=mstange

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): Simple one-liner + test.
  • String changes made/needed: none
  • Is Android affected?: No
Flags: needinfo?(emilio)
Attachment #9318528 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9318528 [details]
Bug 1817518 - De-select closed menuitems on mouseout. r=mstange

Approved for 111.0b8

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

Reproduced the issue on Firefox 112.0a1 (2023-02-17) on Ubuntu 22.04 by following the STR from Comment 0.

The issue is fixed on Firefox 111.0b8 (treeherder build) and Firefox 112.0a1 (2023-03-02) on the same system.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
Regressions: 1829275
Regressions: 1861454
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: