https://bugs.kde.org/show_bug.cgi?id=459372

Fushan Wen <qydwhotm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-desktop/commit/62 |ma/plasma-desktop/commit/7f
                   |04d73eae9beb6837b07f4d0d643 |cb5948696ff2748ce667a0b8eaa
                   |d176a412d79                 |4f426543c62

--- Comment #5 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 7fcb5948696ff2748ce667a0b8eaa4f426543c62 by Fushan Wen, on behalf of
Jin Liu.
Committed on 24/09/2022 at 02:24.
Pushed by fusionfuture into branch 'Plasma/5.26'.

applets/digital-clock: migrate font settings

Plasma 5.26 introduced a new config entry autoFontAndSize which defaults
to true.
This means if the user customized font before (fontFamily, boldText,
italicText), in 5.26 these settings are ignored.

So we need to set autoFontAndSize=false if:
1. Any of these 3 old entries above is set.
2. No new entries introduced in 5.26 (autoFontAndSize, fontSize,
   fontWeight, fontStyleName) are set, so this is a config from 5.25.
And fontWeight should be set to 75 (Font.Bold) if boldText==true.


(cherry picked from commit 6204d73eae9beb6837b07f4d0d643d176a412d79)

A  +46   -0   
desktoppackage/contents/updates/digitalclock_migrate_font_settings.js

https://invent.kde.org/plasma/plasma-desktop/commit/7fcb5948696ff2748ce667a0b8eaa4f426543c62

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to