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

Fushan Wen <qydwhotm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/commit/35
                   |                            |1e676f9b593098cab7d701ce789
                   |                            |3dd5559da7f
         Resolution|---                         |FIXED

--- Comment #2 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 351e676f9b593098cab7d701ce7893dd5559da7f by Fushan Wen.
Committed on 01/12/2021 at 15:47.
Pushed by ngraham into branch 'master'.

taskmanager: Update rootIndex when visibility is changed

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.

M  +6    -1    applets/taskmanager/package/contents/ui/GroupDialog.qml

https://invent.kde.org/plasma/plasma-desktop/commit/351e676f9b593098cab7d701ce7893dd5559da7f

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

Reply via email to