Bug 512534

Summary: The value entered in a transaction gets modified when clicking away.
Product: [Applications] kmymoney Reporter: Luigi Marigliano <luigi.marigliano98>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.2.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Video of the bug recreated.

Description Luigi Marigliano 2025-11-23 21:59:48 UTC
Created attachment 187105 [details]
Video of the bug recreated.

SUMMARY
The value entered in a transaction gets modified when clicking away.

STEPS TO REPRODUCE
1. Edit or create a transaction
2. Enter any value in the payment or deposit field
3. Click or tab away to any other field

OBSERVED RESULT
The decimal point moves around upon every interaction, so that 12,34 becomes 1,23, then 123,00, then 12,30, then repeats.

EXPECTED RESULT
The value should not be altered by just clicking away.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 43 KDE Plasma Desktop Edition
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
A workaround is to add an extra 0 at the end. For example typing 12,340 enters 12,34 correctly.
Comment 1 Thomas Baumgart 2025-11-24 07:55:51 UTC
When you start KMyMoney on the command line it prints a lot of stuff. Can you post the first few lines here? I got it using
> kmymoney -n 2>&1 | head -n 10
which provided the following output
> ("Breeze", "bb10dark", "bb10bright", "cleanlooks", "gtk2", "cde", "motif", "plastique", "Windows", "Fusion")
> Model for "ST" loaded with 4 items in 0 ms
> Monetary values will be formatted based on locale "de_DE" Example:  "123,45 €"
> Long date format "dddd, d. MMMM yyyy"
> Short date format "dd.MM.yy"
> Narrow date format "dd.MM.yy"
> Decimal symbol ',' 44
> Thousand separator '.'
> WebConnect: Try to connect to WebConnect server
> WebConnect: Connect to server failed
Comment 2 Luigi Marigliano 2025-11-24 10:26:38 UTC
The output of the command
> ❯ kmymoney -n 2>&1 | head -n 10
seems to be full of what I think are warnings about addons
> WebConnect: Running in server mode
> QObject::disconnect: wildcard call disconnects from destroyed signal of QAction::help_about_app
> kf.coreaddons: The plugin "/usr/lib64/qt6/plugins/kmymoney_plugins/budgetview.so" explicitly states an 'Id' in the embedded metadata. This value should be removed, the resulting pluginId will not be affected by it
> kf.coreaddons: The plugin "/usr/lib64/qt6/plugins/kmymoney_plugins/checkprinting.so" explicitly states an 'Id' in the embedded metadata. This value should be removed, the resulting pluginId will not be affected by it
> kf.coreaddons: The plugin "/usr/lib64/qt6/plugins/kmymoney_plugins/csvexporter.so" explicitly states an 'Id' in the embedded metadata. This value should be removed, the resulting pluginId will not be affected by it
> kf.coreaddons: The plugin "/usr/lib64/qt6/plugins/kmymoney_plugins/csvimporter.so" explicitly states an 'Id' in the embedded metadata. This value should be removed, the resulting pluginId will not be affected by it
> kf.coreaddons: The plugin "/usr/lib64/qt6/plugins/kmymoney_plugins/forecastview.so" explicitly states an 'Id' in the embedded metadata. This value should be removed, the resulting pluginId will not be affected by it
> kf.coreaddons: The plugin "/usr/lib64/qt6/plugins/kmymoney_plugins/gncimporter.so" explicitly states an 'Id' in the embedded metadata. This value should be removed, the resulting pluginId will not be affected by it
> kf.coreaddons: The plugin "/usr/lib64/qt6/plugins/kmymoney_plugins/icalendarexporter.so" explicitly states an 'Id' in the embedded metadata. This value should be removed, the resulting pluginId will not be affected by it
> kf.coreaddons: The plugin "/usr/lib64/qt6/plugins/kmymoney_plugins/kbanking.so" explicitly states an 'Id' in the embedded metadata. This value should be removed, the resulting pluginId will not be affected by it
Comment 3 Luigi Marigliano 2025-12-02 11:29:59 UTC
How can I provide more information?
Comment 4 Thomas Baumgart 2025-12-02 16:52:09 UTC
Sorry for the delay. Too many things going on in parallel.

The output you provided seems to be from an older version of KMyMoney. Can you try to run the latest stable AppImage version and see if the problem persists and/or provide the first ~10 lines of output to the console. Instructions can be found on https://kmymoney.org/appimage.html
Comment 5 Luigi Marigliano 2025-12-02 17:34:37 UTC
Not a problem, I appreciate your work :)

I installed that version and this is the output
> qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
> Alkimia: static void AlkEnvironment::checkForAppImageEnvironment(const char*) AppImageInfo: "/tmp/.mount_kmymonCaKMlO/AppRun.wrapped" "/tmp/.mount_kmymonCaKMlO/" "AppRun.wrapped"
> Alkimia: static void AlkEnvironment::checkForAppImageEnvironment(const char*) LD_LIBRARY_PATH set to "/tmp/.mount_kmymonCaKMlO/usr/lib"
> Model for "ST" loaded with 4 items in 0 ms
> Monetary values will be formatted based on locale "it_IT" Example:  "123,45 €"
> Long date format "dddd, d MMMM yyyy"
> Short date format "dd/MM/yyyy"
> Narrow date format "dd/MM/yyyy"
> WebConnect: Try to connect to WebConnect server
> WebConnect: Connect to server failed
Comment 6 Luigi Marigliano 2025-12-02 17:35:24 UTC
I forgot to mention that the bug persists even with the latest version.
Comment 7 Jack 2025-12-02 18:26:42 UTC
When you say "latest version" please specify the version shown by Help/About KMyMoney... and whether you are running the latest Fedora RPM or an Appimage (or something else.)
Thanks.
Comment 8 Luigi Marigliano 2025-12-02 19:10:48 UTC
The last output I posted here and the comment after were about the latest stable AppImage version recommended by Thomas Baumgart in the link https://kmymoney.org/appimage.html, specifically Version 5.2.1-143b311
Comment 9 Bug Janitor Service 2025-12-17 03:46:16 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Luigi Marigliano 2025-12-17 14:56:07 UTC
Forgot to flag to REPORTED, unless more info is required?