Skip to content

Tray is black after hide/show #1995

@magnetophon

Description

@magnetophon

Describe the issue

When I do polybar-msg cmd hide followed by polybar-msg cmd show, the tray turns black and doesn't respond to clicks or hoovers anymore.

When I switch workspaces, it turns back to normal.

It only happens with bottom = true.

Was it working before?
I'm new to polybar, so it's always been like this for me.

To Reproduce

[bar/bar1]
enable-ipc = true
bottom = true
modules-center = my-text-label
tray-position = right

[module/my-text-label]
type = custom/text
content = Some random label
  1. make sure you have icons in your tray
  2. polybar-msg cmd hide
  3. polybar-msg cmd show

Polybar Log

polybar bar1
warn: No fonts specified, using fallback font "fixed"

Environment:

  • WM: i3
  • Distro: NixOS
  • Output of polybar -vvv:
polybar 3.4.2

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: gcc-wrapper-9.2.0/bin/g++
Compiler flags:  -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags:

Thanks for this awesome bar!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions