Open Bug 1946946 Opened 1 year ago Updated 15 days ago

Linux system tray should display different icons depending on whether new/unread mail is present. The tooltip should show the number of new/unread messages.

Categories

(Thunderbird :: OS Integration, enhancement)

All
Linux
enhancement

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: francesco, Assigned: contact)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 2 obsolete files)

Bug 1942125 comment #1 contains a summary of what is missing so that the Linux system tray implementation reaches parity with the Windows implementation.

This bug is for items 3. and 4. in that list:
A different icon depending on whether the is new/unread mail or not.
A count of new/unread messages in the tooltip. Currently the tooltip is hard-coded "Thunderbird Daily".

Note the hard-coding here:
https://searchfox.org/comm-central/rev/3f0569c31a5c76b2f524157cd56570e4fc39e82e/rust/sys_tray/src/linux/mod.rs#82

Also note UpdateUnreadCount() not being implemented yet:
https://searchfox.org/comm-central/rev/3f0569c31a5c76b2f524157cd56570e4fc39e82e/rust/sys_tray/src/linux/mod.rs#89

Could you please integrate something like this, where you can minimize Thunderbird too, and it shows the number of unread messages?

@francesco: This works for me, but sadly anymore with Thunderbird 138.0 so it may be an option for you.

Duplicate of this bug: 2016913
Assignee: nobody → contact
Status: NEW → ASSIGNED

(In reply to Francesco from comment #0)

A count of new/unread messages in the tooltip. Currently the tooltip is hard-coded "Thunderbird Daily".

Does your patch address this?

I don't have Windows but while discussing this with @heather it appears that this us not implemented on Windows either. So no, not currently.

Attached image 1946946.png β€”

The system try icon has a tooltip with a message count. Plus, as stated, "Thunderbird Daily" is not not the correct tooltip to display.

Ah ok, misunderstanding here. I thought the issue meant "display count on the icon". Display on the tooltip is implemented, yes.

Looking at the patch, "Thunderbird Daily" is still used:
let tray = SystemTray::new("Thunderbird", icon, unread_icon, "Thunderbird Daily").with_items(menus);

Attachment #9546869 - Attachment description: Bug 1946946 - Linux: implement different tray icons dependending on whether new/unread mail is present. r=heather → Bug 1946946 - Linux: implement different tray icons dependending on whether new/unread mail is present. r=#thunderbird-backend-reviewers
Attachment #9546870 - Attachment is obsolete: true
Attachment #9548827 - Attachment description: WIP: Bug 1946946 - Linux: implement different tray icons dependending on whether new/unread mail is present with unified badge creation implementation → Bug 1946946 - Linux: implement different tray icons dependending on whether new/unread mail is present with unified badge creation implementation r=#thunderbird-back-end-reviewers
Attachment #9546869 - Attachment is obsolete: true
Attachment #9548827 - Attachment description: Bug 1946946 - Linux: implement different tray icons dependending on whether new/unread mail is present with unified badge creation implementation r=#thunderbird-back-end-reviewers → Bug 1946946 - Linux: implement different tray icons dependending on whether new/unread mail is present with unified badge creation implementation
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: