Add tests to ensure states are properly preserved between unmaps and remaps#404
Add tests to ensure states are properly preserved between unmaps and remaps#404tarek-y-ismail wants to merge 1 commit intomainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request adds comprehensive test coverage to verify that the SurfaceStateTracker in Mir properly preserves window states (restored, maximized, fullscreen) when surfaces are unmapped and then remapped. This is a follow-up to PR #4694 which fixed a bug where windows would incorrectly revert to the restored state after unmap/remap cycles.
Changes:
- Added five new test cases covering different state preservation scenarios during unmap/remap cycles
- Tests verify that restored, maximized, fullscreen, and combined states are maintained
- Includes a test for multiple consecutive unmap/remap cycles
2b17c67 to
0eb4593
Compare
0eb4593 to
5e24788
Compare
TICS Quality Gate✔️ PassedNo changed files applicable for TICS analysis quality gating. TICS / TICS / Run TICS analysis |
|
WLCS is not about testing details of Mir's current implementation. It is about testing the conformance of any Wayland compositor.
These tests may or may not be valid (I haven't looked), but this description is about a detail of Mir's implementation. Please rephrase to describe behaviour(s) mandated by Wayland |
|
Putting this aside for now until we settle on canonical/mir#4694 |
Follow up of canonical/mir#4694
Adds a bunch of tests to make sure
SurfaceStateTrackerproperly preserves surface states when surfaces are unmapped and then remapped.