Skip to content

[Bug]: ${desktop_name} ignores the last desktop. #2151

Open
@Anakiev2

Description

@Anakiev2

What happened?

Conky shows correctly all desktop names except the last one. For example if I have 10 desktops with names "1 2 3 4 5 6 7 8 9 0" it shows "2" for the second one, "5" for the fifth one. But for the last one (in this case "0") it shows the previously active desktop name... If I have 3 desktops it ignores the third one and so on...

Arch Linux: conky 1.22.0-pre-79e68cc7 it was also the same with conky-1.21.5.

Version

1.22.0-pre-79e68cc7

Which OS/distro are you seeing the problem on?

Arch Linux

Conky config

conky.config = {
	alignment = 'bottom_left',
	background = false,
	border_width = 0,
	double_buffer = true,
	draw_outline = false,
	font = 'DejaVuSansMono Nerd Font:size=10.5',
	minimum_height = 18,
	minimum_width = 500,
	out_to_console = false,
	out_to_x = true,
	own_window = true,
	own_window_type = 'desktop',
	update_interval = 1.0,
	use_xft = true,
	max_text_width = 0,
	short_units = true,
	if_up_strictness = 'address',
	use_spacer = 'left',
};

conky.text = [[
  ${cpu cpu1}% ${cpu cpu2}% |   ${time %d.%m.%Y} |   ${time %H:%M} |   ${desktop_name}
]];

Stack trace

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugrelated to incorrect existing implementation of some functionalitydisplay: x11related to X11 backendos: linuxrelated exclusively to Linux (not BSD/MacOS)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions