Bug 470722 - Subtitle font size keeps resetting
Summary: Subtitle font size keeps resetting
Status: RESOLVED FIXED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (show other bugs)
Version: 0.11.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-06 21:48 UTC by Peter
Modified: 2023-06-06 23:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2023-06-06 21:48:57 UTC
SUMMARY
When starting a video in Haruna, it does not remember the previously set size in configure and displays the size as "55" but if you hit the up or down arrow it will suddenly display much larger and returning to 55 is not the erroneous size the video started out playing.

STEPS TO REPRODUCE
1. Start a video in Haruna
2. Configure>subtitles, up or down arrow on subtitle size

OBSERVED RESULT
Subtitles are not the size the dialog box is when started, and also using the arrows changes to a significantly different size afterward even when returning to the original displayed size.

EXPECTED RESULT
1) For Haruna to remember the size set in configure and not change it
2) For Haruna to display at the correct scaled size

SOFTWARE/OS VERSIONS
Operating System: SteamOS 3.4.6
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 5.13.0-valve36-1-neptune (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
I use font scaling 150% (so X logical dpi is 144).
Comment 1 george fb 2023-06-06 23:32:25 UTC
Git commit 56757af4a935faa61bf7d63fb770fefea948610c by George Florea Bănuș.
Committed on 06/06/2023 at 23:30.
Pushed by georgefb into branch 'master'.

SubtitlesSettings: set font size value from config

M  +1    -1    src/qml/Settings/SubtitlesSettings.qml
M  +3    -1    src/settings/subtitlessettings.kcfg

https://invent.kde.org/multimedia/haruna/-/commit/56757af4a935faa61bf7d63fb770fefea948610c