When restarting kwin (no X restart, the rest of the desktop keeps running), e.g. via kwin --replace or after it crashed, the information on which activity a window is placed gets lost. All windows are set to be on all activities. And then sorting out all windows and set the correct activities again is a tedious job. I know this is nothing that should ever happen, but in reality it does. And handling this more gracefully would make even Kwin bugs more pleasant ;) Reproducible: Always Steps to Reproduce: 1. Have windows on different activities, but not set to "All Activities" 2. kwin --replace 3. Actual Results: All windows are set to be on "All Activities". Expected Results: Windows should stay on the respective activities where were before the restart.
other related observations when restarting kwin: - often windows get shifted down a bit and partly disappear behind panel/screen edge (the amount could the hight of the decoration) - maximized state is lost (geometry is kept, just the information that it's maximized gets lost)
Created attachment 75548 [details] activities management script can you provide the output of xprop | grep _KDE_NET_WM_ACTIVITIES of such window and activities l (using the attached script)
$ bash ~/Download/activities.sh l 32304875-8d67-46b1-a503-37609df4c02c ("Internet") : 2 ------------------------------------------- a922244c-31a8-4c68-bf65-e13972a21086 ("Development") : 2 ------------------------------------------- b05ea9cc-3ec6-4068-8a07-8e1540f6498a ("Allgemein") : 2 ------------------------------------------- Assigned the Kontact window to activity "Internet": $ xprop | grep _KDE_NET_WM_ACTIVITIES _KDE_NET_WM_ACTIVITIES(STRING) = "32304875-8d67-46b1-a503-37609df4c02c" Restarted kwin: $ kwin --replace Kontact window assigned to all activities: $ xprop | grep _KDE_NET_WM_ACTIVITIES _KDE_NET_WM_ACTIVITIES(STRING) = "ALL"
Still present in KDE 4.10.2
Any news on this one? A few days ago kwin crash twice for me and I had to sort out like 70+ windows to their respective activities using this cumbersome context menu... no fun :)
*** Bug 335088 has been marked as a duplicate of this bug. ***
This issue report is quite old. Can you please confirm, that it still persists with KDE 5.23?
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!
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!