Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: conky not in fluxbox slit anymore #2046

Closed
sieste opened this issue Sep 24, 2024 · 2 comments · Fixed by #2056
Closed

[Bug]: conky not in fluxbox slit anymore #2046

sieste opened this issue Sep 24, 2024 · 2 comments · Fixed by #2056
Labels
bug related to incorrect existing implementation of some functionality display: x11 related to X11 backend struts related to conky reserving space along screen edge

Comments

@sieste
Copy link

sieste commented Sep 24, 2024

What happened?

After full system update of arch linux, the conky window appears on the desktop on top of all other windows, rather than in the fluxbox slit as it used to.

Version

conky 1.21.5-pre-20091470 compiled for Linux x86_64

Which OS/distro are you seeing the problem on?

Arch Linux

Conky config

conky.config = {
    alignment = 'top_left',
    background = false,
    border_inner_margin = 10,
    border_width = 5,
    cpu_avg_samples = 2,
    default_color = '#ccbbaa',
    default_outline_color = '#ccbbaa',
    default_shade_color = 'white',
    double_buffer = true,
    draw_borders = true,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    extra_newline = false,
    font = 'Source Code Pro:size=14:antialias=true',
    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 = true,
    out_to_wayland = false,
    own_window_colour = '#112233',
    own_window = true,
    own_window_class = 'Conky',
    own_window_title = '',
    own_window_type = 'dock',
    show_graph_range = false,
    show_graph_scale = false,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    use_xft = true,
}

Stack trace

No response

Relevant log output

conky: desktop window (0x4f3) is root window
conky: window type - dock
conky: drawing to created window (0x800001)
conky: drawing to double buffer
conky: FOUND: console
conky: FOUND: ncurses
conky: FOUND: file
conky: FOUND: x11
conky: FOUND: wayland
@sieste sieste added bug related to incorrect existing implementation of some functionality triage issue that hasn't been verified, categorized or acknowledged yet labels Sep 24, 2024
@sieste sieste changed the title [Bug]: own_window_type='dock' in fluxbox stopped working [Bug]: conky not in fluxbox slit anymore Sep 24, 2024
@Caellian Caellian added display: x11 related to X11 backend and removed triage issue that hasn't been verified, categorized or acknowledged yet labels Sep 29, 2024
@Caellian
Copy link
Collaborator

Likely caused by my changes to update_x11_workarea(), or (less likely) set_struts(alignment align).

@heavyjoost
Copy link
Contributor

@sieste @Caellian I have the same problem in Openbox. I noticed line 643 in src/x11.cc got changed a few months back which breaks it. Changing it from this:

        // wmHint.initial_state = WithdrawnState;

To this:

        wmHint.initial_state = WithdrawnState;

Fixes it. I'm no expert on dockapps but as far as I know dockapps are required to be in the withdrawn state initially.

heavyjoost added a commit to heavyjoost/conky that referenced this issue Oct 9, 2024
Caellian pushed a commit that referenced this issue Oct 10, 2024
* set initial state wm hint to withdrawn (fix #2046)

Signed-off-by: Tin Švagelj <[email protected]>
@Caellian Caellian added the struts related to conky reserving space along screen edge label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug related to incorrect existing implementation of some functionality display: x11 related to X11 backend struts related to conky reserving space along screen edge
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants