brndnmtthws/conky

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

Open

#2,247 opened on 2025年9月19日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)C++ (6,472 stars) (604 forks)batch import
bugcairodisplay: waylandgood first issuerendering

説明

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

コントリビューターガイド