You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On KDE Plasma under Wayland, my conky desktop widgets (own_window_type = 'desktop') disappear the moment I hit Meta+D (Show Desktop) — just like any normal window. On X11 the same config stays on screen like wallpaper. The widget is mounted on the background layer, but KWin still classifies it as a normal window.
Reproduction
Run conky with own_window_type = 'desktop' on KDE Plasma Wayland.
Press Meta+D.
The widget vanishes with all the normal windows.
On X11 the same config produces _NET_WM_WINDOW_TYPE_DESKTOP and survives Show Desktop, so this defect is Wayland-only.
Root cause
wlr-layer-shell's get_layer_surface takes a namespace argument, defined by the protocol as "a name identifying the compositor role of the layer surface". conky hardcodes "conky":
"conky" isn't in that map, so every conky layer surface gets classified WindowType::Normal — no matter which layer it sits on. And normal windows are exactly what Workspace::setShowingDesktop() hides. So even though the widget is on the BACKGROUND layer (selected correctly by layer_for_window() at display-wayland.cc:473), it still gets hidden.
Expected behavior
own_window_type = 'desktop' on Wayland should behave like its X11 sibling: stay on screen during Show Desktop. The namespace should follow the same logic as the layer mapping.
Proposed direction
At the layer-shell create site, pick the namespace from the configured window type:
KWin Workspace::setShowingDesktop() — desktop-type windows are exempt.
Related existing reports
[Bug]: On KDE wayland, conky hides when clicking on the desktop, with own_window_type desktop #2306[Bug]: On KDE wayland, conky hides when clicking on the desktop, with own_window_type desktop (closed as not planned, env: xwayland) — the closest report. It is not this bug: the reporter runs the X11 backend through XWayland (out_to_x = true, conky: drawing to created window (0x1400001)), while this report is about the native Wayland layer-shell backend. Different path, different root cause, and it was closed without a fix — the native-Wayland case was never addressed.
[Bug]: own_window_type desktop rendering #2340[Bug]: own_window_type desktop rendering (open) — same config on Wayland, but a different symptom (double-rendering/black background on XWayland), not the Show-Desktop hiding I'm reporting here.
I didn't find any open report covering Wayland + KDE + Show-Desktop specifically.
Version
conky git master (Wayland build, as of 1affe0297 / June 2026), compiled with -DBUILD_WAYLAND=ON.
Which OS/distro are you seeing the problem on?
Arch Linux
Conky config
conky.config= {
own_window=true,
own_window_type='desktop',
-- no 'above'/'below' hint
}
Stack trace
N/A — not a crash; a behavior defect.
Relevant log output
Nothing relevant to log — the widget just hides with the windows. The layer/stacking is correct; only KWin's classification is wrong, and that comes from the namespace string. A patched build is needed until this is fixed upstream.
What happened?
On KDE Plasma under Wayland, my conky desktop widgets (
own_window_type = 'desktop') disappear the moment I hit Meta+D (Show Desktop) — just like any normal window. On X11 the same config stays on screen like wallpaper. The widget is mounted on the background layer, but KWin still classifies it as a normal window.Reproduction
own_window_type = 'desktop'on KDE Plasma Wayland.On X11 the same config produces
_NET_WM_WINDOW_TYPE_DESKTOPand survives Show Desktop, so this defect is Wayland-only.Root cause
wlr-layer-shell's
get_layer_surfacetakes anamespaceargument, defined by the protocol as "a name identifying the compositor role of the layer surface". conky hardcodes"conky":conky::create_shell_surface<conky::layer_shell_surface>({ on_close, global_window->surface, wl_globals.layer_shell, static_cast<uint32_t>(layer_for_window()), "conky", });KWin derives the window type from exactly this field. In
src/wayland/layershellwindow.cpp:"conky"isn't in that map, so every conky layer surface gets classifiedWindowType::Normal— no matter which layer it sits on. And normal windows are exactly whatWorkspace::setShowingDesktop()hides. So even though the widget is on theBACKGROUNDlayer (selected correctly bylayer_for_window()atdisplay-wayland.cc:473), it still gets hidden.Expected behavior
own_window_type = 'desktop'on Wayland should behave like its X11 sibling: stay on screen during Show Desktop. The namespace should follow the same logic as the layer mapping.Proposed direction
At the layer-shell create site, pick the namespace from the configured window type:
Non-desktop conky windows keep the
"conky"namespace, so nothing else changes.References
zwlr_layer_shell_v1.get_layer_surfacenamespace.layershellwindow.cpp—scopeToType(): unknown scope defaults toWindowType::Normal;"desktop"→WindowType::Desktop.Workspace::setShowingDesktop()— desktop-type windows are exempt.Related existing reports
[Bug]: On KDE wayland, conky hides when clicking on the desktop, with own_window_type desktop(closed as not planned,env: xwayland) — the closest report. It is not this bug: the reporter runs the X11 backend through XWayland (out_to_x = true,conky: drawing to created window (0x1400001)), while this report is about the native Wayland layer-shell backend. Different path, different root cause, and it was closed without a fix — the native-Wayland case was never addressed.[Bug]: own_window_type desktop rendering(open) — same config on Wayland, but a different symptom (double-rendering/black background on XWayland), not the Show-Desktop hiding I'm reporting here.[Bug]: Openbox hides normal conky window when ToggleShowDesktop is used; desktop window type doesn't work(closed) — the X11/Openbox analogue of this report, marked wontfix.I didn't find any open report covering Wayland + KDE + Show-Desktop specifically.
Version
conky git master (Wayland build, as of
1affe0297/ June 2026), compiled with-DBUILD_WAYLAND=ON.Which OS/distro are you seeing the problem on?
Arch Linux
Conky config
Stack trace
Relevant log output