borgbase / vorta

Desktop Backup Client for Borg Backup
https://vorta.borgbase.com
GNU General Public License v3.0
1.95k stars 130 forks source link

Missing icons since Vorta 0.9.1 #1888

Closed MartinX3 closed 6 months ago

MartinX3 commented 6 months ago

Description

The terminal is spammed with QImage::scaleHeight: Image is a null image. image

My icons are at /usr/lib/python3.11/site-packages/vorta/assets/icons/.

$ ls -l
insgesamt 340
-rw-r--r-- 1 root root    343 11. Jan 10:51 angle-down-solid.svg
-rw-r--r-- 1 root root    341 11. Jan 10:51 angle-up-solid.svg
-rw-r--r-- 1 root root  11516 11. Jan 10:51 APACHE.txt
-rw-r--r-- 1 root root    379 11. Jan 10:51 broom-solid.svg
-rw-r--r-- 1 root root    475 11. Jan 10:51 check-circle.svg
-rw-r--r-- 1 root root    523 11. Jan 10:51 clock-o.svg
-rw-r--r-- 1 root root    533 11. Jan 10:51 cloud-download.svg
-rw-r--r-- 1 root root    489 11. Jan 10:51 copy.svg
-rw-r--r-- 1 root root   1102 11. Jan 10:51 cut.svg
-rw-r--r-- 1 root root    671 11. Jan 10:51 edit.svg
-rw-r--r-- 1 root root    304 11. Jan 10:51 eject.svg
-rw-r--r-- 1 root root    456 11. Jan 10:51 ellipsis-v.svg
-rw-r--r-- 1 root root   1421 11. Jan 10:51 eye-slash.svg
-rw-r--r-- 1 root root    987 11. Jan 10:51 eye.svg
-rw-r--r-- 1 root root    608 11. Jan 10:51 file-import-solid.svg
-rw-r--r-- 1 root root   1875 11. Jan 10:51 file.svg
-rw-r--r-- 1 root root    402 11. Jan 10:51 folder-on-top.svg
-rw-r--r-- 1 root root    478 11. Jan 10:51 folder-open.svg
-rw-r--r-- 1 root root    369 11. Jan 10:51 folder.svg
-rw-r--r-- 1 root root   3484 11. Jan 10:51 globe.svg
-rw-r--r-- 1 root root 110840 11. Jan 10:51 gpl_logo.svg
-rw-r--r-- 1 root root   6489 11. Jan 10:51 hdd-o-active.png
-rw-r--r-- 1 root root   4552 11. Jan 10:51 hdd-o.png
-rw-r--r-- 1 root root   1741 11. Jan 10:51 help-about.svg
-rw-r--r-- 1 root root    693 11. Jan 10:51 icon.svg
-rw-r--r-- 1 root root  28904 11. Jan 10:51 loading.gif
-rw-r--r-- 1 root root    327 11. Jan 10:51 minus.svg
-rw-r--r-- 1 root root   4536 11. Jan 10:51 OFL.txt
-rw-r--r-- 1 root root    681 11. Jan 10:51 paste.svg
-rw-r--r-- 1 root root    370 11. Jan 10:51 plus.svg
-rw-r--r-- 1 root root   9605 11. Jan 10:51 python_logo.svg
-rw-r--r-- 1 root root    673 11. Jan 10:51 refresh.svg
-rw-r--r-- 1 root root    523 11. Jan 10:51 server.svg
-rw-r--r-- 1 root root    753 11. Jan 10:51 settings_wheel.svg
-rw-r--r-- 1 root root    548 11. Jan 10:51 stream-solid.svg
-rw-r--r-- 1 root root    546 11. Jan 10:51 tasks.svg
-rw-r--r-- 1 root root    403 11. Jan 10:51 terminal.svg
-rw-r--r-- 1 root root    685 11. Jan 10:51 trash.svg
-rw-r--r-- 1 root root   1034 11. Jan 10:51 unlink.svg
-rw-r--r-- 1 root root    365 11. Jan 10:51 user.svg
-rw-r--r-- 1 root root    381 11. Jan 10:51 view-list-details.svg
-rw-r--r-- 1 root root    360 11. Jan 10:51 view-list-tree.svg
-rw-r--r-- 1 root root    809 11. Jan 10:51 wifi.svg
-rw-r--r-- 1 root root    409 11. Jan 10:51 window-restore.svg

Reproduction

OS

Arch Linux + XFCE

Version of Vorta

0.9.1

What did you install Vorta with?

Distribution package

Version of Borg

1.2.7

Logs

No response

ThomasWaldmann commented 6 months ago

Interesting. Icons work on macOS in some cases, but not in other cases, see #1886.

seija-appears commented 6 months ago

I'm also seeing this:

OS EndeavourOS + KDE Plasma (xOrg)

