Skip to content

Cairo Dock Doesn't show after Wakup on Wayland #115

@alkaris2

Description

@alkaris2
Cairo-Dock version: 3.5.99.rc2
   compiled date: Jun  9 2025 02:43:48

Cairo-Dock was built with support for:
 * GTK version:                  3.24
 * X11:                          yes
 * Wayland:                      yes
 * GLX:                          yes
 * EGL:                          yes
 * gtk-layer-shell:              yes
 * additional Wayland protocols: yes
 * Wayfire IPC:                  yes

Cairo-Dock is currently running with:
 * display backend:              Wayland
 * layer-shell:                  yes
 * OpenGL:                       EGL
 * taskbar backend:              plasma
 * desktop manager backend(s):   plasma-window-management; plasma-virtual-desktop; KWin
 * detected desktop environment: KDE
 * detected Wayland compositor:  KWin

I've noticed this bug for some time now under Wayland, but if the computer has put the display to sleep after any set amount of time and woken up later Cairo Dock appears to not display. This is consistently repeatable by putting the display to sleep if Cairo Dock is currently running it will not show after waking up from sleep. It doesn't appear to have "crashed" because I can still clearly see the process for Cairo Dock is still running in the background when I check the system processes, but the dock will not appear when I hover over the area where the dock is suppose to appear. No crash logs are present either, I tried running cairo-dock -l debug > cario-debug.txt to get a debug log, but nothing shows or mentions a crash or error of some sort relating to resuming from sleep state.

I'm not entirely sure what's going on, but it's got something to do with how it responds to Wayland and the display going to a sleep state, I can run cario-dock from KRunner (Alt+F2) and then suddenly it'll appear as if nothing happened, but still no log or error but in KSystemLog it'll just state Cairo Dock was started like it wasn't already running.

When I do check the system processes for Cairo Dock in htop I do notice that it just creates a new cairo-dock process, keeping the previously started ones still running and using up CPU cycles. As seen in the following screenshot below, you can see the run time of the first and second process had been running 20 hours 28:58, and 17 hours 25:25, it completely ignores the fact it's still running, yet the dock will not show after waking display from sleep state, each process using up same CPU % cycles.

Cairo Dock CPU cycles KSystemLog messages

Here's the debug log I created, even though it doesn't seem to show any related errors to this specific issue.
cairo-debug.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions