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
System tray icon backgrounds not refreshing #1249
Comments
|
Both Fig 5 and 6 look like something fault with OpenGL compositor (Mutter). So ti might be better adding some GPU and driver info... Just my thoughts. Regards. |
|
I found out that the clock applet not updating was purely my fault. I created an applet that shows network statistics and it seems to interfere with the clock applet. I tried creating a new user to see if any of these issues and persisted and they didn't! So I have now moved everything over to a new user and deleted the old one. @tista500 What kind of info and where can I find it? Since I deleted my old user I can no longer test but I can provide my specs. |
Then I'm a bit confused that captured GtkWindows were properly composited by budgie-wm, but budgie-session-dialogs were not. I don't have any clue. Anything happens in budgie-daemon and/or budgie-wm? |
Unfortunately, I was pretty frustrated and have deleted the user where these bugs were occurring. As such, I can't test budgie-daemon or budgie-wm. I will report back here if the issues start again. |
|
i had the same problem as reported here https://www.reddit.com/r/SolusProject/comments/7k9ukf/garbled_icons_strange_borders_after_todays_update/ deleting ~/.local/share/applications/budgie-wm.desktop fixed it in case someone else has this problem |
|
@clumsyfingers that's very odd - why did you have a local budgie-wm.desktop file ? |
|
@clumsyfingers I seem to have started having the icon issues again and I don't have a local budgie-wm.desktop file. |
|
@fossfreedom no idea. checking my backup disk the file is dated 3.sept, and even existed in my solus gnome backup dir as well as in the budgie backup dir. i have a vague recollection of installing budgie over solus gnome perhaps around that time, maybe it got created then? weird that it should be there all this time and not cause and problems until this weekend though. @nextgensparx hmm, my temporary fix for the icon problem was to add a script that ran at startup basically looking sometihng like: |
|
@clumsyfingers Running This issue has only partially come back. The shutdown and restart dialogs are ok now. Here are some screenshots: |
|
@nextgensparx |
|
@clumsyfingers I have tried it with other icons and it seems to be Dropbox's icon that gets messed up the most. Other icons just show up with odd black backgrounds. Dropbox's icon buginess also seems to spread to it's neighbours. Really strange. |
[2] I can say that 95% of the time this bug happens and I don't know why. |
|
Update: when I boot and do the first login, icons bug. After a |
|
Hey Hi, Is this issue resolved because I have been having the same now for quite a few weeks now. I have tried all the things mentioned here. I don't have a ~/.local/share/applications/budgie-wm.desktop file. I created a new user but within few weeks the problem occurred again. I can do |
|
@theryecatcher No, the issue is not resolved, at least not for me. |
|
I have exactly the same problem on a fresh Arch Linux installation. I can share logs if it's useful. |
|
ok folks - no need to say "it affects me" - we get it - there is an issue that needs resolving. I'm wondering - if anyone can say if this is the wrong area to look in - for the system tray in Unity (which is using the same Na component in budgie) https://github.com/GGleb/indicator-systemtray-unity/blob/master/na-tray.c For the box the draw signal is being connected (line 566) - and each of the children of that box is looked at from a compositing POV - if it recognises an icon has an alpha channel then it manually draws that icon (line 517). As I said - maybe I'm reading this wrong and putting 2+2=5 - but possibly the black icon surrounds that we are seeing is because the icon needs to be manually painted. |
Initialise the startup of the system tray via GLib idle. This allows the system tray startup fully stopping black background and icon positioning issues.
Initialise system tray via idle #1249
|
Happens to me too. Semi-work around I found was to open Budgie Settings and in the Panel Settings move the panel to bottom (or wherever really). This fixes all icons and I can return my panel to top position. |
|
@JoshStrobl I haven't looked in detail with the changes - but gnome-shell's na-tray code is more up-to-date that budgie's. Significant? https://github.com/GNOME/gnome-shell/tree/master/src/tray vs https://github.com/solus-project/budgie-desktop/tree/master/src/imports/natray The diff is the following: |
|
I think a paste/haste/gist would be more appropriate, that diff is pretty long @fossfreedom |
|
@fossfreedom I'm not sure it's significant, I have a lot of that locally already and it didn't make any different in my testing unfortunately, e.g. the gdk composite functions were already changed. I can try a wholesale copy / pasta though (and ensure we retain support for the vertical orientation), but they're just deprecation warning fixes. |
|
Yeah - think you are right - I've copy-pasted and fiddled to get the whole thing to compile - individual icons no longer have transparent backgrounds. So it appears to be even more broke than it was. |
|
|
|
Got this problem in the 10.5.1-204 update, on two machines at the same time. |
|
Yes, clearly the patch is working consistently for some and not others. Hence why it is still open. |
|
Since the problem is new on my two long running Solus Budgie installations, I figured it had to be something introduced in the newest version. |
|
It isn't, it's been a long standing issue that only got more prominent because of the latest GNOME stack upgrade. |
|
Just a tiny bit of additional information: |
|
Not sure if this is related or not, but every time I boot into my laptop, the wifi icon looks strange and doesn't show whether I'm connected or not, and if I set the panel to be transparent it still has a black bar around it. However, if I log out and log back in, it seems to fix itself, it only messes up when booting for some reason, hope that helps. |
|
Removing system-tray applet/reboot/re-add system tray applet seems to have resolved it for me (been running clean for about a week (on my daily driver machine)). I have been running the machine in question for about 2 years (doing weekly syncs to latest patches). Forcing a rebuild off of the latest version seems to have cured it. |
|
Not sure when i noticed this starting but I had been ignoring it ... before I tried removing the system tray and re-adding it, the problem seems fixed, but say i reboot ... the problem eventually comes up again L->R it's Variety (wallpaper changer), Strawberry, and Hexchat (while i cant tell what it is ... the Hexchat icon has something in the backgronud or something seems off to me) ... the apps work and right clicking where the icon is shows the right "tray menu" so to speak ... it's just the appearance is off I hope I posted this in the right place as looking over the name and other posts on this issue (got here via the Solus Forums btw) ... it seems related This is a fresh install of Solus 4.1 Budgie of course ... but before i had sent my laptop away for repairs, it was happening then too .... again I cant remember when i first noticed this issue ... everything is up to date package wise not related to this issue but I ran into what i think is #1932 specifically with the Network icon but a logout and login fixes that (posting this in case it happens to anyone else) ... SO FAR the intial problem is not happening after the re-adding of the system tray and the logout and login again ... but as I have said i have seen this before and it's likely going to crop up again (I mean THE INTIAL issue of the icons, not the spacing issue) |
|
@serebit Thank you so much, your patches worked and finally the system tray works properly for me. |
|
I won't lie, @JacekJagosz, fixing issues dating all the way back to 2017 feels real good. Glad it worked for you! |
|
I have been experiencing this issue mainly on my oldest and slowest 2009-era laptop, running the latest Budgie on openSUSE, using the normal |
|
@geckolinux Could you check if the Budgie version OpenSUSE uses is with the new tray or the old one (when was it last updates)? |
|
Hi @JacekJagosz thanks for the response. It is the latest 10.5.1 Budgie release, recently packaged by an openSUSE volunteer. You can see the spec files for the RPM package build here: I'm not sure if I understood correctly the history of this bug, but it looks like maybe the actual bug wasn't fixed, but rather a workaround was applied by changing to a different NetworkManager applet? I am using the normal I also confirm that this workaround of killing |
|
Yeah - opensuse will need to go back through the commit history and
cherry-pick the half-a-dozen or so patches in this area. I'm going to-do
the same for UB 20.04 very soon as well.
Don't know why the reluctance to produce a 10.5.2 with this in - oh well a
maintainers life is never easy... :)
…On Mon, 31 Aug 2020 at 13:54, GeckoLinux ***@***.***> wrote:
Hi @JacekJagosz <https://github.com/JacekJagosz> thanks for the response.
It is the latest 10.5.1 budgie release, recently packaged by an openSUSE
volunteer. You can see the spec files for the RPM package build here:
https://build.opensuse.org/package/show/X11:Solus/budgie-desktop
And here's the full list of package versions that I use to generate ISOs
with (for the slightly older openSUSE Leap 15.2 branch and the rolling
Tumbleweed release, this bug happens on both branches):
- Leap-15.2-based.txt
<https://github.com/solus-project/budgie-desktop/files/5150293/Leap-15.2-based.txt>
- Tumbleweed-based.txt
<https://github.com/solus-project/budgie-desktop/files/5150294/Tumbleweed-based.txt>
I'm not sure if I understood correctly the history of this bug, but it
looks like maybe the actual bug wasn't fixed, but rather a workaround was
applied by changing to a different NetworkManager applet? I am using the
normal nm-applet that Solus used to include, but even after uninstalling
that the Parcellite clipboard manager that appears in the system tray also
has a corrupted background.
I also confirm that this workaround of killing budgie-panel on session
startup works:
https://discuss.getsol.us/d/3229-system-tray-applet-glitch-in-budgie/8
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1249 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHTHEG5WBPSDDE4KLSG43LSDOMOXANCNFSM4ED3EO3A>
.
|
|
(Correct me if I got something wrong) |
|
Ahh, I see now, so "carbontray" is a new system tray, I thought it was a different NetworkManager tray applet. Thanks for clearing that up. |
When it's ready. Not giving any ETAs. |






Operating System: e.g. Solus 3.26.2
Budgie version: i.e. Budgie 10.4
The issue encountered
The system tray icons' backgrounds bug out. They show what was previously there as if the panel is not refreshing. This often means a black background or border. If a new application opens and appears in the system tray it's background seems to be the adjacent icon. It's easier to show this behaviour with screenshots:
On startup

Moving the system tray to the centre doesn't fix the problem but makes it worse

If the panel is set to transparent and intelligent automatic hiding, some icons persist after the panel is hidden

Built in theme on

Built in theme off

Possibly related, the shutdown and restart dialogs have a strange border around them:


Another thing that might be related is the clock applet is not updating. It seems all sorts of components of the budgie-panel are just not refreshing properly.
Steps to reproduce the issue
Happens consistently every time I start up solus. Running
budgie-panel --replacefixes some icons until next restart. Never used to happen so I am not entirely sure how to reproduce it exactly.The text was updated successfully, but these errors were encountered: