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
                   |                            |ma/plasma-desktop/commit/62
                   |                            |04d73eae9beb6837b07f4d0d643
                   |                            |d176a412d79

--- Comment #4 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 6204d73eae9beb6837b07f4d0d643d176a412d79 by Fushan Wen, on behalf of
Jin Liu.
Committed on 24/09/2022 at 01:26.
Pushed by fusionfuture into branch 'master'.

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.

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

https://invent.kde.org/plasma/plasma-desktop/commit/6204d73eae9beb6837b07f4d0d643d176a412d79

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

Reply via email to