Bug 509518 - Plasma Mobile's quicksettings panel (layershell window) visually is underneath apps that update their views constantly
Summary: Plasma Mobile's quicksettings panel (layershell window) visually is underneat...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-15 14:07 UTC by Devin Lin
Modified: 2025-12-03 02:41 UTC (History)
0 users

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 Devin Lin 2025-09-15 14:07:41 UTC
SUMMARY

Plasma Mobile's quicksettings panel visually opens underneath application windows that have their views constantly be updated

STEPS TO REPRODUCE
1. Launch Plasma Mobile in a window: dbus-run-session kwin_wayland "plasmashell -p org.kde.plasma.phoneshell"
2. Launch a browser (ex. firefox, chromium)
3. Play a video (youtube: https://www.youtube.com/watch?v=8Z1h6Z5AX3U)
4. Drag down from the status bar at the top of the screen

OBSERVED RESULT

The panel is below the window, but clicking events still go to the panel.

EXPECTED RESULT

The panel is shown above the window.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: master
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 6.9
Comment 1 Devin Lin 2025-09-15 14:30:58 UTC
Setting KWIN_USE_OVERLAYS=0 seems to fix the issue.
Comment 2 Bug Janitor Service 2025-09-19 13:26:35 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/8134
Comment 3 Zamundaaa 2025-10-01 14:26:31 UTC
Git commit 870af921829b87453e45b148244c98f9524cbfe6 by Xaver Hugl.
Committed on 01/10/2025 at 13:21.
Pushed by zamundaaa into branch 'master'.

backends/wayland: some fixes for overlays

This explicitly sets the stacking order of the subsurfaces, and maps pointer
positions from the subsurface to the output (which was ignored before).

M  +26   -1    src/backends/wayland/wayland_backend.cpp
M  +2    -0    src/backends/wayland/wayland_backend.h
M  +8    -3    src/backends/wayland/wayland_egl_backend.cpp
M  +4    -0    src/backends/wayland/wayland_layer.cpp
M  +1    -0    src/backends/wayland/wayland_layer.h

https://invent.kde.org/plasma/kwin/-/commit/870af921829b87453e45b148244c98f9524cbfe6
Comment 4 Devin Lin 2025-10-11 01:48:19 UTC
This still appears to be an issue, since we are coming up on the Plasma 6.5 release I think I might need to ship with KWIN_USE_OVERLAYS=0 to the Plasma Mobile startup script
Comment 5 Vlad Zahorodnii 2025-10-13 19:47:08 UTC
Git commit f9e209829a65d4c015dbcbd060e293e69f34b569 by Vlad Zahorodnii, on behalf of Xaver Hugl.
Committed on 13/10/2025 at 18:45.
Pushed by vladz into branch 'Plasma/6.5'.

backends/wayland: some fixes for overlays

This explicitly sets the stacking order of the subsurfaces, and maps pointer
positions from the subsurface to the output (which was ignored before).
(cherry picked from commit 870af921829b87453e45b148244c98f9524cbfe6)

M  +26   -1    src/backends/wayland/wayland_backend.cpp
M  +2    -0    src/backends/wayland/wayland_backend.h
M  +8    -3    src/backends/wayland/wayland_egl_backend.cpp
M  +4    -0    src/backends/wayland/wayland_layer.cpp
M  +1    -0    src/backends/wayland/wayland_layer.h

https://invent.kde.org/plasma/kwin/-/commit/f9e209829a65d4c015dbcbd060e293e69f34b569
Comment 6 Devin Lin 2025-12-03 02:41:05 UTC
This is still an issue on master kwin