Bug 354820

Summary: KMail2 Tray icon doesn't match Breeze icon theme
Product: [Plasma] Breeze Reporter: Michael D <nortexoid>
Component: IconsAssignee: visual-design
Status: RESOLVED FIXED    
Severity: normal CC: aboris, andreas_k, d.himler, hugo.pereira.da.costa, kainz.a, kde, kde, oleksandr, virgolus
Priority: NOR    
Version: 5.4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Shows the KMail2 icon
Shows KMail2 tray icon with Papirus icon theme
Kmail hover icon

Description Michael D 2015-11-04 08:08:16 UTC
The KMail2 tray icon for new messages uses the old Oxygen icon. There should be a monochrome icon for the Breeze plasma theme to fit with other Tray elements like the Audio Volume indicator.

Reproducible: Always

Steps to Reproduce:
1. Open Kmail
2. Enable System Tray icon
3. Get a new email on a folder that Kmail is set to act on new messages

Actual Results:  
Oxygen tray icon appears indicating new mail

Expected Results:  
A different, Breeze-fitting icon appears indicating new mail
Comment 1 Uri Herrera 2015-11-14 10:11:09 UTC
Can you add a screenshot?
Comment 2 Michael D 2015-11-14 11:27:54 UTC
Created attachment 95491 [details]
Shows the KMail2 icon
Comment 3 andreas_k 2015-11-14 11:29:06 UTC
As fare as I know from the past this icon is hardcoded but I'm not 100% sure.
Comment 4 Uri Herrera 2015-11-14 11:35:43 UTC
If it's not in Oxygen and it's not in the Plasma theme (Oxygen) it's likely that it's coming from the application which means that even if we add it to the icon theme it won't show up unless it's change din the application.
Comment 5 Michael D 2015-11-14 12:40:34 UTC
Created attachment 95492 [details]
Shows KMail2 tray icon with Papirus icon theme

It's definitely not hardcoded as you can see from the attached photo. The plasma theme is still Breeze but the icon theme is Papirus and the tray icon reflects that.
Comment 6 andreas_k 2015-11-14 12:43:03 UTC
Thanks I will have a look and fix the issue asap
Comment 7 andreas_k 2015-11-17 08:32:21 UTC
sorry it's not that easy to find the right icon name. you use the plasma breeze theme and the papirus icons isn't it?
Comment 8 Michael D 2015-11-17 09:54:36 UTC
That's right concerning the second attachment. Plasma theme: breeze. Icon theme: papirus. I installed the papirus icon theme for Kubuntu using the instructions on http://kde-look.org/content/show.php/Papirus+icon+theme?content=169962, i.e. via the ppa.
Comment 9 Ezio Vergine 2015-11-20 00:29:49 UTC
Same issue, still on kde 5.5
Comment 10 Ezio Vergine 2015-11-20 00:32:31 UTC
Created attachment 95607 [details]
Kmail hover icon
Comment 11 Ezio Vergine 2015-11-20 00:33:35 UTC
Also the icon in the hover popup is incorrect, see attachment on previous comment.
Comment 12 Michael D 2016-01-04 15:13:34 UTC
Ezio, that's the right icon on hover. The task manager doesn't use the correct icon, though, which is why you might see a different icon there. The task switcher uses the right icon but it doesn't scale it properly (e.g. if you use the large icons mode). Lots of funky stuff happening with the icons for KMail2.
Comment 13 andreas 2016-06-27 12:49:49 UTC
(In reply to Ezio Vergine from comment #10)
> Created attachment 95607 [details]
> Kmail hover icon

Hi at this screenshot it work's correct as I don't have kmail, does it work now correct in breeze or did you need an icon?
Comment 14 Michael D 2016-11-10 09:48:26 UTC
Sorry for not having responded months ago, but the icon situation is still not ideal. When using the default Breeze icons, color scheme and desktop theme, everything works. When switching to the Breeze Dark desktop theme (keeping the icon and color scheme on default Breeze), the Breeze Light icon is used *only* when the new mail overlay is shown. This results in an unreadable black icon on a black background.
Comment 15 Michael D 2016-11-10 09:50:00 UTC
I should also mention that the icon with overlay for new messages is blurry and lighter than the other icons. Perhaps that's not preventable?
Comment 16 andreas 2016-11-10 10:27:48 UTC
in general I'm not sure if it's "only" a breeze issue. It would be easier to solve this problem together with the kmail team.
Comment 17 andreas 2017-02-05 23:46:19 UTC
any update cause I didn't use KMail
Comment 18 Michael D 2017-02-06 09:07:04 UTC
The bug still persists, and as I described in comment 14. I'm using breeze icons and the breeze dark desktop theme. If new mail arrives, all I see is a black area where the icon is, presumably because the icon is black. When there's no new mail, the icon is white and readable. This is on Plasma 5.9.
Comment 19 Oleksandr Natalenko 2017-05-20 08:31:17 UTC
Confirming this with KMail 5.5.1, Arch Linux and Breeze Dark theme.
Comment 20 Oleksandr Natalenko 2017-12-18 10:06:25 UTC
Looks like it is fixed now with latest updates installed:

Name            : kmail
Version         : 17.12.0-1
Comment 21 Christoph Feck 2018-01-01 17:56:20 UTC
Michael, can you confirm?
Comment 22 Michael D 2018-01-01 20:12:43 UTC
Working here. Breeze dark is showing the correct icon on new mail.
Comment 23 Kai Uwe Broulik 2018-01-04 17:06:08 UTC
Works here.