[de-xbl] convert the menu-button-base + menubutton.xml#menu-button bindings to custom element
Categories
(Thunderbird :: General, task)
Tracking
(Not tracked)
People
(Reporter: mkmelin, Assigned: mkmelin)
References
Details
Attachments
(3 files, 4 obsolete files)
7.92 KB,
image/png
|
Details | |
18.20 KB,
patch
|
khushil324
:
review+
|
Details | Diff | Splinter Review |
2.67 KB,
patch
|
jorgk-bmo
:
review+
khushil324
:
review+
|
Details | Diff | Splinter Review |
The menu-button binding https://searchfox.org/comm-central/rev/024094c2ebc05723d2b0da86086539d5b97044cb/common/bindings/toolbar.xml#577 is hooked up here: https://searchfox.org/comm-central/rev/024094c2ebc05723d2b0da86086539d5b97044cb/mail/base/content/bindings.css#49
Bug 1538983 is converting the button binding (and button[type="menu"] binding) to custom element. The button-base binding which menu-button inherits from is going away in that conversion. See https://phabricator.services.mozilla.com/D27742
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
button-base isn't going away in bug 1546352 after all.
Assignee | ||
Comment 2•6 years ago
|
||
But button-base was removed in bug 1538983. https://hg.mozilla.org/mozilla-central/rev/936c2d201405
Assignee | ||
Comment 3•6 years ago
|
||
(And menu-button-base inherited from button-base. )
Assignee | ||
Comment 4•6 years ago
|
||
Correction: button-base is still there, but will be removed "soon" in bug 1519577 after toolbarbutton is converted in bug 1519577.
Assignee | ||
Comment 5•6 years ago
|
||
To add confusion here: the searchfox permalinks above are wrong since we actually have two bindings named menu-button: toolbar.xml#menu-button for <toolbarbutton> and menubutton.xml#menu-button for <button>
Let's have this bug for the menubutton.xml#menu-button work:
Assignee | ||
Comment 6•6 years ago
|
||
The MozButtonBase base class already exists now.
Assignee | ||
Comment 8•6 years ago
|
||
Assignee | ||
Comment 9•6 years ago
|
||
This should be it, if bug 1551312 gets review. Test adjustments in bug 1547238.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 10•6 years ago
|
||
Assignee | ||
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
The "Folder Location" widget is also pretty much completely hosed. Will that be fixed here or do I need to fix another bug?
Comment 15•6 years ago
|
||
I thank that is a separate bug, please file me a bug.
Assignee | ||
Comment 16•6 years ago
|
||
For the visuals on mac, I can't really help. On linux it looks the same as it used to.
I wonder if adding the -moz-appearance: dualbutton; on mac could help: https://searchfox.org/comm-central/rev/95a184ce92612a12cb68ed2d7284a0c1c02cff30/mail/themes/linux/mail/messenger.css#810
I've fixed the linting error and unbitrotted.
Assignee | ||
Comment 17•6 years ago
|
||
Lint issue fixed and unbitrotted.
Since you're on mac, maybe you can have a look at the styling problem?
I wonder if some style changes are required on windows.
Comment 19•6 years ago
|
||
This fixes the buttons on Mac and Windows.
Comment 20•6 years ago
|
||
Comment 21•6 years ago
|
||
Comment 22•6 years ago
|
||
Comment 23•6 years ago
|
||
Assignee | ||
Comment 24•6 years ago
|
||
I think those are the only ones. We have a bunch of <toolbarbutton type="menu-button"> but that is still xbl.
Thanks Richard!
Comment 25•6 years ago
|
||
Also the "Get Map..." buttons in AB.
Assignee | ||
Comment 26•6 years ago
|
||
Right!
Comment 27•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/9331b129db1c
[de-xbl] convert the menu-button-base + menubutton.xml#menu-button bindings to custom element. r=khushil
https://hg.mozilla.org/comm-central/rev/96c877c4aba1
Fix the button styling on Mac and Windows. r=jorgk,khushil
Updated•6 years ago
|
Description
•