Bug 480795 - Changing layer for layer-shell views does not take effect until a stacking order change
Summary: Changing layer for layer-shell views does not take effect until a stacking or...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.24.7
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-03 18:54 UTC by dkondor
Modified: 2024-02-03 19:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dkondor 2024-02-03 18:54:24 UTC
SUMMARY
This applies to clients using the `wlr-layer-shell` protocol. The issue is easily demonstrated e.g. with the [gtk-layer-shell example](https://github.com/wmww/gtk-layer-shell).


STEPS TO REPRODUCE
1. Create a layer-shell surface on some layer (e.g. top)
2. Change the layer (i.e. `zwlr_layer_surface_v1::set_layer`) to something else (e.g. bottom)
3. commit

OBSERVED RESULT
No change: the surface stay on the original layer. Clicking on / activating any open view will make the change actually take effect.

EXPECTED RESULT
The surface is moved to its new layer immediately (when commiting)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 22.04
(available in About System)
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2024-02-03 19:34:12 UTC
Thank you for the bug report!

However Plasma 5.24.7 is no longer eligible for support or maintenance from KDE; supported versions are 5.27, and 5.27 or newer. Please upgrade to a supported version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.

If you need support for Plasma 5.24.7, please contact your distribution, who bears the responsibility of providing support for older releases that are no longer supported by KDE.

If you can reproduce the issue after upgrading to a supported version, feel free to re-open this bug report.