Bug 399298 - Switching between activities causes Plasma to freeze momentarily
Summary: Switching between activities causes Plasma to freeze momentarily
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Activity Switcher sidebar (show other bugs)
Version: master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Ivan Čukić
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-10-02 05:18 UTC by Conor K
Modified: 2022-07-25 04:36 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Journalctl -f snippets (6.36 KB, text/x-log)
2018-10-02 05:18 UTC, Conor K
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Conor K 2018-10-02 05:18:24 UTC
Created attachment 115358 [details]
Journalctl -f snippets

SUMMARY
Plasma intermittently freezes when switching between activities

STEPS TO REPRODUCE
1. Create at least one additional activity if one does not exist
2. Attempt to switch between them

OBSERVED RESULT
Plasma hangs, anywhere from ~.5s to ~5-10s

EXPECTED RESULT
Activities switcher should close after selecting new activity, or a reasonable length of time after stopping walking through activities.

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Log attached
Comment 1 Conor K 2018-10-02 21:44:00 UTC
More `journalctl -f` logs as before, with a couple extra with the system under slightly heavier load. Seemed to throw a few other errors as well, which makes me think the variation in amount of time the issue takes to resolve itself is related to that.

https://gist.github.com/KodiakIT/a205b19cdafa8c6a4a57ac397f96e2fc
Comment 2 David Edmundson 2018-10-02 21:50:17 UTC
stderr rarely indicates anything.

A perf log or a callgrind during the time will be the only useful thing.
Comment 3 Conor K 2018-10-02 22:23:33 UTC
(In reply to David Edmundson from comment #2)
> stderr rarely indicates anything.
> 
> A perf log or a callgrind during the time will be the only useful thing.

How exactly would I go about finding/generating these logs? This issue is fairly irritating, consistent, and easily reproducible so I'd be more than happy to provide them, if I knew precisely how.
Comment 4 David Edmundson 2018-10-02 22:53:33 UTC
First things first, lets define what "plasma hangs" means.

When it's hanging:

Can you move the mouse? 
Can you move windows?
Can you right click on the desktop and get a menu?
Comment 5 Conor K 2018-10-02 23:31:23 UTC
(In reply to David Edmundson from comment #4)
> First things first, lets define what "plasma hangs" means.
> 
> When it's hanging:
> 
> Can you move the mouse? 
> Can you move windows?
> Can you right click on the desktop and get a menu?

Yes, yes, and no (at least not right away). I can interact with other applications like yakuake and my browser just fine, as well as switch virtual desktops via keybinds with Kwin, but not when using the desktop pager in the panel.

Disabling file indexing as a user in the KDE IRC channel suggested seems to mitigate the issue, so perhaps I've chosen the wrong component to attach this to? However that said I only noticed this occurring when switching activities, so I'll defer to your judgement on that.
Comment 6 Andrew Crouthamel 2018-10-21 05:04:18 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Christoph Feck 2018-10-30 12:03:38 UTC
More information was provided with comment #5. Changing status for inspection.
Comment 8 Nate Graham 2022-06-25 19:13:37 UTC
A lot has changed since this bug was filed. Is it still reproducible for you in Plasma 5.24 (the latest LTS version) or 5.25 (the latest version, period)?
Comment 9 Bug Janitor Service 2022-07-10 04:37:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2022-07-25 04:36:40 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!