[kmymoney] [Bug 456565] New: Category autocomplete should focus on the parent, if child account also matches

Dawid Wróbel bugzilla_noreply at kde.org
Sun Jul 10 23:02:43 BST 2022


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

            Bug ID: 456565
           Summary: Category autocomplete should focus on the parent, if
                    child account also matches
           Product: kmymoney
           Version: git (master)
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: ux-ui
          Assignee: kmymoney-devel at kde.org
          Reporter: me at dawidwrobel.com
  Target Milestone: ---

SUMMARY
When more than one account in a branch matches the typed-in search term, the
autocomplete should stop at the first matching parent account, not the leaf.
The rationale here is that the child account is a more specific account of the
generic parent, and as such, there can be many more such leafs under said
parent. We should assume the generic account is likely to be chosen more
frequently. In my example, I use that for denoting same categories of different
currencies, but the parent account is always of my main currency, which indeed
means I am more likely to assign a category to it, as I usually spend in that
currency. 

Alternatively, a more sophisticated logic would preselect an account that
matches the transaction's currency — and maybe even mark the other with an
appropriate icon, to warn that currency conversion would be required. 

STEPS TO REPRODUCE
1. Create category hierarchy, where two accounts, a parent and a leaf, have the
same name, but the leaf also bears and additional suffix 
2. In transaction editing dialog, type in the account name such that both are
shown 

OBSERVED RESULT
The leaf is automatically selected, even though the parent account also
matches.

EXPECTED RESULT
The parent account should be preselected. 


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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


More information about the KMyMoney-devel mailing list