diff --git a/debian/changelog b/debian/changelog index 2486159..f4a4559 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +calamares (3.3.14-0ubuntu21) resolute; urgency=medium + + * Fix icon corruption on the "Users" page (LP: #2139358) + + -- Aaron Rainbolt Tue, 10 Mar 2026 12:32:11 -0400 + calamares (3.3.14-0ubuntu20) resolute; urgency=medium * Add manual depend on python3-defaults >= 3.14 diff --git a/debian/patches/repair-icon-size.patch b/debian/patches/repair-icon-size.patch new file mode 100644 index 0000000..f9ef36f --- /dev/null +++ b/debian/patches/repair-icon-size.patch @@ -0,0 +1,31 @@ +Description: Repair icon-size initially + Create pixmap the size of the button, not the size of + the label; this might be (re-)scaled to match the eventual + button-size, but there are variations in Qt versions when + doing that. By using the size of the button, not the label, + the size is correct immediately. +Author: Adriaan de Groot +Origin: https://codeberg.org/Calamares/calamares/commit/c9e49988651a1c7c2881810ec465446a1f96d822 +Last-Update: 2026-03-10 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3 +--- a/src/modules/users/UsersPage.cpp ++++ b/src/modules/users/UsersPage.cpp +@@ -38,7 +38,7 @@ static inline void + labelError( QLabel* pix, QLabel* label, Calamares::ImageType icon, const QString& message ) + { + label->setText( message ); +- pix->setPixmap( Calamares::defaultPixmap( icon, Calamares::Original, label->size() ) ); ++ pix->setPixmap( Calamares::defaultPixmap( icon, Calamares::Original, pix->size() ) ); + } + + /** @brief Clear error, set happy pixmap on a label to indicate "ok". */ +@@ -46,7 +46,7 @@ static inline void + labelOk( QLabel* pix, QLabel* label ) + { + label->clear(); +- pix->setPixmap( Calamares::defaultPixmap( Calamares::StatusOk, Calamares::Original, label->size() ) ); ++ pix->setPixmap( Calamares::defaultPixmap( Calamares::StatusOk, Calamares::Original, pix->size() ) ); + } + + /** @brief Sets error or ok on a label depending on @p status and @p value diff --git a/debian/patches/series b/debian/patches/series index 86f0e2f..e7cbddd 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ enable-only-present-with-encryption-partitions.patch grub-debconf-config.patch unmount-encrypted-devices.patch fix-checkbox-warning-confusion.patch +repair-icon-size.patch