Bug 484600 - Committed state is lost when subsurface is destroyed.
Summary: Committed state is lost when subsurface is destroyed.
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.0.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-27 13:43 UTC by ju.orth
Modified: 2025-10-28 19:56 UTC (History)
1 user (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 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?