-
Notifications
You must be signed in to change notification settings - Fork 208
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 appears during the backup, but with no icon #1098
Comments
I can confirm this |
What DE and icon theme are you using? It seems fine on my end |
Budgie DE with Papirus icon theme. |
I can confirm this too. I have no DE (running Arch + Qtile) and the icon I use are Adwaita, Breeze and Papirus (with Papirus being the main one). |
Also confirmed for KDE on Arch. For me the icon has been missing for a few years now. Similar messages in
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Hi, thanks for your reports. This is a very tricky issue to debug, I've tried to summarize current knowledge in #1306. For all of those affected, it would help if you could:
Thanks a lot! :) |
@emtiu Do you mean add this info here, or in the linked issue? If here, then, yes, I am still affected.
|
Thanks, that's very helpful! :) I've updated the info in #1306 accordingly. I'll have to get a Virtual Machine with Arch running to try and reproduce. From your logs, I see that your backintime systray icon is missing for a job that's running for the root user. Could you check if the same thing happens when there's a backintime job for for your regular user (the one running KDE)? |
On Debian 11 (stable). Running as root the icon in systray looks like this As user the icon looks like this I couldn't find any of that icons in "qt/icons". So I assume this are default icons used by the desktop environment and its theme. Because of that I assume that user and root do use different themes on the same desktop environment. Or root doesn't use any theme but the desktop environments fallback theme because no explicit theme is configured for root. Root usually doesn't use the desktop environment. For me the title of that Issue is misleading. This is a Qt thing. BIT use a name/constant to get an icon. It doesn't load a file. Qt itself does load the correct icon based on the used desktop environment and configured theme (or system icon folder). The icons name is "document-save". Line 25 in ab24e10
Maybe the https://github.com/PapirusDevelopmentTeam/papirus-icon-theme people have an idea about it? |
I just created a job for my regular user, and the tray icon does display in this case. I agree that's it's likely some issue with the root user not having a theme defined. Again, I'm not sure if I should comment here to prevent polluting #1306, but I tested installing qt5ct, exporting the variable in backintime, then restarting. However, this didn't fix the icon for me (although it did make all the text in the main window massive). Also, I slightly disagree with your comments in #1306, specifically
I've been experiencing this in Arch Linux for at least the last four years, so I think it's pretty easy to reproduce, at least based purely on distro! |
@KardinalReusen @karma-riuk @mattalexx @protist @msjr65 Could you please follow my instructions here to diagnose the problem: THX!
For this to work you have to start the |
Thanks @aryoda. Running the following
shows no icon in the tray. Oddly enough there was no empty space in the tray either. If I manually launch the GUI for backintime (root), then click "Take snapshot", then again there is no icon in the tray, but there is an empty space where it should be, and I can hover over it and see the hints. This is the normal situation.
Running the command "For BiT running as root with X11 as display server:"
|
@protist Exactly the same results for me |
You seem to use BiT (root) for backups and BiT (root) does not share the same config/profiles with BiT "user". If no profile is configured (here: running as normal user) the sys tray icon is not shown. To find out that no config/profile is configured just start BiT GUI as user and you will get this kind of message: Can you confirm this? |
This is correct. BiT (root) uses my config in
I'm not exactly sure what you are asking. I do have BiT configured for both root and a normal user. I cannot see the icon when running as root. When running as a normal user it appears fine. |
I thought that But if you have set up a config for BiT "user" too than my assumed missing config is wrong. Could you please show me the results this script to compare the theme settings of the user vs. root? THX!
|
Sorry @aryoda I realise now I was unclear. I'll go back and edit, but yes, above I was running Running your script (as user):
|
The problem is that Qt5 as root is choosing the Qt5-built-in style "fusion" as default which lacks some icons:
The fallback style When running BiT as user Qt5 chooses the BiT does internally fall back by trying to use another theme that contains all icons but if none of the fall-back themes is installed it uses Lines 19 to 22 in 675c8b4
A user-side fix would be to install at least the Could you please try to install On my side I have to fix the buggy fall-back theme activation logic somehow... |
Yes, that's exactly it! The package is indeed |
Not on my side (Arch + Cinnamon). |
Nothing obvious for me either @aryoda (Arch + KDE Plasma) |
I have fixed all known issues (hopefully) with my PR #1480 and this issue should be fixed too with that now. Re-testing and feed-back welcome (currently only on dev branch)! |
I am closing this now as fixed. Please open a new issue in case of any problems (to get rid of this and the other related issues that are old and have along history of discussions)... |
When a backup happens, a new system tray icon appears, and when the backup finishes, it disappears. But the icon is invisible, it just looks like an empty space in between two other icons. When I right click it, I do get the backintime menu.
My crontab is leaving this in its log:
The text was updated successfully, but these errors were encountered: