Bug 512071 - Ledger: mouse focus gets lost after deleting a transaction when search bar is used
Summary: Ledger: mouse focus gets lost after deleting a transaction when search bar is...
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: ux-ui (other bugs)
Version First Reported In: 5.2.1
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-14 11:43 UTC by surcouf
Modified: 2025-11-14 11:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
view ledger with active text search AND delete action (115.64 KB, image/png)
2025-11-14 11:43 UTC, surcouf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description surcouf 2025-11-14 11:43:08 UTC
Created attachment 186770 [details]
view ledger with active text search AND delete action

SUMMARY
I am editing old transactions in the ledger, say four until seven years old transactions.
When i delete one of them, the mouse focus drops to the bottom of the ledger and the newest transaction is selected, instead of staying where i was prior to deletion.

STEPS TO REPRODUCE
1. open the ledger of a checking account
2. press Ctrl+F
3. Enter a text to be searched and which is relevant for many transactions, e.g. "Salary"
4. you should see all transactions which match the "Salary" keyword
5. scroll up to older transactions, e.g. 50 transactions "higher".
6. click on one transaction and delete it

OBSERVED RESULT
the focus drops to the bottom of the ledger and the newest transaction is selected.
It is annoying because i must scroll up through many transactions after each deletion.

EXPECTED RESULT
the transaction which is right after the deleted transaction is selected.
In the attached screenshot, it would be the one booked on 03/02/2019


SOFTWARE/OS VERSIONS
KMyMoney: 5.2.1-be4919f
Alkimia: 8.2.70 (compilé à l'encontre de 8.2.70)
Aqbanking: Inconnu (compilé à l'encontre de 6.6.4)
Gpgme: Inconnu (compilé à l'encontre de 1.23.2)
Gwenhywfar: Inconnu (compilé à l'encontre de 5.13.0)
KDiagram: Inconnu (compilé à l'encontre de )
libical: Inconnu (compilé à l'encontre de 3.0.9)
libofx: Inconnu (compilé à l'encontre de 7.0.4)
SQLCipher: Inconnu (compilé à l'encontre de 3.20.1)
Environnement de développement de KDE: 6.19.0
Qt: Par utilisation de 6.9.2 et avec compilation avec 6.9.2
AppImage
Debian GNU/Linux 12 (bookworm) (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.1.0-41-amd64


ADDITIONAL INFORMATION
Many thanks for the very good software and continuous voluntary work which improves it.