Bug 484600

Summary: Committed state is lost when subsurface is destroyed.
Product: [Plasma] kwin Reporter: ju.orth
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: xaver.hugl
Priority: NOR    
Version First Reported In: 6.0.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ju.orth 2024-03-27 13:43:50 UTC
Consider the following sync tree: A parent of B parent of C

And the following sequence of requests:

- Modify C (X)
- Commit C
- Destroy subsurface(C)
- Attach C to A
- Commit C

The changes in (X) are lost and never applied even by subsequent commits of all of A, B, and C.
Comment 1 Zamundaaa 2025-10-17 11:09:58 UTC
Reading the current code in KWin 6.5, it seems like this should work correctly. Do you have some (test) client that shows this being broken?