-
-
Notifications
You must be signed in to change notification settings - Fork 715
System tray sometimes overlapping the rest of the bar #591
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
Comments
This sometimes happens to me too! When I get 3 icons, if the first one disappears (because I closed the program), then it will be shown a blank space, overlapping the rest of the bar. |
This happens to me sometimes when the bar first starts on first login, but rarely (if ever) happens when I restart the bar. |
I think @seeruk is into something. It happens a lot when I eject an USB key and the fuse icon disappears. Edit : This issue was closed here before but apparently, the bug came back |
I encounter this too. |
If you are able to compile the project from source, please try out the |
I did notice now, when trying to reproduce the issue, that whenever the right* side of the bar occupies more space than possible, it will start truncating the modules within it; fading them out with a gradient. This is by design since, currently, the tray area is not considered being part of the bar. * if the tray is configured to appear on the right |
The fix appear to work for me too. Thanks! |
Not really fixed. The bug does not happen over the date module anymore but it appear over the mpd module in some circumstances. In my setup the tray just overlap the mpd module when the music is playing (toggle). Just in case, the config is fine. Disabling the tray and everything works as expected. EDIT: switching from to / didn't help. I guess the problem is related with the 'click' feature. EDIT.2: after a while of music playing the overlap get fixed. Thanks! |
I'm running the Let me know if there's more debug info that could help out. |
A bit of extra info: For me, and easy way to trigger the problem is using Qt based systray icons. If I run this systray example app, polybar never shifts over its contents for the newly created icon. Maybe there is something strange/broken about how Qt reserves space in the tray? |
I have the problem too... and I also thinking the problem comes from QT icons. |
I confirm this bug as well. Sometimes when a new systray icon is added, my seconds part in time module gets overdrawn with systray (time module is on the left of systray). When the icon is removed, only blank space (bar background colour) remains in its place - seconds counter still missing. |
Just for the sake of completion, i'd like to point out this also happens when your tray is on the left side of the bar as well |
I use indicator-kdeconnect and when a device is disconnected, the notification tray overlap and the icon hides and when device is reconnected the tray becomes invisible/icon doesn't show up again. |
Also experiencing this issue. One thing worth noting, however, is that I never encountered this issue on my old machines (720p internal display on my laptop, 1440p dual monitors on desktop). I just got a new laptop with a 4k screen and now I'm experiencing this issue for the first time. Curious how many other folks are on very high resolution screens. I had to crank up the |
I'm on a MacBook Pro retina screen, so I also wonder if that high
resolution matters.
…On Fri, Mar 8, 2019, 12:39 AM Ryan Bateman ***@***.***> wrote:
Also experiencing this issue.
One thing worth noting, however, is that I never encountered this issue on
my old machines (720p internal display on my laptop, 1440p dual monitors on
desktop). I just got a new laptop with a 4k screen and now I'm experiencing
this issue for the first time. Curious how many other folks are on very
high resolution screens. I had to crank up the tray-maxsize a lot for
icon visibility, so I wonder if they're rendering past their bounds due to
that higher maxsize value.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#591 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AB-m0gYp1koIpi2hi-upYdjCLuayuJOdks5vUfd1gaJpZM4NhRB2>
.
|
Yep, I'm on 4K |
Setting |
@evanc577's suggestion of |
Also having this issue, also using a 4k display. |
I can also confirm that @evanc577's solution fixes the issue for me. |
Are you on a high DPI display? |
I'm using a DPI screen and the @evanc577 solution doesn't work for me. |
@evanc577 's solution seem to work temporarily, but just now I logged in and the issue reappeared: |
i'm having the same issue plus my tray icons sometimes goes to secondary monitor but it should never appear except primary according to the config file |
just installed from master (7724c4d), same issue. adding |
The issue was that it used the position of the center module to calculate the leftmost possible position of the block. However, if the center module is empty that position is disastrously wrong. Fixes polybar#591
The issue was that it used the position of the center module to calculate the leftmost possible position of the block. However, if the center module is empty that position is disastrously wrong. Fixes polybar#591 Fixes polybar#1903
I think I found the problem. Could you please go over to #1936 and see if that fixes your issue. I have determined that this occurs when you have |
The issue was that it used the position of the center module to calculate the leftmost possible position of the block. However, if the center module is empty that position is disastrously wrong. Fixes polybar#591 Fixes polybar#1903
* `internal/i3` (and maybe others): Workspace icon map misbehaves for empty icon (polybar#1893), see polybar#1881 * `custom/ipc`: Clear content if hook produces no output. (polybar#1951) * renderer: * The modules on the right no longer overlap the tray or are shifted out of the bar. (polybar#1936), see polybar#591, polybar#1903, polybar#1838, polybar#1236 * The gradient when modules are shifted out of the bar (because there is not enough space) is now drawn correctly in all circumstances. (polybar#1936)
Fixes * `internal/i3` (and maybe others): Workspace icon map misbehaves for empty icon (polybar#1893), see polybar#1881 * `custom/ipc`: Clear content if hook produces no output. (polybar#1951) * renderer: * The modules on the right no longer overlap the tray or are shifted out of the bar. (polybar#1936), see polybar#591, polybar#1903, polybar#1838, polybar#1236 * The gradient when modules are shifted out of the bar (because there is not enough space) is now drawn correctly in all circumstances. (polybar#1936) * build: Fixed a compilation issue in gcc10 (polybar#1967, polybar/xpp#20)
Fixes * `internal/i3` (and maybe others): Workspace icon map misbehaves for empty icon (#1893), see #1881 * `custom/ipc`: Clear content if hook produces no output. (#1951) * renderer: * The modules on the right no longer overlap the tray or are shifted out of the bar. (#1936), see #591, #1903, #1838, #1236 * The gradient when modules are shifted out of the bar (because there is not enough space) is now drawn correctly in all circumstances. (#1936) * build: Fixed a compilation issue in gcc10 (#1967, polybar/xpp#20)
I'm experiencing this issue on 3.5.2, with |
@matejdro Please open a new issue. The issue is likely unrelated, especially since this only happened with |
I've seen some weird issues with the systray, since it's overlapping with the rest of the bar on some conditions.
First it started to overlap when my download module had less than 3 digits, so i replaced the line
label-connected = %downspeed%
tolabel-connected = %downspeed:8%
which add space so it's like the module always have the same width even with 1 digit.But then it started to overlap depending the number of icon the systray have. Here's some examples with 2 and 3 icons :


I saw some similar issues about systray overlap like #425 but i don't know if the problem come from the same thing.
Also here's my polybar config
The text was updated successfully, but these errors were encountered: