Update the preferences dialog to be inline with the changes in bug 715799
Categories
(Thunderbird :: Preferences, task)
Tracking
(thunderbird_esr78 unaffected, thunderbird88 fixed, thunderbird89 affected)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | unaffected |
thunderbird88 | --- | fixed |
thunderbird89 | --- | affected |
People
(Reporter: Paenglab, Assigned: Paenglab)
References
Details
Attachments
(2 files, 3 obsolete files)
26.31 KB,
image/png
|
Details | |
8.34 KB,
patch
|
Paenglab
:
review+
wsmwk
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
After bug 715799 on Windows there is now the possibility to show a badge on the taskbar icon (and a icon with a red dot in the tray). Also the system notification can be used instead of the TB new mail alert.
We need now probably a mix of the actual prefs and the Mac prefs for Windows.
Ping, could you describe exactly what is possible now (including the prefs names) to know what should come into the prefs UI?
Then hopefully Alessandro can design the needed prefs and/or a dialog.
Comment 1•4 years ago
|
||
Prefs newly exposed to Windows
mail.biff.use_system_alert
, but the system alert doesn't work on Win7, not sure how to show it in pref ui. Mac always uses system alert so doesn't have this.mail.notification.count.inbox_only
, by default the badge shows unread count of Inbox only and chat messages... The relevant code is quite old, I don't think we have a pref to control counting of chat/feed. We might want to add those prefs and UI later. The feed part relates to bug 261841
Prefs got new meaning on Windows
mail.biff.show_tray_icon
, previously means new messages arrive. Now means when unread count > 0, a tray icon with a red dot is shown.
Assignee | ||
Comment 2•4 years ago
|
||
Okay, how about this?
I exposed the biff-use-system-alert
for Linux too.
I renamed the text of mail.biff.show_tray_icon
. See following screenshot.
Assignee | ||
Comment 3•4 years ago
|
||
How it looks on Windows.
Comment 4•4 years ago
|
||
Assignee | ||
Comment 5•4 years ago
|
||
(In reply to Alessandro Castellani [:aleca] from comment #4)
It needs some small UI changes.
Also, the commit message has a curly bracket at the beginning. We should
maybe update it with:
[Windows] Expose the new biff-use-system-alert options.
done
::: mail/components/preferences/general.inc.xhtml
@@ +442,5 @@
data-l10n-id="tray-icon-unread-label"/>
<description class="indent tip-caption"
flex="1"
data-l10n-id="tray-icon-unread-description"/>
</hbox>
Let's use the same UI approach we have here:
https://searchfox.org/comm-central/rev/
51ad486532b07f7a4f1ad64335045a46fe50de83/mail/extensions/am-e2e/am-e2e.inc.
xhtml#193-197The description should be indented underneath the checkbox.
done
::: mail/locales/en-US/messenger/preferences/preferences.ftl
@@ +216,3 @@.accesskey = t
+tray-icon-unread-description = Useful with small taskbar buttons
More than "Useful" I'd use "Recommended", what do you think?
Also, are those application tray icon called "buttons" in Windows? I'm not
sure if this is super clear.
They call it "buttons".
::: mail/themes/shared/mail/preferences/preferences.css
@@ +158,5 @@overflow: hidden;
text-overflow: ellipsis;
}+.tip-caption {
We already have a tip-caption class in the declared a bunch of times around
different CSS files.
Can we unify it?
https://searchfox.org/comm-central/search?q=.tip-
caption&path=&case=true®exp=false
Removed the rule from accountManage.css as it uses the one from preferences.css.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
|
||
Comment on attachment 9212291 [details] [diff] [review]
1700440-new-biff-options.patch
Sorry thought you gave a r+ with comments.
Comment 7•4 years ago
|
||
Assignee | ||
Comment 8•4 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #7)
Comment on attachment 9212291 [details] [diff] [review]
1700440-new-biff-options.patchReview of attachment 9212291 [details] [diff] [review]:
::: mail/locales/en-US/messenger/preferences/preferences.ftl
@@ +207,5 @@+biff-use-system-alert =
- .label = { PLATFORM() ->
[windows] Use the system notification
*[other] Use the system alert
Removed the platform switch.
Well, on linux is system notification as well.
And shouldn't this be all hidden on mac since notification center is the
only option there. Or?
It's in the #else block of #ifdef XP_MACOSX and only shown on Linux and Windows.
@@ +216,3 @@
.accesskey = t
+tray-icon-unread-description = Recommended with small taskbar buttons
I think "with" is not correct English here. It's "when you're using"
done
Comment 9•4 years ago
|
||
Assignee | ||
Comment 10•4 years ago
|
||
Updated the description.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 11•4 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/3c5e687f409b
[Windows] Expose the new biff-use-system-alert options. r=aleca
Assignee | ||
Comment 12•4 years ago
|
||
Comment on attachment 9212314 [details] [diff] [review]
1700440-new-biff-options.patch
[Approval Request Comment]
User impact if declined: the user can't set the options approprately
Testing completed (on c-c, etc.): on c-c
Risk to taking this patch (and alternatives if risky): low
Comment 13•4 years ago
|
||
Comment on attachment 9212314 [details] [diff] [review]
1700440-new-biff-options.patch
[Triage Comment]
Approved for beta
Comment 14•4 years ago
|
||
bugherder uplift |
Thunderbird 88.0b2:
https://hg.mozilla.org/releases/comm-beta/rev/0b3bf4b512c3
Comment 15•4 years ago
|
||
Just out of interest, has the rule not to uplift things with string changes been abandoned?
https://hg.mozilla.org/releases/comm-beta/diff/0b3bf4b512c3e8934208eb48ab7d818e3a7ff69e/mail/locales/en-US/messenger/preferences/preferences.ftl
Comment 16•4 years ago
|
||
Rule still in affect.
Comment 17•4 years ago
|
||
For 78 at least. For beta, I guess we should generally stick to it as well.
Description
•