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

Waybar temporarily leaves black silhouette when disappearing #8346

Closed
paul-ri opened this issue Sep 15, 2024 · 1 comment
Closed

Waybar temporarily leaves black silhouette when disappearing #8346

paul-ri opened this issue Sep 15, 2024 · 1 comment
Labels
bug Not working as intended

Comments

@paul-ri
Copy link
Contributor

paul-ri commented Sep 15, 2024

Please fill out the following:

  • Versions:

    • Sway: sway version 1.10-dev-d7a76d38 (Sep 13 2024, branch 'master')
    • wlroots: 0.19.0.r7234.7debaced-1
    • waybar: Waybar v0.11.0-7-g0d02f687 (branch 'master')
  • Debug Log:
    sway_error.log

  • Configuration File:

Sway config. Click to expand!

set $mod Mod4

set $term_no_option foot
set $term $term_no_option --app-id terminal
bindsym $mod+Return exec $term

bindsym --no-repeat $mod+Shift+q kill
bindsym $mod+Shift+e exit

bindsym --no-repeat {
    $mod+b splith
    $mod+v splitv
    $mod+s layout stacking
    $mod+w layout tabbed
    $mod+e layout toggle split
}

bar {
    swaybar_command waybar
    modifier $mod
    hidden_state hide
    mode hide
}

Waybar config in '~/.config/waybar/config'. Click to expand!

[
{
    "include": [ "~/.config/waybar/default-modules.json" ],
}
]

Waybar modules in '~/.config/waybar/default-modules.json'. Click to expand!

{
    "ipc": true,
    "layer": "top",
    "position": "bottom",
    "mode": "hide",

    "height": 40,

    "modules-right": [
        "sway/workspaces"
    ],
},

~/.config/waybar/style.css: kept empty

  • Stack Trace: N.A.

  • Description: Waybar leaves a black silhouette when hiding under certain conditions. The way I can reproduce it is when focus is changed whilst the bar is visible. It happens a lot for me as I use Super+Tab to focus to the next workspace and Super will bring up the bar.

The black bar will then disappear eventually (with time or when focusing back on the window)

Here's a video recording of the issue (done on the camera due to wf-recorder creating noise in the logs as in #5987).

2024-09-15-124827_recording_edited.mp4

Note:

  • This does not happen on sway 1.9. So I don't think this is a waybar issue
  • This does not happen when only the clock module of waybar is used. Only when sway/workspaces is used. I didn't try other combinations, I just slimmed the config a maximum.
@paul-ri paul-ri added the bug Not working as intended label Sep 15, 2024
@Nefsen402
Copy link
Member

This is a duplicate of #8075

It's an upstream waybar issue reported here: Alexays/Waybar#3492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

2 participants