! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfdesktop using 100% of core if icon is selected on desktop


Description bbarbulovski@gmail.com 2019-08-07 14:24:34 CEST
If I select icon(or more) on desktop xfdesktop will use 100% of a core(~36% total on i3-3220).
Comment 1 bbarbulovski@gmail.com 2019-08-07 14:25:45 CEST
Created attachment 8852 
strace of xfdesktop while consuming 100% of cpu core(icon is selected)
Comment 2 bbarbulovski@gmail.com 2019-08-07 14:28:31 CEST
Created attachment 8853 
strace with stacktrace of xfdesktop while consuming 100% of cpu core(icon is selected)
Comment 3 Andre Miranda editbugs 2019-08-07 14:57:34 CEST
Did you notice this issue with previous releases? If not, are you able to bisect?
A random guess: can please you also try another theme?
Comment 4 bbarbulovski@gmail.com 2019-08-07 15:13:05 CEST
Do not noticed on older version, but the issue appears to be theme related.

If I go to Settings Manager -> Appearance -> Style, issue is only shown on Adapta-Eta-Maia, Adapta-Maia, Adapta-Nokto-Eta-Maia, Adapta-Nokto-Maia.

Other styles are not affected, thus ok.
Comment 5 Andre Miranda editbugs 2019-08-11 04:10:46 CEST
I tried that theme ( from Arch Linux repository), it not as ugly as reported, my CPU goes up to 7% when icons are selected.
From the stacktrace, I saw many occurrences of xfce_desktop_get_cycle_backdrop, I thought that the Next Background option introduced in 4.13.5 could be the culprit, but with 4.13.4 I get the same increased CPU usage.

Well, I will let this bug open, but I don't think this is an xfdesktop bug, instead it's a theme bug. Even the panel looks weird here with Adapta, it's like there is an 1px transparent border.
Comment 6 bbarbulovski@gmail.com 2019-08-11 15:52:00 CEST
Andre, what  CPU you have? If 8 core/16 thread one, than can be down to 7% of total CPU usage.

As far as saw(on my desktop), xfdesktop process consumes whole cpu thread.

I will try to contact some Adapta theme dev to see if we can fix this issue.
Comment 7 Andre Miranda editbugs 2019-08-11 16:11:16 CEST
(In reply to bbarbulovski@gmail.com from comment #6)
> Andre, what  CPU you have? If 8 core/16 thread one, than can be down to 7%
> of total CPU usage.
i5-4210U, 2 cores / 4 threads.
Comment 8 Theo Linkspfeifer editbugs 2019-10-05 12:00:13 CEST
Were you able to contact the Adapta theme dev(s)?
Comment 9 bbarbulovski@gmail.com 2019-10-06 19:35:18 CEST
no, but in process of getting to contact one(Tista - https://github.com/tista500)
Comment 10 Theo Linkspfeifer editbugs 2019-12-08 19:04:32 CET
*** Bug 16258 has been marked as a duplicate of this bug. ***
Comment 11 ToZ editbugs 2019-12-11 01:42:14 CET
Some more information, including a workaround, at this forum thread: https://forum.xfce.org/viewtopic.php?pid=55613.

Not sure what the cause is, but setting the active icon background to transparent seems to bypass the issue.
Comment 12 Git Bot editbugs 2020-05-26 00:33:28 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfdesktop/-/issues/51.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #15793

Reported by:
Reported on: 2019-08-07
Last modified on: 2020-05-26
Duplicates (1):
  • 16258 High CPU usage when icon selected


Xfce Bug Triage
CC List:
5 users




Additional information