Skip to content

Strange issue with dropbox tray icon rendering outside of bar #2430

@kristijanhusak

Description

@kristijanhusak

Checklist

  • I have read the appropriate section in the contributing
    guidelines
  • I believe this issue is a problem with polybar itself and not a misconfiguration on my part.
  • I have searched for other open and closed issues that
    may have already reported this problem.
  • I have checked the known issues page for this problem.

Describe the bug

Few days ago my dropbox icon started to render outside of tray, on complete opposite side of screen.

Expected behavior:

I expect all tray icons to be in the same place where i define them.

Actual behavior:

Dropbox tray icon (and only dropbox) renders on the opposite side of screen, way outside of tray area where other tray icons live.

Was it working before?

  • Did you also experience this bug in an earlier version of polybar (yes/no/don't know)? I don't know, started happening few days ago, not sure if polybar even updated or even if it's polybar issue.
  • If no, what was the last version where this worked correctly?

To Reproduce

Here's link to it: https://github.com/kristijanhusak/neovim-config/blob/bleeding-edge/i3/polybar/config
I didn't change config from November 2020, so it's definetely not an issue with config (was working before)

This issue happens to me on 3 machines, all running the same system (Manjaro i3). 2 Desktops and 1 laptop.

Polybar Log

notice: Parsing config file: /home/kristijan/.config/polybar/config
error: Disabling module "battery" (reason: No suitable way to get current charge state)
error: Disabling module "wlan" (reason: basic_string::_M_construct null not valid)
notice: pulseaudio: using default sink alsa_output.pci-0000_00_1f.3.analog-stereo
notice: Loaded font "JetBrains Mono:style=Regular:pixelsize=9" (name=JetBrains Mono, offset=1, file=/usr/share/fonts/TTF/JetBrainsMono-Regular.ttf)
notice: Loaded font "RobotoMono Nerd Font Mono:style=Regular:pixelsize=9" (name=RobotoMono Nerd Font Mono, offset=1, file=/usr/share/fonts/TTF/Roboto Mono Nerd Font Complete Mono.ttf)
notice: Loaded font "Hasklig:style=Regular:pixelsize=9" (name=Hasklig, offset=1, file=/usr/share/fonts/OTF/Hasklig-Regular.otf)
notice: Loaded font "Noto Sans Symbols2:style=Regular:pixelsize=9" (name=Noto Sans Symbols2, offset=1, file=/usr/share/fonts/noto/NotoSansSymbols2-Regular.ttf)
warn: Ignoring restack of i3 window (not needed when `override-redirect = false`)
error: Error in X event loop: XCB_MATCH (8)

Screenshots

Note the top left corner.
Other tray icons are in bottom right
screenshot

Environment:

  • WM: i3
  • Distro: Manjaro i3 Linux
  • Output of polybar -vvv:
polybar 3.5.5-117-g735a08ba

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

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

Build type: Release
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS         -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wall -Wextra -Wpedantic -Wsuggest-override -O3 -DNDEBUG
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now 

Additional context

I'm not sure if this is a polybar issue. I tried testing the default i3bar, and tray properly renders there (with dropbox icon properly inside) proof, which lead me to assumption that it's a polybar issue.

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