Closed Bug 1419179 Opened 5 years ago Closed 5 years ago

Migrate statusbar and statusbarpanel to TB


(Thunderbird :: General, defect)

Not set


(Not tracked)

Thunderbird 59.0


(Reporter: bgrins, Assigned: Paenglab)




(1 file, 1 obsolete file)

In Bug 1419170 I'm planning to remove statusbar and statusbarpanel bindings from mozilla-central.  They are used in a variety of places in comm-central:, so they should be moved somewhere to remain usable.
Frank, Ian

Me and Richard had a chat about migrating bindings to a place in c-c where both TB and SM could use them. We could for example have a "bindings" directory in the root of c-c and move bindings needed by SM or TB to there. What do you think?
Flags: needinfo?(iann_bugzilla)
Flags: needinfo?(frgrahl)
I am for it becuase I don't think everything should go into mailnews if not directly related. But I would add another high level directory and put bindings in it. Over time something else might end there too. 

I already thought about it and asked in Bug 1414398 Commment 25
Flags: needinfo?(frgrahl)
So Richard and Stefan, I assume that this will be under control, right?
I think, yes.
Richard has it covered for TB. I made a suite patch in bug 1418094, since I was unsure of how much time we had for creating a shared dir. We both agree on a shared dir, though. So we'll move the bindings to a shared dir at a later stage.
Attached patch statusbar-TB.patch (obsolete) — Splinter Review
The binding file (generalBindings.xml) is in /common/bindings. Like this TB and SM can access it easily and only one binding file is needed for both programs.

Aceman and the others, is the naming okay or do you want something different?

Aceman, you can test this with applying the patch from bug 1419170.
Attachment #8931496 - Flags: review?(acelists)
Comment on attachment 8931496 [details] [diff] [review]

Review of attachment 8931496 [details] [diff] [review]:

I can't test this for the next 2 days, but it looks fine to me.

::: mail/themes/linux/mail/messenger.css
@@ +583,5 @@
>  menulist[editable="true"] > .menulist-dropmarker {
>    min-width: 2em;
>  }
> +/* statusbar */

Maybe "Status bar" to have the same style as the "Status panel" below?
Attachment #8931496 - Flags: review?(acelists) → feedback+
Fixed the titles in the CSS files.

Aceman, no hurry, the m-c patch hasn't landed yet.
Attachment #8931496 - Attachment is obsolete: true
Attachment #8931633 - Flags: review?(acelists)
(In reply to Richard Marti (:Paenglab) from comment #7) 
> Aceman and the others, is the naming okay or do you want something different?

Thanks for doing this :-) No objections (my suggestion would be shared/bindings, but it really doesn't matter).
Comment on attachment 8931633 [details] [diff] [review]

Review of attachment 8931633 [details] [diff] [review]:

Yes, applying bug 1419170 breaks the status bar a bit and this patch fixes it. Thanks.

Who will make the Seamonkey version of this?
Attachment #8931633 - Flags: review?(acelists) → review+
Stefan has signaled to do this.
Yeah, I'll do it for SeaMonkey in bug 1418094.
Flags: needinfo?(iann_bugzilla)
Okay, then I rename the bug to TB only.
Assignee: nobody → richard.marti
Summary: Migrate statusbar and statusbarpanel to comm-central → Migrate statusbar and statusbarpanel to TB
I haven't added it because at least on Windows, dragging the window with the status bar is not usual. It also makes the offline button almost not accessible (this I fixed through changing it to a toolbar-button). But also by right clicking on the status bar, showing the window menu is strange.
Bug 1419170 should land on the next merge. Then this bug can land then and seamlessly fix it.
Keywords: checkin-needed
Pushed by
Migrate statusbar and statusbarpanel to comm-central. r=aceman
Closed: 5 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 59.0
You need to log in before you can comment on or make changes to this bug.