Bug 335088 - Crash causes loss of all session state. All windows get dumped into All Activities
Summary: Crash causes loss of all session state. All windows get dumped into All Activ...
Status: RESOLVED DUPLICATE of bug 310920
Alias: None
Product: kwin
Classification: Plasma
Component: activities (other bugs)
Version First Reported In: 4.11.9
Platform: Chakra Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 384938 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-20 14:28 UTC by Eric S
Modified: 2018-04-04 15:50 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric S 2014-05-20 14:28:23 UTC
Sometimes when kwin crashes,, when it starts up again ALL windows from ALL activities get dumped into All Activities. This is despite this info having persisted across over many days and across several system restarts, it just loses all activity session data. 

Reproducible: Sometimes

Actual Results:  
On restart of kwin all windows are in Al Activities

Expected Results:  
On restart of kwin each window should be assigned to the same activity or activities to which is was assigned before the crash.

This is extremely discouraging to someone trying to use activities to their fullest potential with many windows carefully sorted amongst different activitis. Kwin should guard against this happening. I assume it occurs if the crash occurs at a moment when it is saving this information to disk, perhaps corrupting it. This could be protectd against by always backin up and maintaining the last copy before rewriting it, ideally the last several copies.
Comment 1 Alexander Mentyu 2018-04-04 12:51:30 UTC
*** Bug 384938 has been marked as a duplicate of this bug. ***
Comment 2 Alexander Mentyu 2018-04-04 15:50:05 UTC

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