From 8bb7bbda1462a94a82a0ab304eca74b3d64d0390 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Atoch?= Date: Sun, 3 Aug 2025 22:55:59 -0400 Subject: [PATCH] Avatar: Back to Image instead of IconImage due to a rendering bug - Took many screenshots and compared them in GIMP and it's true, IconImage is a not as sharp as Image. Bug was already reported on Quickshell github https://github.com/quickshell-mirror/quickshell/issues/128 --- Components/Avatar.qml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/Components/Avatar.qml b/Components/Avatar.qml index 0c879bb..3a369bd 100644 --- a/Components/Avatar.qml +++ b/Components/Avatar.qml @@ -6,20 +6,17 @@ import QtQuick.Effects Item { anchors.fill: parent + anchors.margins: 2 - anchors.leftMargin: 2 - anchors.rightMargin: 2 - anchors.topMargin: 2 - anchors.bottomMargin: 2 - - IconImage { + Image { id: avatarImage anchors.fill: parent - anchors.margins: 2 source: "file://" + Settings.settings.profileImage visible: false + mipmap: true + smooth: true asynchronous: true - backer.fillMode: Image.PreserveAspectCrop + fillMode: Image.PreserveAspectCrop } MultiEffect {