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

            Bug ID: 524095
           Summary: Category selector closes when clicking a tree
                    expand/collapse arrow
    Classification: Applications
           Product: kmymoney
      Version First 5.2.2
       Reported In:
          Platform: Mageia RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: ux-ui
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
While editing a transaction, the category selector displays the categories as a
tree. Clicking the expand/collapse arrow next to a category incorrectly selects
that category and closes the popup.

STEPS TO REPRODUCE
1. Edit an existing transaction.
2. Open the Category selector.
3. Click the expand/collapse arrow next to a category containing subcategories.

OBSERVED RESULT
The category is selected and the category popup closes.

EXPECTED RESULT
The category branch should expand or collapse without selecting the category,
and the popup should remain open.

SOFTWARE/OS VERSIONS
Operating System: Mageia 10
KDE Plasma Version: Not installed (LXQt 2.3.0 is used)
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.0
KMyMoney Version: 5.2.2

ADDITIONAL INFORMATION
The problem is reproducible every time.

The behavior appears to be related to commit
53b9d1324a7074426aabb4b9b1fc68815aea27a4, which changed account selection
handling from QTreeView::activated to QComboBox::activated while fixing bug
https://bugs.kde.org/show_bug.cgi?id=471210.

With Qt 6, QComboBox handles a mouse-button release over a valid popup index as
an item selection, including releases over a QTreeView expand/collapse arrow.
The same selection logic is still present in the
current master branch.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to