Bug 375784

Summary: Panel fails to get clicks when user clicks too fast
Product: [Plasma] plasmashell Reporter: Gabriele Tozzi <bodom>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: notuxius
Priority: NOR    
Version: 5.7.5   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Gabriele Tozzi 2017-01-31 09:06:57 UTC
There is a part of the panel, the "task manager", where opened applications are shown. In this part, there is a button for every opened application.

By clicking a button, usually the related application gets focus on the desktop. But this does not always happen: there is a bug preventing this basic behaviour in some circumstances.

How to reproduce:
1. Have a slow system (artificially reduce CPU clocks, make the system busy, etc...)
2. When you move your mouse over a button in the panel, a small "preview" of the application is shown: it takes up to half a sec to render
3. Click on the button BEFORE the preview has been shown
4. The click gets ignored

In other words, if clicks come too fast to the applications buttons, some of them just end up being ignored. I am not talking about a click-spam but about real-world scenarios.

I would expect plasma to queue those clicks or even better to give them priority over different tasks (like preview rendering).
Comment 1 Alexander Mentyu 2018-03-02 12:56:20 UTC
Can't reproduce - is the issue still relevant for you?
Comment 2 Gabriele Tozzi 2018-03-02 14:57:55 UTC
The preview is now gone, so the issue.
Comment 3 Christoph Feck 2018-03-29 15:16:57 UTC
Thanks for the update; closing.