Bug 406509

Summary: "Find Transaction..." dialog focus is on "Help" button instead of "Find"
Product: [Applications] kmymoney Reporter: Marcel Hoffmann <kdebugreport>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: 5.0.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.4
Sentry Crash Report:

Description Marcel Hoffmann 2019-04-13 19:51:56 UTC
SUMMARY

If you want to search for a specific transaction and use Edit->"Find Transaction..." then the focus is on the help button. This results in an unexpected behavior for the user. I would expect that hitting the "Enter" key initiates the search. Instead the browser opens and the kMyMoney handbook opens.

STEPS TO REPRODUCE
1. Edit -> Find Transaction
2. Enter any text
3. Hit enter

OBSERVED RESULT
Browser opens and kMyMoney handbook is displayed.

EXPECTED RESULT
Results dialog is shown

SOFTWARE/OS VERSIONS
Linux/Gnome: Linux (x86_64) release 4.19.27/Gnome 3.24.2 
KDE Plasma Version: N/A
KDE Frameworks Version: KDE Frameworks 5.54.0
Qt Version: Qt 5.11.3 (built against 5.11.3)

ADDITIONAL INFORMATION
Comment 1 Thomas Baumgart 2019-04-14 05:35:45 UTC
Git commit cfd4b81c81ed43fb36ebb35ac3d5e7a4723ba9a8 by Thomas Baumgart.
Committed on 14/04/2019 at 05:35.
Pushed by tbaumgart into branch '5.0'.

Set focus of find transaction dialog to text entry field

This change allows to enter a text in the text search field and pressing
Return to start the search.
FIXED-IN: 5.0.4

M  +9    -0    kmymoney/dialogs/kfindtransactiondlg_p.h

https://commits.kde.org/kmymoney/cfd4b81c81ed43fb36ebb35ac3d5e7a4723ba9a8