Bug 488962

Summary: Changing display settings resets display field to 0
Product: [Applications] kcalc Reporter: popov895 <popov895>
Component: generalAssignee: Gabriel Barrantes <gabriel.barrantes.dev>
Status: RESOLVED FIXED    
Severity: normal CC: gabriel.barrantes.dev, popov895
Priority: NOR    
Version First Reported In: 24.05.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description popov895 2024-06-22 10:26:58 UTC
SUMMARY

Changing display font resets display field to 0.

STEPS TO REPRODUCE

1. Do some calculation
2. Open Settings > Font
3. Change "Display font"

OBSERVED RESULT

The display field resets to 0.

EXPECTED RESULT

The display field keeps its value unchanged.

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20240609
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
KDE Gear Version: 24.05.1
Qt Version: 6.7.1
Comment 1 Gabriel Barrantes 2024-06-22 16:19:29 UTC
Confirmed, but I think the Font settings page might get removed per discussion on https://invent.kde.org/utilities/kcalc/-/merge_requests/98
Comment 2 Bug Janitor Service 2024-07-09 20:31:04 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kcalc/-/merge_requests/118
Comment 3 Gabriel Barrantes 2024-07-16 23:18:05 UTC
Git commit 20bbcfb2e33f13104b9bae2520fc0f5e135556a3 by Gabriel Barrantes.
Committed on 16/07/2024 at 23:08.
Pushed by gabrielbarrantes into branch 'master'.

Fix display reset when changing settings

M  +6    -68   kcalc_display.cpp

https://invent.kde.org/utilities/kcalc/-/commit/20bbcfb2e33f13104b9bae2520fc0f5e135556a3