Version of Vorta 1 aur/vorta 0.9.1-1 (+71 4.98) (Installed) A GUI for BorgBackup

What did you install Vorta with? using yay to install from Arch aur

Version of Borg 1 extra/borg 1.2.7-1 (1.4 MiB 7.0 MiB) (Installed)

ls -l 
total 340
-rw-r--r-- 1 root root    343 Jan 10 22:18 angle-down-solid.svg
-rw-r--r-- 1 root root    341 Jan 10 22:18 angle-up-solid.svg
-rw-r--r-- 1 root root  11516 Jan 10 22:18 APACHE.txt
-rw-r--r-- 1 root root    379 Jan 10 22:18 broom-solid.svg
-rw-r--r-- 1 root root    475 Jan 10 22:18 check-circle.svg
-rw-r--r-- 1 root root    523 Jan 10 22:18 clock-o.svg
-rw-r--r-- 1 root root    533 Jan 10 22:18 cloud-download.svg
-rw-r--r-- 1 root root    489 Jan 10 22:18 copy.svg
-rw-r--r-- 1 root root   1102 Jan 10 22:18 cut.svg
-rw-r--r-- 1 root root    671 Jan 10 22:18 edit.svg
-rw-r--r-- 1 root root    304 Jan 10 22:18 eject.svg
-rw-r--r-- 1 root root    456 Jan 10 22:18 ellipsis-v.svg
-rw-r--r-- 1 root root   1421 Jan 10 22:18 eye-slash.svg
-rw-r--r-- 1 root root    987 Jan 10 22:18 eye.svg
-rw-r--r-- 1 root root    608 Jan 10 22:18 file-import-solid.svg
-rw-r--r-- 1 root root   1875 Jan 10 22:18 file.svg
-rw-r--r-- 1 root root    402 Jan 10 22:18 folder-on-top.svg
-rw-r--r-- 1 root root    478 Jan 10 22:18 folder-open.svg
-rw-r--r-- 1 root root    369 Jan 10 22:18 folder.svg
-rw-r--r-- 1 root root   3484 Jan 10 22:18 globe.svg
-rw-r--r-- 1 root root 110840 Jan 10 22:18 gpl_logo.svg
-rw-r--r-- 1 root root   6489 Jan 10 22:18 hdd-o-active.png
-rw-r--r-- 1 root root   4552 Jan 10 22:18 hdd-o.png
-rw-r--r-- 1 root root   1741 Jan 10 22:18 help-about.svg
-rw-r--r-- 1 root root    693 Jan 10 22:18 icon.svg
-rw-r--r-- 1 root root  28904 Jan 10 22:18 loading.gif
-rw-r--r-- 1 root root    327 Jan 10 22:18 minus.svg
-rw-r--r-- 1 root root   4536 Jan 10 22:18 OFL.txt
-rw-r--r-- 1 root root    681 Jan 10 22:18 paste.svg
-rw-r--r-- 1 root root    370 Jan 10 22:18 plus.svg
-rw-r--r-- 1 root root   9605 Jan 10 22:18 python_logo.svg
-rw-r--r-- 1 root root    673 Jan 10 22:18 refresh.svg
-rw-r--r-- 1 root root    523 Jan 10 22:18 server.svg
-rw-r--r-- 1 root root    753 Jan 10 22:18 settings_wheel.svg
-rw-r--r-- 1 root root    548 Jan 10 22:18 stream-solid.svg
-rw-r--r-- 1 root root    546 Jan 10 22:18 tasks.svg
-rw-r--r-- 1 root root    403 Jan 10 22:18 terminal.svg
-rw-r--r-- 1 root root    685 Jan 10 22:18 trash.svg
-rw-r--r-- 1 root root   1034 Jan 10 22:18 unlink.svg
-rw-r--r-- 1 root root    365 Jan 10 22:18 user.svg
-rw-r--r-- 1 root root    381 Jan 10 22:18 view-list-details.svg
-rw-r--r-- 1 root root    360 Jan 10 22:18 view-list-tree.svg
-rw-r--r-- 1 root root    809 Jan 10 22:18 wifi.svg
-rw-r--r-- 1 root root    409 Jan 10 22:18 window-restore.svg
MartinX3 commented 6 months ago

Maybe because of the restart of my computer or because of today system updates:
I can finally see the icons!

MartinX3 commented 6 months ago

Two laptops. Both with Arch Linux + XFCE (EndeavourOS). One has icons, the other hasn't....

m3nu commented 6 months ago

Most reports seem to come from Arch. Maybe Qt6 needs another package to work with SVG icons or something? I doubt this will be fixable in the context of our project, since the code to use icons didn't change since v0.8.

MartinX3 commented 6 months ago

qt6-svg is missing as a dep in the arch linux package. :)