Bug 411757

Summary: Window decoration says "Not responding..." on Wayland while the spinner rotates in "Updates" page
Product: [Plasma] kwin Reporter: Patrick Silva <bugseforuns>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aleixpol, kde, nate
Priority: NOR    
Version: 5.16.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Silva 2019-09-09 14:26:21 UTC
STEPS TO REPRODUCE
1. start Wayland session
2. when updates are available, open Discover by clicking on the updates notification or on the update notifier icon in systray
3. 

OBSERVED RESULT
while the spinner rotates in the "Updates" page, the window decoration says "Not responding..." and Discover window is desatured.

EXPECTED RESULT
window decoration never says "Not responding..." and Discover window is not desatured
while the spinner rotates.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.1
Comment 1 Patrick Silva 2019-09-10 17:54:53 UTC
To reproduce this issue, you need to switch between Discover and another window running natively on Wayland while the spinner rotates.

STEPS TO REPRODUCE
1. start Wayland session
2. when updates are available, open an app that runs natively on Wayland (let's say Dolphin) and open Discover by clicking on the updates notification or on the update notifier icon in systray and
3. while the spinner rotates in "Updates" page, switch between Discover and Dolphin a few times by pressing alt+tab

OBSERVED RESULT
At some point, the window decoration says "Not responding..." and Discover window becomes desatured despite the spinner is still rotating.
Comment 2 Kai Uwe Broulik 2019-09-16 06:44:42 UTC
The spinner is animated on the renderer thread and as such can continue to spin even if the main thread is frozen.
Comment 3 Aleix Pol 2019-10-09 15:42:58 UTC
I've seen kwin setting applications as not responding while they actually are, this is something that needs to be dealt with there.
Comment 4 Patrick Silva 2019-10-09 23:34:46 UTC
duplicate of bug 399021?
Comment 5 Aleix Pol 2019-10-10 00:07:16 UTC
Thanks

*** This bug has been marked as a duplicate of bug 399021 ***