Closed Bug 1539726 Opened 6 years ago Closed 5 years ago

port Bug 1539665 - Handle the tabmail-arrowscrollbox XBL logic from within tabmail-tabs (like bug 1539665 for firefox)

Categories

(Thunderbird :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 69.0

People

(Reporter: mkmelin, Assigned: aleca)

References

Details

Attachments

(1 file, 2 obsolete files)

This bug is to do the corresponding changes that Firefox (will do) in bug 1539665.

https://searchfox.org/comm-central/rev/9732ef6cc7414cb42f519cd3b7c1f89b9c217dca/mail/base/content/tabmail.xml#1872

This removes the tabmail-arrowscrollbox binding.

Type: enhancement → task
Summary: Bug 1539665 - Handle the tabmail-arrowscrollbox XBL logic from within tabmail-tabs (like bug 1539665 for firefox) → port Bug 1539665 - Handle the tabmail-arrowscrollbox XBL logic from within tabmail-tabs (like bug 1539665 for firefox)

Needs to be done before bug 1514926 removes arrowscrollbox. (No patch for that yet.)

Attached patch tabmail-arrowscrollbox.patch (obsolete) (deleted) — Splinter Review

I'm not 100% sure if what I'm doing is correct as I removed the binding and the methods, and the scrollbox works as expected.
Is this OK?

Attachment #9068789 - Flags: review?(mkmelin+mozilla)
Status: NEW → ASSIGNED
Comment on attachment 9068789 [details] [diff] [review] tabmail-arrowscrollbox.patch Review of attachment 9068789 [details] [diff] [review]: ----------------------------------------------------------------- Seems to work at least for the basic functionality. I wonder if we don't need to add something like Firefox has (a initializeArrowScrollbox() call in tabmail-tabs)

The alltabs-button isn't shown with this patch.

(In reply to Richard Marti (:Paenglab) from comment #4)

The alltabs-button isn't shown with this patch.

Oopsie, I didn't notice that.
Apparently our alltabs-button is completely different from what's used by FF and the tabmail doesn't inherit it.

Attached patch tabmail-arrowscrollbox.patch (obsolete) (deleted) — Splinter Review
Attachment #9068789 - Attachment is obsolete: true
Attachment #9068789 - Flags: review?(mkmelin+mozilla)
Attachment #9068875 - Flags: review?(mkmelin+mozilla)
Attachment #9068875 - Flags: review?(mkmelin+mozilla) → review?(richard.marti)
Comment on attachment 9068875 [details] [diff] [review] tabmail-arrowscrollbox.patch Review of attachment 9068875 [details] [diff] [review]: ----------------------------------------------------------------- This works for me. I'll let better Magnus decide about the changes in XML. ::: mail/themes/osx/mail/tabmail.css @@ +170,5 @@ > > +/* Tab Overflow */ > +.tabmail-arrowscrollbox > .arrowscrollbox-overflow-start-indicator:not([collapsed]), > +.tabmail-arrowscrollbox > .arrowscrollbox-overflow-end-indicator:not([collapsed]) { > + margin-bottom: 0px; 0 has no unit and the px can be removed.
Attachment #9068875 - Flags: review?(richard.marti)
Attachment #9068875 - Flags: review?(mkmelin+mozilla)
Attachment #9068875 - Flags: feedback+
Attached patch tabmail-arrowscrollbox.patch (deleted) — Splinter Review
Attachment #9068875 - Attachment is obsolete: true
Attachment #9068875 - Flags: review?(mkmelin+mozilla)
Attachment #9069039 - Flags: review?(mkmelin+mozilla)
Attachment #9069039 - Flags: feedback+
Comment on attachment 9069039 [details] [diff] [review] tabmail-arrowscrollbox.patch Review of attachment 9069039 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, thx! r=mkmelin
Attachment #9069039 - Flags: review?(mkmelin+mozilla) → review+
Keywords: checkin-needed

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/8e9201ae8281
remove tabmail-arrowscrollbox binding and handle its logic within tabmail-tabs. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 69.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: