Please add another icon name for tray icon (use from icon theme). For example - trojita-panel. For KDE and other DE use mostly monochrome icons for tray. Also will be good if you add notification with libnotify.
Or another way - add support integrate to plasmashell. For example kmail, cantata and others apps use tray icon plasma desktop theme.
Just FYI, the icon is being loaded through a theme-aware lookup already, so if -- for example -- the Breeze icon theme starts including an appropriate themed icon, it will be automatically used. But I can see that it makes sense to use a slightly different icon for the tray. I won't have time for this "soon", so if you can make a change, please go for it. A correct place for changing the icon is MainWindow::handleTrayIconChange in src/Gui/Window.cpp; the icons are defined in src/icons.qrc. Regarding a proper notification system, sure -- that will (eventually) come in future. Help is appreciated.
Sorry, but i'm not programmer. Need only another icon name for tray (this solution universal for all DE). I think it's easy doing :) Desktop icon = trojita Tray icon = trojita-panel All tray icons on Plasma monochrome (it's Breeze default style)
QSystemTray icon should use SNI on plasma anyway (through QPA), but I'm not sure in how far you can override the try icon with the theme (which would be the one and only reasonable approach for it makes zero sense to provide a black systrayicon if you're using a black panel)
Created attachment 102074 [details] plasma5 + trojita If icon not hardcoded any designer or developer can create white and black icons on icon theme. Now for tray use desktop icon - it's spoil style! You really like this icon on tray?
You're missing the point: the palsmashell theme should be able to override the icon. The icon is not hardcoded since QSystemtrayIcon should really be using SNI, by what only the icon name is transferred and not a window of the application be embedded. The theme author /can/ override the icon.
Created attachment 102075 [details] icon tray Ok, i'm create new icon on plasmashell desktop theme (NOT icon theme) - but this not working!!! See attached file. Note - this default Breeze Plasma desktop theme and icons apply for kopete, konversation and etc from plasma desktop theme. Trojita - it's part KDE software. Why icon not apply from plasma desktop theme? Why for actions icons you use Breeze style, but for tray use your style? You don't know this?: https://techbase.kde.org/Development/Tutorials/Plasma5/ThemeDetails#Theming_Application_Icons_in_the_Systemtray
Personally, I'm out for the OPs manners.
Also on Breeze plasma desktop theme already available icons for mail applications. It's mail.svgz, contained 2 icons - "mail-unread" and "mail-unread-new"
Sorry for my rudeness and perseverance ... I'm bad know English and i'm maybe not understand you correctly.
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!