Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Plasma Desktop Plasma Desktop
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 31
    • Issues 31
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 58
    • Merge requests 58
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PlasmaPlasma
  • Plasma DesktopPlasma Desktop
  • Merge requests
  • !717

taskmanager: Update rootIndex when visibility is changed

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Fushan Wen requested to merge work/fusionfuture/BUG446108-update-rootIndex into master Nov 26, 2021
  • Overview 7
  • Commits 1
  • Pipelines 2
  • Changes 1

When there are two grouped tasks named A and B, and the position of B is swapped with A (by dragging B), user can still see old items of A in the textual list of grouped tasks B.

This is because in the original binding expression, both visualParent and itemIndex are not changed, so QML will not re-evaluate the expression.

To only update rootIndex when groupDialog.visible is true, Binding.when is used, and Binding.RestoreNone is to avoid sudden changes in height.

BUG: 446108

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/fusionfuture/BUG446108-update-rootIndex