Closed Wrtox closed 1 month ago
seems to be a flatpak issue.
Top one is flatpak, bottom one is rpm
This fix is super easy.
The issue is that the Flatpak exports a 16x16 and 512x512 icon. And some GUIs are doing "pick any icon that's 128x128 or smaller" (for example). So it picks the 16x16 icon.
Here's the issue:
It needs to be changed to export every Vesktop icon size:
16,
32,
48,
64,
128,
256,
512,
1024,
I was informed by a Flatpak contributor not to do this.
Just install 512px and 16px if you need it for tray. Flathub only needs 128px png or svg. It'll generate one from the 512px
@bbhtt Since you were the one who gave this review, is this still correct, and this is an issue elsewhere, or should I include the other icons?
I guess you can include other sizes as well if some apps need it. Or just have a svg icon.
@bbhtt @lewisakura Yeah when the app uses bitmap icons, you need to include all the sizes.
You can check your system to see lots of examples of that.
tree ~/.local/share/flatpak/exports/share/icons/hicolor
tree /var/lib/flatpak/exports/share/icons/hicolor
For example:
find /var/lib/flatpak/exports/share/icons/hicolor -iname "*chrome*"
/var/lib/flatpak/exports/share/icons/hicolor/128x128/apps/com.google.Chrome.png
/var/lib/flatpak/exports/share/icons/hicolor/16x16/apps/com.google.Chrome.png
/var/lib/flatpak/exports/share/icons/hicolor/24x24/apps/com.google.Chrome.png
/var/lib/flatpak/exports/share/icons/hicolor/256x256/apps/com.google.Chrome.png
/var/lib/flatpak/exports/share/icons/hicolor/32x32/apps/com.google.Chrome.png
/var/lib/flatpak/exports/share/icons/hicolor/48x48/apps/com.google.Chrome.png
/var/lib/flatpak/exports/share/icons/hicolor/64x64/apps/com.google.Chrome.png
find /var/lib/flatpak/exports/share/icons/hicolor -iname "*podman*"
/var/lib/flatpak/exports/share/icons/hicolor/128x128/apps/io.podman_desktop.PodmanDesktop.png
/var/lib/flatpak/exports/share/icons/hicolor/256x256/apps/io.podman_desktop.PodmanDesktop.png
/var/lib/flatpak/exports/share/icons/hicolor/32x32/apps/io.podman_desktop.PodmanDesktop.png
/var/lib/flatpak/exports/share/icons/hicolor/512x512/apps/io.podman_desktop.PodmanDesktop.png
/var/lib/flatpak/exports/share/icons/hicolor/64x64/apps/io.podman_desktop.PodmanDesktop.png
/var/lib/flatpak/exports/share/icons/hicolor/scalable/apps/io.podman_desktop.PodmanDesktop.svg
find /var/lib/flatpak/exports/share/icons/hicolor -iname "*krita*"
/var/lib/flatpak/exports/share/icons/hicolor/128x128/apps/org.kde.krita.png
/var/lib/flatpak/exports/share/icons/hicolor/16x16/apps/org.kde.krita.png
/var/lib/flatpak/exports/share/icons/hicolor/256x256/apps/org.kde.krita.png
/var/lib/flatpak/exports/share/icons/hicolor/32x32/apps/org.kde.krita.png
/var/lib/flatpak/exports/share/icons/hicolor/48x48/apps/org.kde.krita.png
/var/lib/flatpak/exports/share/icons/hicolor/512x512/apps/org.kde.krita.png
/var/lib/flatpak/exports/share/icons/hicolor/64x64/apps/org.kde.krita.png
/var/lib/flatpak/exports/share/icons/hicolor/22x22/apps/org.kde.krita.png
find /var/lib/flatpak/exports/share/icons/hicolor -iname "*firefox*"
/var/lib/flatpak/exports/share/icons/hicolor/128x128/apps/org.mozilla.firefox.png
/var/lib/flatpak/exports/share/icons/hicolor/16x16/apps/org.mozilla.firefox.png
/var/lib/flatpak/exports/share/icons/hicolor/32x32/apps/org.mozilla.firefox.png
/var/lib/flatpak/exports/share/icons/hicolor/48x48/apps/org.mozilla.firefox.png
/var/lib/flatpak/exports/share/icons/hicolor/64x64/apps/org.mozilla.firefox.png
/var/lib/flatpak/exports/share/icons/hicolor/symbolic/apps/org.mozilla.firefox-symbolic.svg
@lewisakura Here is some code you can use:
Another example for reference:
Should be fixed by https://github.com/flathub/dev.vencord.Vesktop/pull/35, please test that version of the Flatpak when it is built.
Any reason why we cant just use an svg for the icon?
Discord Account
despera_.
Operating System
Linux - EndeavourOS
Linux Only ~ Desktop Environment
KDE - Wayland
Package Type
Flatpak
What happens when the bug or crash occurs?
Blurry Icon. Not a crash, just an icon fix.
What is the expected behaviour?
Vesktop having a normal icon inside of Flatpak permissions.
How do you recreate this bug or crash?
KDE settings >> Application manager >> Flatpak Applications >> Vesktop
Debug Logs
There's nothing.
Request Agreement