100% CPU when the History or Wallpaper Selector panels are open
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Variety |
Fix Released
|
Medium
|
James Lu | ||
variety (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned | ||
Yakkety |
Won't Fix
|
Undecided
|
Unassigned | ||
Zesty |
Fix Committed
|
Undecided
|
Unassigned | ||
Artful |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Version:0.5.4
DE:Cinnamon 2.6.13
OS:Linux Mint 17.2
When you chnage the backgroud in the history panel or scroll in it the CPU utilisation goes up to 100% and stay there.
I need to close the panel and reopen it to restore the utilisation back to normal.
The problem seem also to be in the download history panel and the selection of background too.
----
Below is the SRU information by James Lu (https:/
[Impact]
* The autoscroll feature in Variety's Wallpaper Selector dialog before commit https:/
* Although this bug doesn't cause any serious damage, pegging a machine's CPU is quite annoying and users will notice whirring fans and reduced battery life as a result.
* The proposed fix adds a missing line to clear the autoscroll state when leaving the wallpaper selector. This way, the code in _autoscroll_
[Test Case]
1) Select one or more wallpaper sources so that in the Wallpaper Selector, scrolling is needed to show all items.
2) Open the wallpaper selector, either by focusing on a wallpaper source in the preferences dialog, or by choosing the "Wallpaper Selector" option in Variety's tray menu.
3) Move the mouse over any of the images in the wallpaper selector.
4) Move the mouse away from the wallpaper selector. A CPU spike in Variety should appear now.
- Note that this CPU spike is different from any initial CPU spikes when the wallpaper selector first opens, as that is due to Variety generating all the thumbnails on the spot. The CPU spike mentioned in this bug lasts as long as the wallpaper selector is open and the mouse is not over it, while the initial spikes are temporary (they always last less than 5 seconds for me)
[Regression Potential]
* This patch affects the autoscroll portion of the wallpaper selector. Should this patch be erroneous, some symptoms could include autoscroll or the entire wallpaper selector not working entirely.
* Syntax or variable name errors will, on the other hand, raise Python exceptions and possibly cause Variety to fail to start entirely.
[Other Info]
* The original patch fixing this bug was included in Debian release 0.6.3-5, which has been in Debian stretch for about 2 months and artful for a similar time (I don't remember the exact date of the relevant sync). No new bugs related to this issue have been opened since in Debian and Ubuntu.
Changed in variety: | |
assignee: | nobody → James Lu (tacocat) |
Changed in variety: | |
status: | Triaged → Fix Committed |
Changed in variety (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
description: | updated |
Changed in variety (Ubuntu Yakkety): | |
status: | Incomplete → Won't Fix |
Changed in variety: | |
status: | Fix Committed → Fix Released |
milestone: | none → 0.6.5 |
Linux Mint 18.1 x64 Mate-Edition
Window Manager Marco
Same Problem here.
If the mouse is on the pictures, everything is fine.
If i put the mouse outside of the pictures, my CPU is on rampage and eats little children.