Closed Bug 1831754 Opened 1 year ago Closed 1 year ago

Disabled menuitems shouldn't get hover treatment

Categories

(Toolkit :: Themes, defect)

Unspecified
Linux
defect

Tracking

()

VERIFIED FIXED
115 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox113 --- unaffected
firefox114 --- verified
firefox115 --- verified

People

(Reporter: dao, Assigned: dao)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

As of bug 1828413 menuitems change their background on hover even when they're disabled. They shouldn't do that.

Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7e5e0e87258a
Disabled menuitems shouldn't get hover treatment. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch

Comment on attachment 9332032 [details]
Bug 1831754 - Disabled menuitems shouldn't get hover treatment. r=emilio

Beta/Release Uplift Approval Request

  • User impact if declined: see comment 0
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: It's easy to test this with the tab context menu when there's only one tab in the window, or with the page context menu when there's no back/forward history.
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): trivial CSS-only fix
  • String changes made/needed:
  • Is Android affected?: No
Attachment #9332032 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9332032 [details]
Bug 1831754 - Disabled menuitems shouldn't get hover treatment. r=emilio

Approved for 114 beta 2, thanks.

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

Reproduced this issue on an affected Nightly build from 2023-05-06 on Ubuntu 22.04.
Verified as fixed on Firefox 114.0b2 (20230509180058) and Firefox 115.0a1 (20230511094802) on Ubuntu 22.04 and macOS 10.15.

This issue is reproducible on Windows 10 x64 on all versions (115.0a1, 114.0b2, 113.0, 102.11esr). A lighter grey is applied on hover for the disabled menu items. Is this expected for Windows or should I reopen the bug? I attached a gif with the behavior on Win 10.

(In reply to Giorgia Nichita, Release Desktop QA from comment #8)

This issue is reproducible on Windows 10 x64 on all versions (115.0a1, 114.0b2, 113.0, 102.11esr). A lighter grey is applied on hover for the disabled menu items. Is this expected for Windows or should I reopen the bug? I attached a gif with the behavior on Win 10.

This seems to be expected on Windows:

https://searchfox.org/mozilla-central/rev/1f0f0e29a7bcb6d6dc82fe628861bccc2066a98e/toolkit/themes/windows/global/menu.css#56-61

https://searchfox.org/mozilla-central/rev/1f0f0e29a7bcb6d6dc82fe628861bccc2066a98e/widget/windows/nsLookAndFeel.cpp#295-299

Thank you Dão!
Based on Comment 9, I will mark this issue as verified.

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

Attachment

General

Created:
Updated:
Size: