https://bugs.kde.org/show_bug.cgi?id=436177
Bug ID: 436177 Summary: Category Auto-Creation does not work as intended Product: kmymoney Version: 5.1.1 Platform: Gentoo Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kmymoney-devel@kde.org Reporter: kdebugrep...@pastsecurity.com Target Milestone: --- Created attachment 137908 --> https://bugs.kde.org/attachment.cgi?id=137908&action=edit Dialog after creating a new category from the ledger view SUMMARY Entering a new ledger entry allows to auto-create a new category if it does not exist. The dialog explains that the parent category will be Expense/Income, but can be changed in the next dialog. Selecting the correct parent category in the next dialog does not work as intended. Instead of adding the new category under the selected parent, it duplicates the whole category structure under the new parent entry. STEPS TO REPRODUCE 1. Enter new ledger entry 2. Enter non-existing category, e.g. "Food:Groceries:Fruit" 3. Click "Yes" in next dialog 4. Change parent category, e.g. from "Expense" to "Expense:Food:Groceries" 5. Click "OK" OBSERVED RESULT New category structure is "Food:Groceries:Food:Groceries:Fruit" EXPECTED RESULT New category structure should be "Food:Groceries:Fruit" 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.