Bug 365240 - kde.systemtray floods .xsession-errors with messages if Thunderbird is running
Summary: kde.systemtray floods .xsession-errors with messages if Thunderbird is running
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.7.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-08 14:59 UTC by Vadym Krevs
Modified: 2016-12-03 00:03 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadym Krevs 2016-07-08 14:59:51 UTC
openSUSE 42.1 Leap + latest plasma 5.7 rpms from obs

My .xsession-errors file is 187Mb on disk and is full of identical messages produced by kde.systemtray:
$ grep kde.systemtray  .xsession-errors-:0  | wc -l
942654

Each message is the same:
kde.systemtray: Wrong IconThemePath "/home/vadymk/.thunderbird/rbq2qyhj.default/extensions/{9533f794-00b4-4354-aa15-c2bbda6989f8}/chrome/skin/icons/linux" : too short or does not end with 'icons'


Reproducible: Always

Steps to Reproduce:
1. Install and run Thunderbird 
2. do a tail -f on .xsession-errors.
3.

Actual Results:  
.xsession-errors is flooded with identical messages

Expected Results:  
The message is logged once per thunderbird startup.
Comment 1 Julien Barnier 2016-07-17 21:38:16 UTC
Same thing here with Plasma 5.7.1, KDE Neon user edition...
Comment 2 Marco Martin 2016-08-16 12:18:12 UTC
is the icon actually visible?
Comment 3 Marco Martin 2016-08-16 12:20:39 UTC
perhaps all icon paths should be accepted as some applications don't seem to have the expected path name (ending with /icons)
Comment 4 Vadym Krevs 2016-08-16 12:29:43 UTC
(In reply to Marco Martin from comment #2)
> is the icon actually visible?

yes
Comment 5 Raman Gupta 2016-08-28 00:52:19 UTC
Running Fedora 23, KDE Plasma 5.7.3...

Same issue with pidgin, every second or so in the logs:

kde.systemtray: Wrong IconThemePath "/usr/share/pixmaps/pidgin/tray" : too short or does not end with 'icons'
kde.systemtray: Wrong IconThemePath "/usr/share/pixmaps/pidgin/tray" : too short or does not end with 'icons'
kde.systemtray: Wrong IconThemePath "/usr/share/pixmaps/pidgin/tray" : too short or does not end with 'icons'
kde.systemtray: Wrong IconThemePath "/usr/share/pixmaps/pidgin/tray" : too short or does not end with 'icons'
kde.systemtray: Wrong IconThemePath "/usr/share/pixmaps/pidgin/tray" : too short or does not end with 'icons'

And also every second or so:

kde.systemtray: Wrong IconThemePath "/home/raman/.local/share/icons:/home/raman/.icons:/usr/share/kde-settings/kde-profile/default/share/icons:/usr/local/share/icons:/usr/share/icons:/usr/share/kde-settings/kde-profile/default/share/pixmaps:/usr/local/share/pixmaps:/usr/share/pixmaps" : too short or does not end with 'icons'
kde.systemtray: Wrong IconThemePath "/home/raman/.local/share/icons:/home/raman/.icons:/usr/share/kde-settings/kde-profile/default/share/icons:/usr/local/share/icons:/usr/share/icons:/usr/share/kde-settings/kde-profile/default/share/pixmaps:/usr/local/share/pixmaps:/usr/share/pixmaps" : too short or does not end with 'icons'
kde.systemtray: Wrong IconThemePath "/home/raman/.local/share/icons:/home/raman/.icons:/usr/share/kde-settings/kde-profile/default/share/icons:/usr/local/share/icons:/usr/share/icons:/usr/share/kde-settings/kde-profile/default/share/pixmaps:/usr/local/share/pixmaps:/usr/share/pixmaps" : too short or does not end with 'icons'
kde.systemtray: Wrong IconThemePath "/home/raman/.local/share/icons:/home/raman/.icons:/usr/share/kde-settings/kde-profile/default/share/icons:/usr/local/share/icons:/usr/share/icons:/usr/share/kde-settings/kde-profile/default/share/pixmaps:/usr/local/share/pixmaps:/usr/share/pixmaps" : too short or does not end with 'icons'
kde.systemtray: Wrong IconThemePath "/home/raman/.local/share/icons:/home/raman/.icons:/usr/share/kde-settings/kde-profile/default/share/icons:/usr/local/share/icons:/usr/share/icons:/usr/share/kde-settings/kde-profile/default/share/pixmaps:/usr/local/share/pixmaps:/usr/share/pixmaps" : too short or does not end with 'icons'
Comment 6 Raman Gupta 2016-08-28 00:54:20 UTC
638 MB taken up on just these messages:

~ grep kde.systemtray  .xsession-errors  | wc -c
638312564

~ grep kde.systemtray  .xsession-errors  | wc -l
2921024
Comment 7 Antonio Orefice 2016-09-01 13:41:45 UTC
Same with steam.
I manually restart plasmashell in a terminal that way:
kquitapp plasmashell ; sleep 1 ;  plasmashell &>/dev/null &
Comment 8 Marco Martin 2016-09-21 11:40:39 UTC
is the systray icon done with https://addons.mozilla.org/it/thunderbird/addon/firetray/ ?
Comment 9 Raman Gupta 2016-09-21 21:15:54 UTC
(In reply to Marco Martin from comment #8)
> is the systray icon done with
> https://addons.mozilla.org/it/thunderbird/addon/firetray/ ?

I guess you were asking the OP but FYI not in my case. Thunderbird not related at all.
Comment 10 Vadym Krevs 2016-09-22 08:16:26 UTC
(In reply to Marco Martin from comment #8)
> is the systray icon done with
> https://addons.mozilla.org/it/thunderbird/addon/firetray/ ?

Yes.
Comment 11 Jasem Mutlaq 2016-10-30 06:08:30 UTC
My log is getting flooded with:

kde.systemtray: Wrong IconThemePath "/home/jasem/.dropbox-dist/dropbox-lnx.x86_64-13.4.21/images" : too short or does not end with 'icons'
kde.systemtray: Wrong IconThemePath "/home/jasem/.dropbox-dist/dropbox-lnx.x86_64-13.4.21/images" : too short or does not end with 'icons'

Is there anyway to fix that? any workaround?
Comment 12 S. Christian Collins 2016-10-30 16:42:55 UTC
This seems to be triggered in spades by animated system tray icons. For example, qjackctl creates a system tray icon that continuously animates after an xrun has occured. This also causes plasmashell to print a flood of the following message into the terminal:
kde.systemtray: Wrong IconThemePath "/home/chris/.dropbox-dist/dropbox-lnx.x86_64-13.4.21/images" : too short or does not end with 'icons'

Killing dropbox removes its icon and prevents these messages from occurring.

I wonder if this bug is at all related to bug #371844? It seems like some process is being run with each icon animation frame, possibly chewing up a lot of resources.
Comment 13 S. Christian Collins 2016-10-30 16:44:43 UTC
My system info, in case it's useful:
 . OS: KDE Neon 5.8.2 64-bit (Plasma Desktop 5.8.2, KDE Frameworks 5.27.0, Qt 5.7.0)
 . PC: HP Pavilion m6-1035dx
 . CPU/GPU: AMD A10-4600M APU with Radeon HD 7660G Graphics (using xorg radeon driver)
 . RAM: 6GB DDR3 800 MHz
 . Linux Kernel: 4.4.0.45-generic
Comment 14 David Edmundson 2016-10-30 21:23:25 UTC
This won't happen in 5.9