Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Q
QQC2 Desktop Style
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 6
    • Merge Requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Frameworks
  • QQC2 Desktop Style
  • Merge Requests
  • !19

Merged
Created Aug 16, 2020 by Zren (Chris Holland)@chollandDeveloper

ComboBox.contentItem must be a QQuickTextInput to fix autocomplete

  • Overview 8
  • Commits 1
  • Changes 2

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.

A MouseArea has been added to the background component to capture wheel events in a similar pattern to PlasmaComponents3.ComboBox.

The combobox previously closed the popup when releasing the click to open the dropdown when editable=true.

Also see plasma-framework!36 (merged) for the PlasmaComponents3 patch.

BUG: 425865

Edited Oct 13, 2020 by Zren (Chris Holland)
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: work/combobox