brndnmtthws/conky

[Bug]: Conky CPU graph misaligned at bottom edge in Wayland

Open

#2247 aperta il 19 set 2025

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C++ (604 fork)batch import
bugcairodisplay: waylandgood first issuerendering

Metriche repository

Star
 (6472 star)
Metriche merge PR
 (Merge medio 2g) (17 PR mergiate in 30 g)

Descrizione

What happened?

Under Wayland, Conky’s CPU graph body shifts/ overlaps with the box bottom border edge, but this issue doesn’t occur with XWayland using the same config, The graph body needs to move up by 1px maybe. Please refer image below.

Version

1.22.1

Which OS/distro are you seeing the problem on?

Linux (other)

Conky config

conky.config={
    alignment = 'top_right',
    border_width = 10,
    cpu_avg_samples = 4,
    default_color = 'white',
    default_outline_color = 'black',
    default_shade_color = 'black',
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    use_xft = false,
    font = 'Terminus:size=12',

    -- Set gaps to adjust margins to the screen border.
    gap_x = 60,
    gap_y = 60,

    -- Set conky window height and width *static size*
    minimum_height = 30,
    minimum_width = 385,
    maximum_width = 385,

    net_avg_samples = 4,
    no_buffers = false,
    out_to_console = false,
    out_to_stderr = false,
    out_to_x = false,
    out_to_wayland = true,
    extra_newline = false,
    override_utf8_locale = true,

    -- Make conky run on desktop background and transparent
    own_window=false,
    -- own_window_class='conky',
    -- own_window_type='dock',
    -- own_window_hints='undecorated, below, sticky, skip_taskbar, skip_pager',
    -- own_window_transparent=true,
    -- own_window_argb_visual=true,
    background=false,

    -- Avoid blinking:
    double_buffer=true,

    total_run_times = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    show_graph_scale = false,
    show_graph_range = false,
    xftalpha = 0
}

Stack trace

Relevant log output

Guida contributor