Bug 354656

Summary: Plasma tooltips are sluggish
Product: [Plasma] plasmashell Reporter: Lastique <andysem>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: bshah, notuxius, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.4.2   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Lastique 2015-10-31 21:27:33 UTC
Plasma tooltips that are shown when the mouse hovers over a panel elements such as icons and system tray are slow and consume too much CPU. I can see that the frame rate at which these tooltips are updated is lower than the rest of the desktop compositing.

I can occasionally observe that the tooltip appear with a noticeable delay (up to several seconds), even after I moved the mouse away from the element, and in those cases the tooltip does not disappear until I move the mouse back to the element. This is very annoying.

In contrast to that, the tooltips that appear in applications (e.g. in KDE System Settings) are much swifter. Other animations, such as moving windows around, is also quite responsive.


Reproducible: Always

Steps to Reproduce:
1. Create a panel with 15-20 application launching icons on it. You can also have a system tray on it as well.
2. Try to move the mouse over the icons. Keep moving as the tooltips with application names start to appear.
3. Observe the CPU load and interface sluggishness.

The hanging tooltips typically appear in the every day work, when you quickly move the mouse to an icon to start the application and then move the mouse away. The tooltip appears with a delay and keeps hanging.

The problem appears even if no applications are running and CPU is pretty much idle, so this is not a resource shortage issue.


Expected Results:  
The performance should be much better, the interface should be as swift as the normal tooltips in applications. I would accept an option to replace all Plasma tooltips with normal tooltips.

Kubuntu 15.10, x86_64, Nvidia drivers 355.11. Core i7 2600K, GTX980, 16 GiB RAM, no swap.
Comment 1 Alexander Mentyu 2017-11-29 06:18:50 UTC
Although i can see some increasing in CPU usage upon crazy vast hovering over various windows, widgets and tray icons - tooltips always stay responsive

Distribution: KDE neon Developer Edition - Stable Branches
Plasma: 5.11.3
Frameworks: 5.41.0
Qt: 5.9.2
Kernel 4.10.0-40-generic
Type: 64-bit
Comment 2 Lastique 2017-11-29 07:39:28 UTC
Yes, things have improved since this report. I can no longer see hanging tooltips  (which was my primary concern) and their rendering seems faster in Kubuntu 17.10. They do consume quite a lot of CPU though.