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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
            Version|                            |6.7.0
  Fixed/Implemented|                            |
                 In|                            |
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/-/commit/
                   |                            |714221a4bb3d5ed6e1dd0ff7d7f
                   |                            |ad772e6627f94

--- Comment #17 from cwo <[email protected]> ---
Git commit 714221a4bb3d5ed6e1dd0ff7d7fad772e6627f94 by Christoph Wolk.
Committed on 02/06/2026 at 22:02.
Pushed by cwo into branch 'master'.

applets/kickoff: move highlight to delegate

ListView scrolls the view to ensure that the whole delegate is visible
when it becomes the currentItem (with highlightFollowsCurrentItem
enabled). This can be quite disruptive, as hovering a delegate will make
it the currentItem, so just moving the mouse may move the view,
potentially as the user tries to get to another delegate (which now
shifts its position, and may even move out of the visible area).

Instead, disable the global ListView highlight, and place the highlight
into each delegate, similar to how this is handled in klipper's history.
As there may be many delegates visible, we put the highlight into a
Loader. We also need to jiggle the sidebar's listView a little - it
already sets a custom highlight as the background to support e.g.
flashing the Favorites entry if a new one is added, but sometimes defers
to the regular highlight anyway, which now breaks as the custom one here
replaces the component's defaults. So we have the custom one handle
everything.
FIXED-IN: 6.7.0

M  +14   -1    applets/kickoff/AbstractKickoffItemDelegate.qml
M  +2    -2    applets/kickoff/ApplicationsPage.qml
M  +2    -15   applets/kickoff/KickoffGridView.qml
M  +2    -13   applets/kickoff/KickoffListView.qml
M  +14   -14   applets/kickoff/ListOfGridsViewDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/714221a4bb3d5ed6e1dd0ff7d7fad772e6627f94

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

Reply via email to