Wallpaper refining (#81)

* Wallpaper refining

- Swww: allow all images formats supported by Swww but only show the one
we can render in the panel
- Fix: timer should be restarted when selecting a wallpaper
- Fix: avoid recomputing selected thumbnail by altering the border width
- Removed LazyLoader as it was not helping

* Wallpapers changes

- revert: maintaining a single list all wallpapers, support only basic
images format.
- settings: reordered wallpapers settings and made the Swww settings
conditionals to activating the useSWWW toggle

* Fix broken avatar display in Panel, Settings and LockScreen

---------

Co-authored-by: Sébastien Atoch <sebastien@atracktiv.com>
This commit is contained in:
Quadbyte 2025-08-03 15:37:13 -04:00 committed by GitHub
parent e71fecb521
commit de94d94265
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 228 additions and 143 deletions

View file

@ -7,6 +7,11 @@ import QtQuick.Effects
Item {
anchors.fill: parent
anchors.leftMargin: 2
anchors.rightMargin: 2
anchors.topMargin: 2
anchors.bottomMargin: 2
IconImage {
id: avatarImage
anchors.fill: parent
@ -18,7 +23,7 @@ Item {
}
MultiEffect {
anchors.fill: avatarImage
anchors.fill: parent
source: avatarImage
maskEnabled: true
maskSource: mask
@ -27,13 +32,11 @@ Item {
Item {
id: mask
anchors.fill: avatarImage
anchors.fill: parent
layer.enabled: true
visible: false
Rectangle {
anchors.fill: avatarImage
anchors.fill: parent
radius: avatarImage.width / 2
}
}