Bug 524003 - "Switch sidebar categories when hovering" reduces height of sidebar list items
Summary: "Switch sidebar categories when hovering" reduces height of sidebar list items
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (other bugs)
Version First Reported In: 6.7.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-08-08 01:37 UTC by Bkem
Modified: 2026-10-30 16:50 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.8.3
Sentry Crash Report:


Attachments
Demonstration of visible bug in the Application Launcher (99.33 KB, video/mp4)
2026-08-08 01:37 UTC, Bkem
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bkem 2026-08-08 01:37:39 UTC
Created attachment 194964 [details]
Demonstration of visible bug in the Application Launcher

DESCRIPTION
In the Application Launcher (Kickoff) settings, "Use compact list item style" doesn't do anything. Toggling it and clicking Apply has no effect on the sidebar. Instead, toggling "Switch sidebar categories when hovering over them" changes the sidebar's compact style, on top of doing its own job correctly.

STEPS TO REPRODUCE
1. Open the Application Launcher and pin it.
2. Right-click on the Application Launcher icon and click "Configure Application Launcher...".
3. In the "General" page of the Application Launcher Settings, enable "Use compact list item style" and click the "Apply" button.
4. Disable "Use compact list item style" and click on the "Apply" button.
5. Enable "Switch sidebar categories when hovering over them" and click the "Apply" button.
6. Disable "Switch sidebar categories when hovering over them" and click the "Apply" button.

OBSERVED RESULT
The "Use compact list item style" option doesn't compact the sidebar category list item on the Application Launcher (which is pinned to view quick changes). The "Switch sidebar categories when hovering over them" option, when toggled, compacts the sidebar item list and also changes categories when hovering over another.

EXPECTED RESULT
The "Use compact list item style" option should toggle the option of making item listed style compact. The "Switch sidebar categories when hovering over them" option should make categories switch when the cursor is hovered over another category on the sidebar.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.2
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Comment 1 Nate Graham 2026-08-12 19:15:33 UTC
The sidebar list items are already compact (for the definition of "compact" that the setting uses). the ones that become more compact are the ones in the right pane. Your screen recording doesn't show any chance because your right panel has everything using grid view.

The fact that switch-on-hover makes the list items smaller is the actual bug; this was not intended!
Comment 2 cwo 2026-08-13 19:48:04 UTC
It's less that enabling switchOnHover makes them smaller, it's that disabling that makes them larger.

There's extra padding added in that mode, as it means that two things may be highlighted (the one that's currently active and the one that is hovered), whereas only one can be with switchOnHover. Without the extra padding, the two highlights can touch, which looks bad.

https://invent.kde.org/plasma/plasma-desktop/-/blob/master/applets/kickoff/KickoffListView.qml#L143

Maybe we should always add the extra padding. I'm a bit worried that people will complain that the layout they've been using for a long time now fits fewer things though.
Comment 3 Nate Graham 2026-08-14 16:47:38 UTC
I think it would make sense to use the compact style in the sidebar if "Use Compact List style" is in use, rather than having it trigger in the more random case controlled by the switch-on-hover setting.

If it looks bad for items to touch… well, at least you have a switch to determine whether it's something you can life with. Or we could make the spacing 1 or something.
Comment 4 Bug Janitor Service 2026-10-26 22:33:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/4126
Comment 5 Niccolò Venerandi 2026-10-27 10:08:16 UTC
Git commit 761476d81bca3f4c6666dad7b301f71582972038 by Niccolò Venerandi.
Committed on 27/10/2026 at 10:08.
Pushed by niccolove into branch 'master'.

applets/kickoff: Tie sidebar item spacing to the compact list style

M  +3    -3    applets/kickoff/KickoffListView.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/761476d81bca3f4c6666dad7b301f71582972038
Comment 6 Niccolò Venerandi 2026-10-27 10:08:32 UTC
Git commit 537620352c7d6224479cbb122f6d3a9ee829f8e1 by Niccolò Venerandi.
Committed on 27/10/2026 at 10:08.
Pushed by niccolove into branch 'Plasma/6.8'.

applets/kickoff: Tie sidebar item spacing to the compact list style


(cherry picked from commit 761476d81bca3f4c6666dad7b301f71582972038)

Co-authored-by: Niccolò Venerandi <niccolo@venerandi.com>

M  +3    -3    applets/kickoff/KickoffListView.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/537620352c7d6224479cbb122f6d3a9ee829f8e1