Closed Bug 1408741 Opened 7 years ago Closed 7 years ago

Menu label text shifts to the right-bottom when open the menu

Categories

(Firefox :: Theme, defect, P1)

57 Branch
defect

Tracking

()

VERIFIED FIXED
Firefox 58
Tracking Status
firefox-esr52 --- unaffected
firefox56 --- unaffected
firefox57 --- wontfix
firefox58 --- verified

People

(Reporter: alice0775, Assigned: johannh)

References

Details

(Keywords: regression, Whiteboard: [reserve-photon-visual])

Attachments

(2 files, 1 obsolete file)

Attached image screenshot (obsolete) —
[Tracking Requested - why for this release]: Reproducible : always Steps To Reproduce: 1. Enable Menu Bar 2. Open the menu item Actual Results: Menu label text shifts to the right-bottom 1px each. Expected Results: no shift Regression window: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=e121153e9597301293c90dd38600ec805e9ccc76&tochange=1c71b22afd8dbc35a9b4f2f1c73523a5d74a43d3 Regressed by:3ee3f976f092 Johann Hofmann — Bug 1368679 - Increase hover opacity of window control buttons, apply the hover effect on the menu bar. r=dao :johannh Your patch seems to cause the regression, Can you look this?
Flags: needinfo?(jhofmann)
Attachment #8918639 - Attachment is obsolete: true
Attached image screenshot
Sure, thanks.
Assignee: nobody → jhofmann
Status: NEW → ASSIGNED
Flags: needinfo?(jhofmann) → qe-verify+
Priority: -- → P1
Whiteboard: [reserve-photon-visual]
Comment on attachment 8919287 [details] Bug 1408741 - Only give extra border on opened menubar menus in Windows classic. https://reviewboard.mozilla.org/r/190172/#review195848 ::: toolkit/themes/windows/global/menu.css (Diff revision 1) > color: -moz-menubarhovertext; > } > > -menubar > menu[_moz-menuactive="true"][open="true"] { > - border-width: 3px 1px 1px 3px; > -} The whole point of this rule is to shift the active menu; the border is transparent and treated like padding. But perhaps this is supposed to target classic themes only?
Attachment #8919287 - Flags: review?(dao+bmo) → review-
(In reply to Dão Gottwald [::dao] from comment #4) > Comment on attachment 8919287 [details] > Bug 1408741 - Remove extra border on opened menubar menus. > > https://reviewboard.mozilla.org/r/190172/#review195848 > > ::: toolkit/themes/windows/global/menu.css > (Diff revision 1) > > color: -moz-menubarhovertext; > > } > > > > -menubar > menu[_moz-menuactive="true"][open="true"] { > > - border-width: 3px 1px 1px 3px; > > -} > > The whole point of this rule is to shift the active menu; the border is > transparent and treated like padding. But perhaps this is supposed to target > classic themes only? This causes shifting in Win 7 classic theme as well. Do you mean the shift on open is a feature?
(In reply to Johann Hofmann [:johannh] from comment #5) > (In reply to Dão Gottwald [::dao] from comment #4) > > Comment on attachment 8919287 [details] > > Bug 1408741 - Remove extra border on opened menubar menus. > > > > https://reviewboard.mozilla.org/r/190172/#review195848 > > > > ::: toolkit/themes/windows/global/menu.css > > (Diff revision 1) > > > color: -moz-menubarhovertext; > > > } > > > > > > -menubar > menu[_moz-menuactive="true"][open="true"] { > > > - border-width: 3px 1px 1px 3px; > > > -} > > > > The whole point of this rule is to shift the active menu; the border is > > transparent and treated like padding. But perhaps this is supposed to target > > classic themes only? > > This causes shifting in Win 7 classic theme as well. Do you mean the shift > on open is a feature? Yep.
Comment on attachment 8919287 [details] Bug 1408741 - Only give extra border on opened menubar menus in Windows classic. https://reviewboard.mozilla.org/r/190172/#review196366 ::: toolkit/themes/windows/global/menu.css:119 (Diff revision 2) > } > > /* ::::: menu/menuitems in menubar ::::: */ > > menubar > menu { > border: 2px solid transparent; Should this rule move as well?
Comment on attachment 8919287 [details] Bug 1408741 - Only give extra border on opened menubar menus in Windows classic. https://reviewboard.mozilla.org/r/190172/#review196412
Attachment #8919287 - Flags: review?(dao+bmo)
(In reply to Dão Gottwald [::dao] from comment #8) > Comment on attachment 8919287 [details] > Bug 1408741 - Only give extra border on opened menubar menus in Windows > classic. > > https://reviewboard.mozilla.org/r/190172/#review196366 > > ::: toolkit/themes/windows/global/menu.css:119 > (Diff revision 2) > > } > > > > /* ::::: menu/menuitems in menubar ::::: */ > > > > menubar > menu { > > border: 2px solid transparent; > > Should this rule move as well? That makes the menu smaller on Windows 10, but I guess that's a feature since it's quite large. I'll update the patch.
Comment on attachment 8919287 [details] Bug 1408741 - Only give extra border on opened menubar menus in Windows classic. https://reviewboard.mozilla.org/r/190172/#review196726
Attachment #8919287 - Flags: review?(dao+bmo) → review+
Pushed by jhofmann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1a02e5bd8e9b Only give extra border on opened menubar menus in Windows classic. r=dao
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
I verified this issue using latest Nightly 58.0a1 with Build ID 20171023220222 on Windows 10 x64. I will mark this as verified fixed.
Status: RESOLVED → VERIFIED
No longer blocks: 1515714
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: