Closed
Bug 884287
Opened 11 years ago
Closed 11 years ago
Menu bar has too much space left on it's right side
Categories
(Thunderbird :: Theme, defect)
Tracking
(thunderbird24+ fixed)
VERIFIED
FIXED
Thunderbird 25.0
People
(Reporter: mstanke, Assigned: Paenglab)
Details
Attachments
(3 files)
19.95 KB,
image/jpeg
|
Details | |
1.64 KB,
patch
|
bwinton
:
review+
bwinton
:
ui-review+
standard8
:
approval-comm-aurora+
|
Details | Diff | Splinter Review |
3.22 KB,
image/png
|
Details |
There is a plenty of space left on the right side of the main toolbar in TB. Look at the screenshot. When tabs are not drawn in titlebar (mail.tabs.drawInTitlebar = false), it's OK. This code (using Stylish) fixes that in Aero with Glass effect (=>tabs above the main toolbar): #navigation-toolbox { margin-right: -110px; } #messengerWindow[sizemode="maximized"] #navigation-toolbox #tabs-toolbar { margin-right: 110px !important; } For Aero without Glass effect works (=>tabs under the main toolbar): #messengerWindow #navigation-toolbox #tabs-toolbar { margin-right: -110px; } For Classic (WinXP-like) or High contrast (=>tabs under the main toolbar): #messengerWindow #navigation-toolbox #tabs-toolbar { margin-right: -60px; }
Assignee | ||
Comment 1•11 years ago
|
||
Is this the main toolbar or do you mean the menubar used as main toolbar? The main toolbar shouldn't have this space. If it's the menubar, I can add styles to let the space only on the topmost toolbar.
Reporter | ||
Comment 2•11 years ago
|
||
The toolbar with the menu (File, ...). IMHO it seems to be more UI than theme issue. The menu/tabbar (which is below) shouldn't be right margined by the minimize/close buttons. For WinXP it's the same.
Updated•11 years ago
|
Summary: Main toolbar has too much space left on it's right side → Menu bar has too much space left on it's right side
Yes, I see this on Win XP too. I think linux too, but will have to check. It does make sense when the Menu Bar is not shown as the buttons fit just before the main window buttons (minimize, close). But when the Menu Bar is shown, it is not necessary to reserve the space.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 4•11 years ago
|
||
This patch removes the space on all Windows systems except Aero from tabbar when the menubar above is always shown. When the menubar is autohiding then the space is left to not let the items on the tabbar jump. On Aero, where the menubar is below the tabbar, the menubar has it's spacer always removed.
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #764817 -
Flags: ui-review?(bwinton)
Attachment #764817 -
Flags: review?(bwinton)
Reporter | ||
Comment 5•11 years ago
|
||
Can I ask, in which version will be the patch applied?
Assignee | ||
Comment 6•11 years ago
|
||
After review I can ask for approval for TB 17 ESR. Depending the release driver's decision it can land there or only in a later version.
Comment 7•11 years ago
|
||
(In reply to Richard Marti [:Paenglab] from comment #6) > After review I can ask for approval for TB 17 ESR. Depending the release > driver's decision it can land there or only in a later version. Perhaps not much point, with TB24 coming out in a couple months.
Comment 8•11 years ago
|
||
Comment on attachment 764817 [details] [diff] [review] patch In classic/high-contrast mode, I think we could do with a little less space: https://dl.dropboxusercontent.com/u/2301433/Screenshots/MenuSpace.png but ui-r=me with that tightened up a little. (If it's reasonably easy to do. If it's hard, then skip it.) And the code seems okay, so r=me, too.
Attachment #764817 -
Flags: ui-review?(bwinton)
Attachment #764817 -
Flags: ui-review+
Attachment #764817 -
Flags: review?(bwinton)
Attachment #764817 -
Flags: review+
Assignee | ||
Comment 9•11 years ago
|
||
(In reply to Blake Winton (:bwinton) from comment #8) > Comment on attachment 764817 [details] [diff] [review] > patch > > In classic/high-contrast mode, I think we could do with a little less space: > https://dl.dropboxusercontent.com/u/2301433/Screenshots/MenuSpace.png > but ui-r=me with that tightened up a little. (If it's reasonably easy to > do. If it's hard, then skip it.) You switched directly from Basic/Aero theme to classic/high-contrast? Then I see the same. After TB restart the spacing is like in my screenshot. TB calculates only at startup the (placeholder)spacer width of the caption buttons. When you started TB with Basic/Aero then the buttons are wider and by changing the theme the spacer stays at this width also with the smaller classic buttons. Restarting TB let it recalculate the correct width.
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 10•11 years ago
|
||
https://hg.mozilla.org/comm-central/rev/17f6b3acfc77
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 25.0
Reporter | ||
Comment 11•11 years ago
|
||
So, will be this patch applied in next TB release (24), or only from 25?
Assignee | ||
Comment 12•11 years ago
|
||
Thanks to ask and remind me to set the approval request for TB 24.
Assignee | ||
Comment 13•11 years ago
|
||
Comment on attachment 764817 [details] [diff] [review] patch [Approval Request Comment] This would help save space for buttons etc. also for ESR-24 users. This is only a CSS patch so it should be really safe to not regress in a bad way.
Attachment #764817 -
Flags: approval-comm-aurora?
Updated•11 years ago
|
Attachment #764817 -
Flags: approval-comm-aurora? → approval-comm-aurora+
Comment 14•11 years ago
|
||
https://hg.mozilla.org/releases/comm-aurora/rev/512db0e46549
status-thunderbird24:
--- → fixed
tracking-thunderbird24:
--- → +
You need to log in
before you can comment on or make changes to this bug.
Description
•