Summary: | PlasmaComponents3.ComboBox closes popup on click release when editable=true | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libplasma | Reporter: | Chris Holland <zrenfire> |
Component: | components | Assignee: | Chris Holland <zrenfire> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, plasma-bugs |
Priority: | NOR | ||
Version: | 5.71.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/frameworks/plasma-framework/commit/086a710478592bc4c93b90c28d4ec88e8ae8b86f | Version Fixed In: | 5.76 |
Sentry Crash Report: |
Description
Chris Holland
2020-07-10 18:49:36 UTC
Can you please submit your patch upstream? Thanks! A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/36 A possibly relevant merge request was started @ https://invent.kde.org/frameworks/qqc2-desktop-style/-/merge_requests/19 Git commit 086a710478592bc4c93b90c28d4ec88e8ae8b86f by Zren (Chris Holland), on behalf of Chris Holland. Committed on 08/10/2020 at 13:34. Pushed by cholland into branch 'master'. ComboBox3.contentItem must be a QQuickTextInput to fix autocomplete See QQuickComboBoxPrivate::updateEditText() https://github.com/qt/qtquickcontrols2/blob/dev/src/quicktemplates2/qquickcombobox.cpp#L426 By removing the MouseArea previously in the contentItem, we lose the ability to press+hold+drag to select a drop down item. The wheel events still work, as they are captured by the MouseArea in the background component. The combobox previously closed the popup when releasing the click to open the dropdown when editable=true. M +45 -103 src/declarativeimports/plasmacomponents3/ComboBox.qml https://invent.kde.org/frameworks/plasma-framework/commit/086a710478592bc4c93b90c28d4ec88e8ae8b86f |