Closed
Bug 574434
Opened 14 years ago
Closed 14 years ago
Move Firefox button to the left of the tabstrip when not using aero glass
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
FIXED
Firefox 4.0b1
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta1+ |
People
(Reporter: shorlander, Assigned: dao)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
Until the custom window work can be completed the Firefox button can't go into the titlebar on non-aero environments. This includes XP and Aero Basic.
Until then it should appear to the left of the tabstrip.
Updated•14 years ago
|
blocking2.0: ? → beta1+
Comment 1•14 years ago
|
||
Needs an owner: dao, gavin, sdwilsh?
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → dao
Assignee | ||
Comment 2•14 years ago
|
||
Attachment #453886 -
Flags: review?(gavin.sharp)
Comment 3•14 years ago
|
||
Dao: what is the value of WINSTRIPE_AERO when the environment is Aero Basic (which isn't the same as Aero Opaque)
Assignee | ||
Comment 4•14 years ago
|
||
WINSTRIPE_AERO corresponds to >=Vista.
@media not all and (-moz-windows-compositor) corresponds to non-glass.
Comment 5•14 years ago
|
||
I don't have a non-aero test setup and I'm not sure how to disable glass, so I just hacked the patch manually to remove the @media condition, so that I could test the net effect on non-aero platforms. With that change, when I use Alt to trigger the menubar I get this:
http://grab.by/580Y
Is that a problem with the patch, or just some dependence on other non-aero styling that I didn't take into account?
Comment 6•14 years ago
|
||
(In reply to comment #5)
> Is that a problem with the patch, or just some dependence on other non-aero
> styling that I didn't take into account?
I suspect it has to do with the fact that the button shows up when the menuBar is turned off, and ALT has the effect of turning the menuBar on, but am not sure.
Comment 7•14 years ago
|
||
Yes, I know; I'm asking whether that case not being handled is a bug with the styling, or a bug with my testing.
Comment 8•14 years ago
|
||
(In reply to comment #5)
> I don't have a non-aero test setup and I'm not sure how to disable glass, so I
> just hacked the patch manually to remove the @media condition, so that I could
> test the net effect on non-aero platforms. With that change, when I use Alt to
> trigger the menubar I get this:
Assuming that you are on Windows 7, change your theme to Windows 7 Basic to disable glass. To do this, right click on the desktop, and click personalize.
Comment 9•14 years ago
|
||
I don't have access to any Windows 7 machines, just Vista/XP (I should fix that!).
I see the same thing without any patch tweaking on Vista with glass disabled (by RDC):
http://grab.by/5892
Assignee | ||
Comment 10•14 years ago
|
||
This reduces the button height and makes the negative margin depend on the font size.
Attachment #453886 -
Attachment is obsolete: true
Attachment #453988 -
Flags: review?(gavin.sharp)
Attachment #453886 -
Flags: review?(gavin.sharp)
Comment 11•14 years ago
|
||
Could moving the menu button into the tab strip confuse users? The button looks a bit like a (smallish) tab.
Comment 12•14 years ago
|
||
Comment on attachment 453988 [details] [diff] [review]
patch
>diff --git a/browser/themes/winstripe/browser/browser.css b/browser/themes/winstripe/browser/browser.css
>+ #navigator-toolbox[tabsontop="true"] > #toolbar-menubar[autohide="true"] ~ #TabsToolbar {
>+ -moz-padding-start: 10em !important;
Using #toolbar-menubar[inactive] instead gives a nicer appearance when the menu is shown, but I guess the tabstrip moving is a bit distracting?
Is the idea that if bug 513162 is reverted, we can just remove the |@media not all and (-moz-windows-compositor)| conditional and use this everywhere?
Attachment #453988 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 13•14 years ago
|
||
(In reply to comment #12)
> (From update of attachment 453988 [details] [diff] [review])
> >diff --git a/browser/themes/winstripe/browser/browser.css b/browser/themes/winstripe/browser/browser.css
>
> >+ #navigator-toolbox[tabsontop="true"] > #toolbar-menubar[autohide="true"] ~ #TabsToolbar {
> >+ -moz-padding-start: 10em !important;
>
> Using #toolbar-menubar[inactive] instead gives a nicer appearance when the menu
> is shown, but I guess the tabstrip moving is a bit distracting?
Yeah, I don't think we want to resize the tab strip when pressing Alt. In any case, this is expected to be a temporary solution only.
> Is the idea that if bug 513162 is reverted, we can just remove the |@media not
> all and (-moz-windows-compositor)| conditional and use this everywhere?
Yep.
Assignee | ||
Updated•14 years ago
|
Summary: Move Firefox button to the left of the tabstrip on non-aero environments → Move Firefox button to the left of the tabstrip when not using aero glass
Assignee | ||
Comment 14•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a6
Comment 15•14 years ago
|
||
(In reply to comment #13)
> In any case, this is expected to be a temporary solution only.
What's the plan for non-glass or XP? Are we eventually going to get titlebar drawing support there too?
Comment 16•14 years ago
|
||
(In reply to comment #15)
> (In reply to comment #13)
> > In any case, this is expected to be a temporary solution only.
>
> What's the plan for non-glass or XP? Are we eventually going to get titlebar
> drawing support there too?
bug 574454
You need to log in
before you can comment on or make changes to this bug.
Description
•