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)
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)
[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)
Reporter | ||
Updated•7 years ago
|
Attachment #8918639 -
Attachment is obsolete: true
Reporter | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Sure, thanks.
Assignee: nobody → jhofmann
Status: NEW → ASSIGNED
Flags: needinfo?(jhofmann) → qe-verify+
Priority: -- → P1
Whiteboard: [reserve-photon-visual]
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
mozreview-review |
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-
Assignee | ||
Comment 5•7 years ago
|
||
(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?
Comment 6•7 years ago
|
||
(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 hidden (mozreview-request) |
Comment 8•7 years ago
|
||
mozreview-review |
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 9•7 years ago
|
||
mozreview-review |
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)
Assignee | ||
Comment 10•7 years ago
|
||
(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 hidden (mozreview-request) |
Comment 12•7 years ago
|
||
mozreview-review |
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+
Comment 13•7 years ago
|
||
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
Comment 14•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Updated•7 years ago
|
Comment 15•7 years ago
|
||
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
You need to log in
before you can comment on or make changes to this bug.
Description
•