Bug 508985 - Adjacent category highlights touch
Summary: Adjacent category highlights touch
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (other bugs)
Version First Reported In: 6.4.4
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Nate Graham
URL:
Keywords:
: 509660 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-08-31 20:15 UTC by guimarcalsilva
Modified: 2025-10-22 13:25 UTC (History)
4 users (show)

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


Attachments
Highlights touch vertically (54.47 KB, image/png)
2025-08-31 20:15 UTC, guimarcalsilva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description guimarcalsilva 2025-08-31 20:15:48 UTC
Created attachment 184614 [details]
Highlights touch vertically

SUMMARY
As the attached screenshot shows, there's no vertical margin between adjacent highlights. This is especially visible when having "Favorites" selected while hovering over "All applications". 

1. Select "Favorites"
2. Hover over "All applications"

OBSERVED RESULT
Both highlights touch each other

EXPECTED RESULT
A 1px or 2px gap between highlights

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.3-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i3-1005G1 CPU @ 1.20GHz
Memory: 12 GiB of RAM (11.4 GiB usable)
Graphics Processor: Intel® UHD Graphics
Manufacturer: HP
Product Name: HP 246 G7 Notebook PC
Comment 1 Nate Graham 2025-09-19 13:53:33 UTC
*** Bug 509660 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2025-10-21 16:59:03 UTC
This is essentially the inverse of Bug 487653. Here we don't have the issue, but at the cost of touching highlight for adjacent items.

I'm not sure how possible it is to generically fix both issues until we've got Union styling everything.
Comment 3 Nate Graham 2025-10-21 19:41:19 UTC
Actually, it looks like I can put in a local workaround for Kickoff, since list views in Plasma are still largely hand-made rather than standardized the way they are in QML-based apps and System Settings pages.
Comment 4 Bug Janitor Service 2025-10-21 19:45:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3259
Comment 5 Marco Martin 2025-10-22 13:25:46 UTC
Git commit 57885ba4ec524bdc1c1326228f27c1c3a3561bba by Marco Martin, on behalf of Nate Graham.
Committed on 22/10/2025 at 08:12.
Pushed by ngraham into branch 'master'.

applets/kickoff: add spacing between non-switch-on-hover category items

Otherwise, their highlight effects touch, and it looks bad.

To avoid blowing up the layout as a result of this change, slightly
decrease the height of these category list items too, which also reduces
some code complexity.
FIXED-IN: 6.6.0

M  +1    -0    applets/kickoff/ApplicationsPage.qml
M  +0    -9    applets/kickoff/KickoffListDelegate.qml
M  +5    -0    applets/kickoff/KickoffListView.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/57885ba4ec524bdc1c1326228f27c1c3a3561bba