-
Notifications
You must be signed in to change notification settings - Fork 204
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
Systray icon missing / empty #1236
Comments
Hi all, I have a similar request/question: I have just started using Back in Time on a fresh Ubuntu 21.10 install, and I set it up using the GUI to run at startup. If I open the GUI, I can see the back-up running (by looking at the log), but I don't see any system indicator telling me the job is indeed running. If I stop the snapshot and start a new one, then the icon appears on the top right and I can interact with the job (pause, stop, etc.) |
Could you share a screenshot showing the problem? Do you know which desktop environment you are using? |
I confirm I still have no notification in taskbar when BiT takes a snapshot. Even launched by cron task, manually via GUI or manually via command line... |
This comment was marked as off-topic.
This comment was marked as off-topic.
I had this issue too (link). For me it seems to have been an issue with root's cron jobs. I fixed mine by exporting another variable in
I also installed |
Still no systray icon but icons in BiT window disappeared (replaced by text) with this |
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! :) |
Could you please help me to identify the reason for the missing system tray icon by following these instructions: THX a lot! |
Here is the what I got when launching a snapshot from command line, but no systray icon at all :
|
This would only work
For details see: #1240 (comment) But before trying this I would be interested in the diagnostics output of my prev. comment to "hunt down" the bug. |
Oh OK, sry : Before installing qt5ct
And after :
Maybe I need to logout and login again now |
After reboot, I have
but still no systray icon when launching BiT with command line |
In the debug log output I cannot see that the required Could you please check if the If it does not exist we have to check how the Gentoo pkg maintainer installs this. Please also check backintime/qt/plugins/qt4plugin.py Lines 42 to 47 in 713590f
Lines 466 to 480 in 713590f
|
Hi.
Thanks |
@Anard Strike :-) Could you please edit the file backintime/qt/plugins/qt4plugin.py Lines 42 to 47 in 713590f
and comment (disable) the above lines 45 and 46
You should now see the sys tray icon eg. by calling PS: If you do not want to edit the installed qt4plugin.py file you could also install the package Edit: I have updated above code change (was totally wrong) but is OK now. Installing the package with |
Could please give me more background:
|
Nice :) thanks 👍 Finally, I found xdpyinfo in gentoo's overlay which is x11-apps/xdpyinfo package (x11-apps is category, xdpyinfo is the package). EDIT : With this package installed, systray icon now works well without commented lines in qt4plugins.py. |
Great to hear that + thx for your bug hunting support and publishing the missing package here!
This is out of my (our) control here, we are "just" the BiT developers, not package maintainers. I tried to find the Gentoo package maintainer but it seems the package is orphaned: https://packages.gentoo.org/packages/app-backup/backintime -> email to: maintainer-needed@gentoo.org Do you know more (eg. is the pkg maintainer displayed in the pkg mgmt tool in Gentoo)? My next steps:
|
No maintainer recorded :
But I just sent a bug on bugs.gentoo.org : https://bugs.gentoo.org/882529 |
Hi back. |
Can you please show me the relevant cron job entry ( Cron jobs are a little bit tricky since the shell environment may not be exactly the same as run as user Perhaps you could add
into the starter script After the cron job has started at least once (do NOT start BiT manually after that until you have executed below code)
Then please post this output here so that we can try to find a solution. |
Sorry for late :) Crontab entry :
|
@Anard I have re-read all your postings here incl. the logs to find out why BiT shows only an empty systray icon when started via cron (as user as well as as root). I could not find any direct indication for the reason. I suspect a missing env var when started via cron but could not find any relevant env var. Would it be possible for you to install our new release (candidate) v1.3.3 from source? This code includes better debug log output of qt5 styles and would really help me to "tame the systray icon beast". Edit: One final idea for a quick test: Could you install the "oxygen" icon theme since this is the fallback for missing icons in BiT? If it is not installed and the current theme cannot be determined an empty icon would be shown which matches your symptoms. The pkg name should be |
Hi back (in time) |
Perfect, I think I can try to reproduce the bug this way now to find out why cron does not find the active theme but uses the Could you please launch the (non-root) BiT GUI from a console with the |
OK. This |
|
@Anard Sorry, I forgot to give you the correct command to create the output:
|
OK. Seem that it immediately stopped the snapshot (maybe no difference vs previous one as I didn't use the PC between last crontab's snapshot and command line test snapshot).
Is it helpful for u ? |
Yes, thanks a lot for your assistance! I can see "xcb" and "fusion" in the log during init. That is most valuable for me (no need to really create a new snapshot). I will discuss a fix or other solutions internally now, mainly:
Relevant code parts: Lines 19 to 26 in 979b757
backintime/qt/qtsystrayicon.py Lines 27 to 28 in 979b757
Furthermore
|
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)... |
Sry I didn't found time for testing. |
Hi. When backintime is recording a snapshot, I have no information about it.
Should it be possible that when taking a snapshot an icon with progress bar appears in the notification bar ?
OS : Gentoo 2.7, profile amd64/17.1/desktop
DE : Xfce 4.16
Kernel : 5.15.26
PS : thx to emtiu for taking this project alive back 👍
The text was updated successfully, but these errors were encountered: