-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
when reboot is needed, very wide slice of UN flag is displayed instead of appropriate icon #83
Comments
What app is calling for a reboot? MATE doesn't provide any of the software update tools. This bug could be in that updater's indicator code and not from MATE at all. A clash of icon names is possible if the app installs an icon into one directory normally used for icons and the name matches the UN flag, but that icon name (provided by mate-icon-theme) is |
Note that I don't have any software management tools beyond synaptic and its APT and dpkg backends installed so naturally I've never seen this. |
I only have what Ubuntu MATE installs by default, as far as software management (except I think I may have had to manually install Synaptic and xapian-index). By "reboot needed", I mean that the updater is telling me there were kernel updates or something which can't be installed until the system is rebooted. I think there was also a notif popup about it at one point. The thing which makes me think this has at least something to do with mate-indicator-applet is that if I remove the applet, the flag-slice goes away. (I'd have considered that a solution except that it also removes all the other indicators provided by the applet, and this applet seems to offer the selection of stuff that's closest to what I need.) Maybe next time it happens, I should try temporarily replacing this applet with each of the other indicator applets, to see if the problem occurs with any of them as well or if it's unique to this one.
P.S. Further thought: note that in the screenshot, the flag-slice appears between the Discord icon and the Bluetooth icon. Normally there's nothing there. Both of those icons are provided by this applet, so the flag is clearly part of this applet's display -- although of course the choice of image may be coming from a backend library that's separate from the applet. |
Almost all distros include a software update, since too few people manage this manually. There are
exactly two places this bug would likely be: in the indicator provided by the software updater, or
in the indicator applet.
One way to tell is this: take the indicator applet out of the panel, ensure the notification area
applet is IN the panel, then open dconf-editor and navigate to org>mate>panel>general
and make sure enable sni support is turned ON. This allows indictors to display in the tray
rather than use the indicator applet. If you still get the problem, the error is almost certainly
in the software updator or some library. If you do not, its in the indicator applet.
Note that on my non-Ubuntu based setup tray sni support is what I use not the indicator applet
|
Bug reproduced, running some tests. None of the following produced any apparent change in behavior:
This is somewhat inconclusive, as the system may have cached the file and I'm not fully unloading whatever piece thereof is retaining it. Unfortunately, rebooting will remove the "System restart required" condition, so the problem would disappear regardless. (Note: replacing "Indicator Applet" with "Indicator Applet Appmenu" caused a complete lack of icons/images in that part of the panel, showing only the text "No Indicators".) Next diagnostic steps:
|
Pretty sure you have to restart mate-panel (which logging out and back in or rebooting will surely do)
to see the effect of turning SNI support on or off.
|
This issue happens to me on multiple machines as well running Ubuntu 24.04 Mate, and just today I also realized it is the restart required triggering the large logo. Left-clicking on the logo brings up the text "System Restart Required" below the logo. Based on this thread, I installed dconf-editor, changed the SNI setting to enabled, logged out and logged back in. After a while, the large logo was back just as shown in the initial post. Any suggestions on how to narrow this down further? |
Might be an issue with whatever software updater is sending the "reboot required"
notification, especially since you just proved it occurs both in the indicator applet
and in the panel's native SNI support. With no other app doing this, we should
presume whatever software updater Ubuntu-MATE is currently using is the
source of the problem.
Not on Ubuntu and I don't have any auto-updaters installed due to bandwidth issues
(I use manual management of this), so I can't duplicate it or work on it anyway.
|
Today I looked into the source code for update-notifier, and found that when a restart is required, an indication is sent to the tray applet to show the "un-reboot" icon. Knowing that, I searched wider for issues around "un-reboot" and a large flag, and that led me to There will likely be a fix from MATE eventually, but I did the three steps shown in one of the comments as a quick fix, and it worked great:
This probably breaks something else, but I'm not sure I care much about the un flag svg in other cases, and it made the huge blue flag slice go away, so good enough for me... |
From this we now know exactly what the problem is. To fix it, update-notifier' icon (icon UN Update Notifier),
the cc icon, and several others either must be renamed by the app authors or alternately MATE could change
the names of all the flags to stop these name collisions. I don't have time to work on renaming every flag in
mate-icon-theme myself but I am OK with either approach. Note that we did not create this problem of course.
|
Ubuntu-MATE 24.10
Same problem on at least 2 different laptops (mix of AMD and Intel).
16 GB RAM in all cases, plenty of drive space
Screenshot shows top of screen (where the applet is positioned) when reboot is needed. (It took me awhile to figure out that "reboot needed" is what triggers this issue.)

This was also a problem in Ubuntu-MATE 24.04. I think that's when it first appeared.
I'm guessing that the wrong image-file is being summoned, but I can't tell where that is taking place -- possibly in a library, in which case the bug could be in the library.
The text was updated successfully, but these errors were encountered: