-
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
KDE/Wayland: Backintime has a Wayland icon in the taskbar #1244
Comments
Which version of BiT did you use? The commonly rolled-out 1.2.1 or a newer one (eg. from here at github)? |
I use 1.3.2 from debian testing. |
May be related to https://bugs.kde.org/show_bug.cgi?id=447845 and there-in linked further bug reports: App ID does not match desktop file name so the icon is not found on Wayland (but works on X11)... |
I got a similar problem with Gnumeric, which was fixed: |
We are using Qt5 for the GUI and the challenge will be to find a python API in Qt5 that does always work (not only on Wayland). I just saw a python example which sets the app id but uses a Wayland window class (not Qt5): Edit: It looks like it could work by setting BiT does instantiate a Lines 153 to 168 in b4dd2d1
eg.
Edit 2: "backintime-qt" works for the non-root GUI in Manjaro KDE Plasma with Wayland. As root still the Wayland icon is shown (I'll do some more testing...) |
BTW: Setting the App ID to identify the related https://nicolasfella.de/posts/importance-of-desktop-file-mapping/ |
@parrenin I have just opened the PR #1336 to fix this. It would be great if you could test this fix on your machine. You can clone and test the fixed version from my clone https://github.com/aryoda/backintime/tree/issue/1244_wrong_icon_on_wayland or the PR itself:
I think you have to go through all the I have tested this on a Manjaro KDE Plasma VM with Wayland. |
Sorry, but I get an error:
|
I patched by hand and it works, thanks! By the way, make install installs directly in /usr/bin/. |
Thanks a lot for backtesting!
Thanks for this hint! Yes, for testing purposes it would be great to do a parallel installation and I have used I will discuss this with the team. |
I see it the same. See the SO-answer to compare the different
No matter if we install in /usr/bin or /usr/local/bin the question is if we should do this at all. Maybe the make-file should check for the existence of a bit installation and avoid installation? |
@buhtzz I'd say let's discuss this in our email news group to keep the issue clean and don't mix topics here |
Fixed by merging #1336. Thanks, everyone! |
Re-opening until the problem mentioned in #1336 (comment) is resolved. |
When run under KDE/Wayland, Backintime does not have its proper icon in the taskbar.
Instead, it has a Wayland icon.
The text was updated successfully, but these errors were encountered: