Bug 515175 - Default size Application Launcher is scrollable by a few pixels
Summary: Default size Application Launcher is scrollable by a few pixels
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Launcher (Kickoff) widget (other bugs)
Version First Reported In: 6.5.5
Platform: CachyOS Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-28 00:00 UTC by Fernando Marcelino Muniz
Modified: 2026-09-09 14:21 UTC (History)
3 users (show)

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


Attachments
Issue in Plasma 6.5.5 (655.79 KB, video/x-matroska)
2026-01-28 00:00 UTC, Fernando Marcelino Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Marcelino Muniz 2026-01-28 00:00:21 UTC
Created attachment 188967 [details]
Issue in Plasma 6.5.5

STEPS TO REPRODUCE
Have a default size with default app menus.

OBSERVED RESULT
The Application Launcher is slightly scrollable, which is weird for the default size.
And also this scrolling is so short that it doesn't serve the purpose of showing more content.

EXPECTED RESULT
The default size should be the perfect size for the default categories to fit in elegantly.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.18.7-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: Intel® Iris® Xe Graphics
Graphics Processor 2: NVIDIA GeForce GTX 1650
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6

ADDITIONAL INFORMATION
Off by 17 pixels in a 1920x1080 screen at a 100% scale.
Off by 25 pixels in a 4096x2160 screen at a 150% scale.
I have a theory that the code is accidentally set to fit the top and bottom texts' top pixel (it's just too perfect for a coincidence). But the dev actually wanted the top and bottom capsules which contains these texts to fit.
Comment 1 Nate Graham 2026-01-30 17:30:32 UTC
Yeah, we should consider the height of the sidebar too.
Comment 2 Bug Janitor Service 2026-09-08 08:17:13 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3995
Comment 3 Nate Graham 2026-09-09 14:21:37 UTC
Git commit caa448cf6ad471c4a56f358c65862f37246ac250 by Nate Graham, on behalf of Christoph Wolk.
Committed on 09/09/2026 at 14:08.
Pushed by ngraham into branch 'master'.

applets/kickoff: make initial size fit the sidebar

Kickoff's height sizing somewhat simple: we make it large enough that it
can fit the header, footer, and a grid 4 rows high (or fewer on very
small screens). Unfortunately, this means that it will not take the
sidebar's actual size into account at all; it's quite possible that
it is scrollable by just a few pixels. But we probably don't want it
to constantly resize dynamically either - to do so, we would need to set
the minimum size (as in Kicker), and that would take away the user's
ability to resize it manually to be smaller. The applet changing size if
the user modifies the categories might also be unexpected.

However, we can use the specifics of Plasma's applet popup sizing: on
the first Plasma run where it is added, the popup will resize itself to
match the fullRepresentation's implicit sizes. So if we set the
implicit size to include the sidebar at its maximum height, while
setting the minimum size to the previous default size, it will adjust
itself to perfectly fit the categories (as long as they're not shorter
than the minimum grid rows), but stay resizable by the user. We just
need to make sure that we do not keep resizing it on the first Plasma
run (to avoid a user resizing it to their preferred height, then
changing the categories and having their configured size overwritten).
We can do this simply by breaking the binding to the side bar's content
height once it has done it's job of providing the initial size. And to
prevent systems that provide a lot of categories from having a popup
that doesn't fit the screen, we constrain it to a maximum percentage of
the screen by default (though the user can still resize it manually).

M  +13   -1    applets/kickoff/BasePage.qml
M  +7    -4    applets/kickoff/EmptyPage.qml
M  +8    -1    applets/kickoff/FullRepresentation.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/caa448cf6ad471c4a56f358c65862f37246ac250