[Bug]: Wayland `own_window_type = 'dock'` incorrectly reserves screen space on KDE Plasma
What happened?
After upgrading Conky from 1.22.3 to 1.24.2, using
own_window_type = 'dock'
with the native Wayland backend causes KDE Plasma/KWin to calculate the usable work area incorrectly.
Maximized windows extend behind the Plasma panel / the usable work area is shifted by approximately the height of the panel.
Stopping Conky immediately fixes the window geometry.
Downgrading only Conky from 1.24.2 to 1.22.3 fixes the issue completely, while keeping KWin and plasma-workspace at 6.7.5.
This appears to be a regression related to the new Wayland dock/panel and exclusive-zone support introduced in Conky 1.24.2.
Steps to reproduce
- Run KDE Plasma 6.7.5 on Wayland.
- Start Conky 1.24.2 using the native Wayland backend.
- Use
own_window_type = 'dock'. - Maximize an application window.
The maximized window geometry / usable work area is incorrect.
- Stop Conky.
- Maximize the window again.
The usable work area is immediately correct.
Alternatively, downgrade Conky to 1.22.3 without changing KWin or Plasma. The issue disappears.
Expected behavior
own_window_type = 'dock' should not cause an incorrect exclusive zone
or otherwise alter KWin's usable work area in this way.
The same configuration worked correctly with Conky 1.22.3.
Version
1.24.2-1
Which OS/distro are you seeing the problem on?
Arch Linux
Conky config
conky.config = {
alignment = 'top_right',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = '#FFFFFF',
default_outline_color = '#FFFFFF',
default_shade_color = '#FFFFFF',
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
extra_newline = false,
font = 'DejaVu Sans Mono:size=10',
gap_x = 60,
gap_y = 60,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = false,
out_to_wayland = true,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'dock',
own_window_argb_visual = true,
own_window_transparent = true,
own_window_hints = 'below,skip_taskbar,sticky',
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
use_xft = trueStack trace
Relevant log output
Source: brndnmtthws/conky