[kmymoney] [Bug 520514] New: Wrong security set when leaving security input field

Ingo Klöcker bugzilla_noreply at kde.org
Fri May 22 14:23:55 BST 2026


https://bugs.kde.org/show_bug.cgi?id=520514

            Bug ID: 520514
           Summary: Wrong security set when leaving security input field
    Classification: Applications
           Product: kmymoney
      Version First 5.2.2
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: kloecker at kde.org
  Target Milestone: ---

In the investment transaction editor:
If multiple securities match the entered text then the first matching security
is set when leaving the security input field with the TAB key even if another
matching security has been explicitly selected from the popup.

STEPS TO REPRODUCE
1. You need two securities with similar names (e.g. "Security A" and "Security
B")
2. Create a new investment transaction
3. In the security input field type "Secu" -> the completion popup will show
both matching securities
4. Select "Security B" with the keyboard (e.g. press Down and press Enter) ->
"Security B" is shown in the input field
5. Press TAB to leave the security input field

OBSERVED RESULT
"Security A" is shown in the input field

EXPECTED RESULT
The explicitly selected "Security B" is kept in the input field

ADDITIONAL INFORMATION
I have located the problem. It's a regression of the fix for bug 507664. I'll
propose a fix via an MR.

SOFTWARE/OS VERSIONS
KMyMoney: 5.2.2-a37799206 (current HEAD of 5.2 branch plus two unrelated
backported commits)
Akonadi: Unbekannt (build against 6.7.1)
Alkimia: 8.2.70 (build against 8.2.70)
Gpgme: Unbekannt (build against 2.0.1)
KDiagram: Unbekannt (build against )
libical: Unbekannt (build against 3.0.20)
KDE Frameworks: 6.26.0
Qt: Using 6.11.0 and built against 6.11.0
openSUSE Tumbleweed (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 7.0.7-1-default

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list