Closed Bug 1424601 Opened 7 years ago Closed 6 years ago

TB: Restore the Preferences bindings/styles after their removal in bug 1379338

Categories

(Thunderbird :: Preferences, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 59.0

People

(Reporter: Paenglab, Assigned: Paenglab)

References

Details

Attachments

(1 file, 2 obsolete files)

Bug 1379338 removes bindings and styles for the windowed preferences. Because we still use them, we need to move them to c-c.
Attached patch prefBinding.patch (obsolete) — Splinter Review
Jörg, bug 1379338 has no r+ yet but this can be in short time. I already r? you to be ready when it lands.

Stefan, are you okay with the common preferences.xml? Or do you want the preferences.css file with the binding declarations in common too?
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #8936128 - Flags: review?(jorgk)
Attachment #8936128 - Flags: feedback?(stefanh)
Comment on attachment 8936128 [details] [diff] [review]
prefBinding.patch

Thanks for doing this. We don't declare the other migrated bindings in a common css file, so I think it's fine. We could later on consolidate into something similar to toolkit's xul.css if we want.
Attachment #8936128 - Flags: feedback?(stefanh) → feedback+
Attached patch prefBinding.patch (obsolete) — Splinter Review
Thank you, Stefan.

Missed a removed rule in osx preferences.css.
Attachment #8936128 - Attachment is obsolete: true
Attachment #8936128 - Flags: review?(jorgk)
Attachment #8936142 - Flags: review?(jorgk)
Optimized some CSS (removed contrary code in the same file).

Sorry for the spam.
Attachment #8936142 - Attachment is obsolete: true
Attachment #8936142 - Flags: review?(jorgk)
Attachment #8936143 - Flags: review?(jorgk)
There hasn't been any action in bug 1379338, hence no action here.
Comment on attachment 8936143 [details] [diff] [review]
prefBinding.patch

Cancelling the review for now since bug 1379338 isn't moving. I'm watching that bug to reschedule the review, or please r? again once the other bug is close to being landed. Right now I can't action this patch.
Attachment #8936143 - Flags: review?(jorgk)
Comment on attachment 8936143 [details] [diff] [review]
prefBinding.patch

Bug 1379338 is now in m-i
Attachment #8936143 - Flags: review?(jorgk)
Comment on attachment 8936143 [details] [diff] [review]
prefBinding.patch

Wow, what a big patch. So that's for preferences in a window, right?
Will we eventually remove those? Or is this waiting for "accounts in a tab"? :-(

rs=jorgk
Attachment #8936143 - Flags: review?(jorgk) → review+
(In reply to Jorg K (GMT+1) from comment #8)
> Comment on attachment 8936143 [details] [diff] [review]
> prefBinding.patch
> 
> Wow, what a big patch. So that's for preferences in a window, right?
> Will we eventually remove those? Or is this waiting for "accounts in a tab"?

It's big because of preferences.xml.

For prefs in tab we'd need to rewrite them like FX has done.

I've set c-n but it should only land after bug 1379338 landing because packaging would fail with duplicate files (you could do this to check that preferences.xml isn't altered with moving to c-c ;) ).
Keywords: checkin-needed
Bug 1379338 was backed out.
Keywords: checkin-needed
And it's again in m-i.
Keywords: checkin-needed
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/662f3ff6f50c
Restore the Preferences bindings/styles after their removal in toolkit in bug 1379338. rs=jorgk
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 59.0
Why do they have to remove all the good stuff. The toolkit will stay a really dumb platforms and no toolkit.
So now all the preferences bindings and elements like <prefwindow> are adopted into c-c.
And it's not that Firefox wouldn't need these features, as can be seen in
https://bug1379338.bmoattachments.org/attachment.cgi?id=8940038 they just open-coded it and reimplemented in a different way via toolkit/content/preferencesBindings.js.

Thanks for the patch.
Blocks: 1468167
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: