Bug 461685

Summary: ledger entry amount should default to highlight all textclic
Product: [Applications] kmymoney Reporter: jesse <jvapr27>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.1.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jesse 2022-11-11 06:16:20 UTC
SUMMARY
When a user leaves the application and comes back to it, if they are in the Amount field, it should highlight the whole value. 

STEPS TO REPRODUCE
1. Open a MyMoney Book
2. Go to the ledger for an account
3. Fill out the new transaction entry form (Click in the amount field and switch to another application)
4. return to kMyMoney


OBSERVED RESULT
Notice that the cursor is still in the amount field but the value 0.00 is showing and the cursor is after the '.00'. You will now have to remove the value before you can enter the value that you need there. 

EXPECTED RESULT
When the Amount field gets focus, the cursor should highlight the full value and be ready for the user to type it over the existing value. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Gnome 36 
(available in About System)
KDE Plasma Version: n/a
KDE Frameworks Version: KDE Frameworks 
Version 5.99.0Qt 
Version 5.15.5 (built against 5.15.5) 
Qt Version: 

ADDITIONAL INFORMATION
App image: KMyMoney
Version 5.1.3-cc213a5e2

I think bug 397356 may be related.
Comment 1 Thomas Baumgart 2022-11-12 06:06:22 UTC

*** This bug has been marked as a duplicate of bug 397356 ***