Closed Bug 713919 Opened 8 years ago Closed 8 years ago

Toolbar buttons dragged onto the stand-alone window menubar should have text-beside-icon


(Thunderbird :: Mail Window Front End, defect)

Not set


(thunderbird11 fixed)

Thunderbird 12.0
Tracking Status
thunderbird11 --- fixed


(Reporter: mconley, Assigned: mconley)



(Keywords: regression)


(2 files)

Steps to reproduce:

1)  Open up a stand-alone message window
2)  Customize the mail toolbar
3)  Drag a toolbar button onto the menubar

What happens?

The text for the toolbar button is below the icon.

What's expected?

The text should be beside the toolbar button.

See the attached screenshot for a look at the bug in action.
Assignee: nobody → mconley
Blocks: tb-tabsontop
OS: Mac OS X → All
Attached patch Patch v1Splinter Review
This patch makes it so that the navigation-toolbox defaults to icons-beside-text in every place it is displayed, as opposed to just messenger.xul.
Attachment #584801 - Flags: review?(sagarwal)
Comment on attachment 584801 [details] [diff] [review]
Patch v1

Cancelling review - this patch overrides the user preference to display icons above text, or icons only, and we don't want to do that.
Attachment #584801 - Flags: review?(sagarwal)
Hm - so it turns out this is harder than it sounds, because the customization code assumes we have a single toolbox as opposed to a toolbox with external toolbars that might exist within other toolboxes...
Comment on attachment 584801 [details] [diff] [review]
Patch v1

So here's what I've found out:

The customize toolbar functions in mailCore.js do not take into account the possibility that toolbars can exist outside of their toolboxes.  This means that, with this patch, switching to "text-below-icon" mode will not be obeyed by buttons in the navigation-toolbox.

The changes required by mailCore.js aren't crazy difficult, but I don't think we'd want to land them in Aurora this late in the game.

I suggest that we default to displaying text beside icons in the menubar, and then file a separate bug and fix the customize toolbar regression in a later version (TB 12, for example) in order to allow proper testing time.

Does this sound alright?
Attachment #584801 - Flags: ui-review?(bwinton)
Attachment #584801 - Flags: review?(sagarwal)
Comment on attachment 584801 [details] [diff] [review]
Patch v1

To be honest, I prefer this over text below icons in the menu bar. I'm going to let Blake make the call, though.
Attachment #584801 - Flags: review?(sagarwal) → review+
Comment on attachment 584801 [details] [diff] [review]
Patch v1

I also prefer it, and I'm not sure if we should force it to match the setting for the toolbars, since that's a very different context.

One thing I think we should definitely communicate is that this is just temporary, because of time pressure, and we may change it later to follow the toolbar setting.
Attachment #584801 - Flags: ui-review?(bwinton) → ui-review+
Attachment #584801 - Flags: approval-comm-aurora?
Committed to comm-central as
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 12.0
Attachment #584801 - Flags: approval-comm-aurora? → approval-comm-aurora+
You need to log in before you can comment on or make changes to this bug.