From da4a4cc52b9af87eced3ccd3d1f9963b3fead3e4 Mon Sep 17 00:00:00 2001 From: DualFroz Date: Tue, 13 Oct 2026 23:09:13 +0200 Subject: [PATCH] cs_user: Use the scaled face image when choosing a picture from file Choosing a picture with "Browse for more pictures" passed the original file to AccountsService instead of the scaled ~/.face copy. AccountsService rejects icon files larger than 1MB, so large images never updated the user icon and the menu kept showing the old picture. Fixes #13489 --- files/usr/share/cinnamon/cinnamon-settings/modules/cs_user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/usr/share/cinnamon/cinnamon-settings/modules/cs_user.py b/files/usr/share/cinnamon/cinnamon-settings/modules/cs_user.py index 080d32a..8ce04b6 100644 --- a/files/usr/share/cinnamon/cinnamon-settings/modules/cs_user.py +++ b/files/usr/share/cinnamon/cinnamon-settings/modules/cs_user.py @@ -214,8 +214,8 @@ class Module: pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size(path, 255, -1) pixbuf.savev(face_path, "png") - self.accountService.set_icon_file(path) - self.face_button.set_picture_from_file(path) + self.accountService.set_icon_file(face_path) + self.face_button.set_picture_from_file(face_path) dialog.destroy()