polybar: Synology-Drive Icon is not correctly positioned
Describe the issue
I’m on Archlinux and I have installed the package “synology-drive” from AUR (https://aur.archlinux.org/packages/synology-drive/). When I started the application, the icon did not have been correctly placed on the bar. In fact, the icon floating to the left whereas my systray is positioned to the right.
Expected behavior:
The icon of this app must be placed in systray block with the correct size.
Actual behavior:
the regular icons are well placed in systray emplacement but the icon of synology-drive floating to the left.
Was it working before? All working fine excepting that.
To Reproduce
Install synology-drive and launch the application.
# Polybar tray config
[bar/top]
...
tray-position = right
tray-padding = 4
tray-maxsize = 16
;tray-transparent = true
;tray-detached = true
;tray-offset-x = 50
...
Polybar Log
No log line was written during the test.
Screenshots
Environment:
- WM: i3wm
- Output of
polybar -vvv:
polybar 3.2.1
Features: +alsa +curl +i3 -mpd +network +pulseaudio +xkeyboard
X extensions: +randr (+monitors) -render -damage -sync -composite +xkb +xrm +xcursor
Build type: RelWithDebInfo
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -Wextra -Werror -Wno-noexcept-type -O2 -pedantic -pedantic-errors
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 8
- Comments: 21 (5 by maintainers)
Links to this issue
Commits related to this issue
- fix(tray): Support clients with different depths XCB_BACK_PIXMAP_PARENT_RELATIVE requires that the client has the same depth as the tray window. There was an issue with dropbox having a depth of 32 ... — committed to patrick96/polybar by patrick96 3 years ago
- fix(tray): Support clients with different depths XCB_BACK_PIXMAP_PARENT_RELATIVE requires that the client has the same depth as the tray window. There was an issue with dropbox having a depth of 32 ... — committed to polybar/polybar by patrick96 3 years ago
Synology seem to have fixed the issue in version
2.0.3-11102of the Drive client. On my end (i3 version 4.17.1andpolybar 3.4.2) the icon now appears in the tray as expected. 🎉Alright. Never done that before, but this is an excellent reason and method to learn. Will try my best.
Sent while on the road, errors may occur.
On Thu, Jan 23, 2020, 23:55 Patrick Ziegler notifications@github.com wrote: