Bug 503006

Summary: after suspend, login activation takes a long time, and sidebar hangs. has to be reset
Product: [Plasma] plasmashell Reporter: rens <rens.groenewegen>
Component: Activity Switcher sidebarAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: fkrueger, ivan.cukic
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description rens 2025-04-19 08:46:53 UTC
SUMMARY
after suspend it takes many seconds before login prompt activates
when logged in, the activity switch sidebar is frozen ( the cpu widget normally is active, but is now frozen )
nothing responds. open windows of applications still work, but overlapping windows are not being handled by the window manager

STEPS TO REPRODUCE
1. suspend system
2. wake it up (keyboard press or power button )
3. notice unresponsiveness of act. switcher

OBSERVED RESULT
activitity switcher frozen

has to be reset with : 
open a terminal : I have keyboard custom shortcut, ctrl-win-alt + k , it starts a konsole window.
_____________________
$ killall plasmashell
$ kstart5 plasmashell
_____________________


EXPECTED RESULT

activity switcher should function as it used to do
SOFTWARE/OS VERSIONS

Operating System: openSUSE Leap 15.6
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.4.0-150600.23.47-default (64-bit)
Graphics Platform: offscreen
Processors: 12 x AMD Ryzen 5 5600 6-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1650/PCIe/SSE2

ADDITIONAL INFORMATION
this started after updating  to opensuse 15.6
I also started using brave browser, some weeks before the update. No issues noticed (just saying. its the only major change I remember )
Comment 1 rens 2025-04-21 00:09:40 UTC
correction : the window manager does handle windows, one can move them around, their appearance  does not get destroyed by each other.
you can switch with alt - tab
but not with the activity bar, since it is frozen.
Comment 2 rens 2025-04-25 01:43:41 UTC
please check attached part of /var/log/messages 

it is the logging from finished awake from sleep until I start my xreplasma  script to get the taskbar working again.


2025-04-25T03:23:41.827815+02:00 dep8 systemd[1]: Finished System Suspend.
2025-04-25T03:23:41.827976+02:00 dep8 systemd[1]: systemd-suspend.service: Consumed 1.018s CPU time.
2025-04-25T03:23:41.828326+02:00 dep8 systemd[1]: Stopped target Sleep.
2025-04-25T03:23:41.828428+02:00 dep8 systemd[1]: Reached target Suspend.
2025-04-25T03:23:41.829828+02:00 dep8 systemd-logind[1272]: Operation 'sleep' finished.
2025-04-25T03:23:41.830279+02:00 dep8 ModemManager[1273]: <info>  [sleep-monitor-systemd] system is resuming
2025-04-25T03:23:41.872197+02:00 dep8 systemd[1]: Starting NVIDIA system resume actions...
2025-04-25T03:23:41.872552+02:00 dep8 systemd[1]: Stopped target Suspend.
2025-04-25T03:23:41.873840+02:00 dep8 suspend: nvidia-resume.service
2025-04-25T03:23:41.873875+02:00 dep8 logger[28520]: <13>Apr 25 03:23:41 suspend: nvidia-resume.service
2025-04-25T03:23:41.877445+02:00 dep8 systemd[1]: nvidia-resume.service: Deactivated successfully.
2025-04-25T03:23:41.896029+02:00 dep8 systemd[1]: Finished NVIDIA system resume actions.
greet :
2025-04-25T03:23:42.743175+02:00 dep8 kscreenlocker_greet[27871]: qt.virtualkeyboard.hunspell: Hunspell dictionary is missing for "en_GB" . Search paths ("/usr/share/qt5/qtvirtualkeyboard/hunspell", "/usr/share/hunspell", "/usr/share/myspell/dicts")
2025-04-25T03:23:42.743273+02:00 dep8 kscreenlocker_greet[27871]: qt.virtualkeyboard.hunspell: Hunspell dictionary is missing for "en_GB" . Search paths ("/usr/share/qt5/qtvirtualkeyboard/hunspell", "/usr/share/hunspell", "/usr/share/myspell/dicts")

device what ???
2025-04-25T03:23:44.362479+02:00 dep8 ModemManager[1273]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.2/0000:02:02.0/0000:04:00.0': not supported by any plugin
2025-04-25T03:23:44.362553+02:00 dep8 ModemManager[1273]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.2/0000:02:09.0/0000:07:00.0': not supported by any plugin

2025-04-25T03:23:48.134614+02:00 dep8 kcminit[28530]: Qt: Session management error: None of the authentication protocols specified are supported
2025-04-25T03:23:48.160788+02:00 dep8 kcminit[28530]: Initializing  "/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
2025-04-25T03:23:48.178155+02:00 dep8 kcminit[28530]: Initializing  "/usr/lib64/qt5/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
2025-04-25T03:23:48.178189+02:00 dep8 kcminit[28530]: kcm_touchpad: Using X11 backend

++++++++++++++++takes an awful lot of time .. no touchpad on this desktop, by the way


2025-04-25T03:24:03.937217+02:00 dep8 kscreenlocker_greet: pam_kwallet5(kde:auth): pam_kwallet5: pam_sm_authenticate
2025-04-25T03:24:03.937327+02:00 dep8 kscreenlocker_greet: pam_kwallet5(kde:auth): pam_kwallet5: we were already executed
2025-04-25T03:24:19.000831+02:00 dep8 dbus-daemon[1139]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.3171' (uid=1000 pid=6793 comm="/usr/bin/plasmashell ")
2025-04-25T03:24:19.044207+02:00 dep8 systemd[1]: Starting PackageKit Daemon...
2025-04-25T03:24:19.047866+02:00 dep8 PackageKit: daemon start
2025-04-25T03:24:19.063099+02:00 dep8 dbus-daemon[1139]: [system] Successfully activated service 'org.freedesktop.PackageKit'
2025-04-25T03:24:19.063225+02:00 dep8 systemd[1]: Started PackageKit Daemon.
2025-04-25T03:24:28.201442+02:00 dep8 kscreenlocker_greet: pam_kwallet5(kde:setcred): pam_kwallet5: pam_sm_setcred
2025-04-25T03:24:33.416971+02:00 dep8 kwin_x11[3651]: kwin_core: XCB error: 3 (BadWindow), sequence: 22295, resource id: 50331670, major code: 129 (SHAPE), minor code: 6 (Input)
2025-04-25T03:24:39.439927+02:00 dep8 PackageKit: daemon quit
2025-04-25T03:24:39.456493+02:00 dep8 systemd[1]: packagekit.service: Deactivated successfully.
2025-04-25T03:24:53.031799+02:00 dep8 kded5[3650]: 

this is were I start my reset script ( xreplasma)
2025-04-25T03:24:53.059983+02:00 dep8 systemd[3478]: Started xreplasma.
Comment 3 rens 2025-04-25 01:54:15 UTC
furthermore:
top says kplasma eats a whole cpu. 100%

dolphin hangs, other tasks do not ( i can move them around normally )

restarting without dolphin results in kplasma returning to normal, after 2 or 3 minutes.
Comment 4 rens 2025-04-25 14:04:22 UTC
although... dolphin is not the cause. cannot reproduce that, even without any open apps the 
thing is still frozen / non responsive.
Comment 5 rens 2025-06-16 11:35:36 UTC
My config is separated: / for operating system, 
data etc is mounted on a separate filesystem. 

I installed a fresh opensuse 15.6 and linked my thunderbird, mozilla etc directories in my /home/user on / 
to my data filesystem.

the problem disappeared. apparently something in the root config caused the problem, since my user data did not change a single bit....

I think this bug needs to be closed. I still have the 15.5 install;  if anyone is interested, let me know.