#2464·conky

[Bug]: Window alpha is applied to the border and \hr lines.

Author: shamefulCake1Created Sep 29, 2026Updated Sep 29, 2026
Labelsbugtriage

What happened?

The value of the Alpha channel from own_window_colour is applied to the window border.

I think this is not expected. The border is there to highlight conky's boundaries, even if the window itself if transparent.

Transparent config:

-- vim: ts=4 sw=4 noet ai cindent syntax=lua -*- mode:lua ; -*-

conky.config = {
    alignment = 'top_left',
    background = false,
    border_width = 5,
    cpu_avg_samples = 2,
    -- default_color = '#EF5A29',
    default_color = '#FF000000',
    default_outline_color = 'white',
    default_shade_color = 'white',
    draw_outline = false;
    draw_shades = false;
    draw_borders = true,
    use_xft = true,
    font = 'Sarasa UI SC:size=12',
    gap_x = 5,
    gap_y = 35,
    minimum_height = 600,
    minimum_width = 600,
    own_window=true,
    own_window_type='override',
    own_window_hints='undecorated,below,sticky',
    own_window_colour = '#00999999',
    double_buffer=true,
    xinerama_head = 0,
}

conky.text = [[
(Updated $time)

Test
$hr
1 
$hr
2
$hr
3
$hr
4
]]
Image

Config with transparency turned off:

-- vim: ts=4 sw=4 noet ai cindent syntax=lua -*- mode:lua ; -*-

conky.config = {
    alignment = 'top_left',
    background = false,
    border_width = 5,
    cpu_avg_samples = 2,
    -- default_color = '#EF5A29',
    default_color = '#FF000000',
    default_outline_color = 'white',
    default_shade_color = 'white',
    draw_outline = false;
    draw_shades = false;
    draw_borders = true,
    use_xft = true,
    font = 'Sarasa UI SC:size=12',
    gap_x = 5,
    gap_y = 35,
    minimum_height = 600,
    minimum_width = 600,
    own_window=true,
    own_window_type='override',
    own_window_hints='undecorated,below,sticky',
    own_window_colour = '#FF999999',
    double_buffer=true,
    xinerama_head = 0,
}

conky.text = [[
(Updated $time)

Test
$hr
1 
$hr
2
$hr
3
$hr
4
]]
Image

The configs are almost identical, except for the two zeroes in "own_window_colour", and this makes HR-lines and the border visible.

I do want to have a visible border with a transparent background. In the past, the setting own_window_transparent=true did not apply to the border and hrules.

Version

1.24.2

Which OS/distro are you seeing the problem on?

Linux (other)

Conky config

lua
Config with transparency.
Border is invisible.

-- vim: ts=4 sw=4 noet ai cindent syntax=lua -*- mode:lua ; -*-

conky.config = {
    alignment = 'top_left',
    background = false,
    border_width = 5,
    cpu_avg_samples = 2,
    -- default_color = '#EF5A29',
    default_color = '#FF000000',
    default_outline_color = 'white',
    default_shade_color = 'white',
    draw_outline = false;
    draw_shades = false;
    draw_borders = true,
    use_xft = true,
    font = 'Sarasa UI SC:size=12',
    gap_x = 5,
    gap_y = 35,
    minimum_height = 600,
    minimum_width = 600,
    own_window=true,
    own_window_type='override',
    own_window_hints='undecorated,below,sticky',
    own_window_colour = '#00999999',
    double_buffer=true,
    xinerama_head = 0,
}

conky.text = [[
(Updated $time)

Test
$hr
1 
$hr
2
$hr
3
$hr
4
]]

Stack trace

gdb
No need

Relevant log output

bash
No need