Bug 497255 - Transaction form
Summary: Transaction form
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: ux-ui (show other bugs)
Version: 5.1.90
Platform: Other Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-10 00:36 UTC by bnbunch
Modified: 2024-12-29 13:05 UTC (History)
1 user (show)

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


Attachments
Font size transaction form (11.10 KB, image/png)
2024-12-10 00:36 UTC, bnbunch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bnbunch 2024-12-10 00:36:19 UTC
Created attachment 176476 [details]
Font size transaction form

Transaction form in ledger when editing transaction. All fields conform to font selected in settings with the exception of payment or deposit which is tiny and remains same regardless of font settings. You can set font to large yet payment and deposit remain the same. Not like there isn't room to make it larger as all entry boxes are same size
Font returns to current font after accept enter in entry
Comment 1 Paul Worrall 2024-12-28 19:02:09 UTC
I can reproduce this on 5.1.90-12e528e (kmymoney-master-3791-linux-gcc-x86_64.AppImage)

STEPS:
1. Settings => Configure KMyMoney => Fonts
2. Uncheck "Use system fonts" and set cell font to something larger (e.g. Sans Serif 14)
3. Settings => Configure KMyMoney => Ledger
4. Uncheck "Show transaction form"
5. In a ledger select a transaction and Right-Click => Edit

OBSERVED
All fields in the inline transaction form use the larger font except the amount fields

EXPECTED
All fields in the inline transaction form use the larger font

SYSTEM
Operating System: Arch Linux 
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.10.0
Qt Version: 6.9.0
Graphics Platform: Wayland
Comment 2 Thomas Baumgart 2024-12-29 13:05:12 UTC
Git commit aeee410d91c4c016fab86077c5a5184fdad7ec24 by Thomas Baumgart.
Committed on 29/12/2024 at 13:04.
Pushed by tbaumgart into branch 'master'.

Improve handling of font changes in ledger

When the user changed the font settings for the ledger, some widgets do
not receive the updated font. These are the amount edit widgets in the
transaction editors and the split view. This change updates takes care
of updating all those widgets with the new font when it is changed in
the settings dialog.
FIXED-IN: 5.2

M  +21   -0    kmymoney/views/splitview.cpp
M  +14   -0    kmymoney/views/transactioneditorbase.cpp
M  +1    -0    kmymoney/views/transactioneditorbase.h
M  +22   -1    kmymoney/widgets/amountedit.cpp
M  +5    -0    kmymoney/widgets/amountedit.h

https://invent.kde.org/office/kmymoney/-/commit/aeee410d91c4c016fab86077c5a5184fdad7ec24