Bug 503333

Summary: "Font style..." window does not open with current font settings pre-selected
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2025-04-25 11:13:08 UTC
STEPS TO REPRODUCE
1. right-click on digital clock and choose "Configure digital clock..."
2. set "Text display" to "Manual"
3. click on "Choose style..." button
4. choose a font, a font style and a font size
5. click on "OK" button
6. close the digital clock settings by clicking on "OK" button
7. reopen the digital clock settings
8. click on "Choose style..." button

OBSERVED RESULT
font settings chosen in the step 4 are not pre-selected

EXPECTED RESULT
"Choose style..." window should always open with the current font settings pre-selected

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Graphics Platform: Wayland
Comment 1 Nate Graham 2025-04-25 12:38:53 UTC
Looks like we should be able to accomplish this by setting `currentFont` when we invoke the dialog.