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

Tobias Fella <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/
                   |714221a4bb3d5ed6e1dd0ff7d7f |b82f58d1421ede0a9cbd0c2f289
                   |ad772e6627f94               |8b5a54c4833a6

--- Comment #18 from Tobias Fella <[email protected]> ---
Git commit b82f58d1421ede0a9cbd0c2f2898b5a54c4833a6 by Tobias Fella, on behalf
of Christoph Wolk.
Committed on 03/06/2026 at 14:20.
Pushed by tfella into branch 'Plasma/6.7'.

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


(cherry picked from commit 714221a4bb3d5ed6e1dd0ff7d7fad772e6627f94)

Co-authored-by: Christoph Wolk <[email protected]>

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/b82f58d1421ede0a9cbd0c2f2898b5a54c4833a6

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

Reply via email to