Bug 507397 - Search bar's sides are cut off by a few pixels
Summary: Search bar's sides are cut off by a few pixels
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) widget (other bugs)
Version First Reported In: 6.4.3
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-07-23 16:43 UTC by Antonino Scordino
Modified: 2025-08-04 12:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.4
Sentry Crash Report:


Attachments
Look of the 'Kicker' search bar after removing all shortcuts on the side bar (18.61 KB, image/png)
2025-07-23 16:43 UTC, Antonino Scordino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonino Scordino 2025-07-23 16:43:34 UTC
Created attachment 183466 [details]
Look of the 'Kicker' search bar after removing all shortcuts on the side bar

SUMMARY
The search bar in the 'Kicker' applet is cut off by a few pixels when no favorite shortcuts are present.

STEPS TO REPRODUCE
1. Switch to the 'Kicker' applet 
2. Remove all favorite shortcuts (e.g. power or session-related, Firefox, Discover, ...)
3. Look at the search bar's look

OBSERVED RESULT
Search bar is cut off by a few pixels.

EXPECTED RESULT
Search bar remains unchanged after removing favorite shortcuts.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 42 
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
This issue occurs after commit '09ac96239aa4fcbe48478d2b35e77db1baa2ba17' on 'plasma/plasma-desktop' (applets/kicker: fix and simplify representation size).
Comment 1 Antonino Scordino 2025-07-24 15:40:17 UTC
This bug might be correlanted to a more serious (compared to this report) issue: 507398.

Issue presents on a similar environment. Only difference is that it requires the user to log-off first.
Comment 2 TraceyC 2025-07-25 00:30:35 UTC
I tested this on git-master and can reproduce
Note: "Kicker" refers to "Application Menu" in the alternatives
Comment 3 Bug Janitor Service 2025-07-29 20:26:05 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3122
Comment 4 cwo 2025-08-04 12:37:49 UTC
Git commit 2e1a5b38bc56ce594df08dbdf3d50b4c7b8bdf92 by Christoph Wolk.
Committed on 04/08/2025 at 11:44.
Pushed by cwo into branch 'master'.

applets/kicker: correctly position search field

The search field in Kicker can be positioned wrong in a few cases,
pushing its very edge just outside the popup which looks wrong. This is
due to extra inappropriate spacing, resulting from two problems. The
first is that for top- and right-aligned panel applets, the state values
are incorrectly set and add superfluous spacing that is not present in
the left- or bottom-aligned base versions. The second issue is that in
case of an empty favorites sidebar, the search field (which is
positioned with anchors) adds a smallSpacing that it shouldn't, as the
content Row's spacing does not apply between two items if one of them is
not visible.

Instead, we remove both causes of extra spacing, making the search field
fit properly.
FIXED-IN: 6.4.4

M  +5    -3    applets/kicker/MenuRepresentation.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/2e1a5b38bc56ce594df08dbdf3d50b4c7b8bdf92
Comment 5 cwo 2025-08-04 12:53:02 UTC
Git commit f6153c0e721f06015a814be35f5bde97c3261ef3 by Christoph Wolk.
Committed on 04/08/2025 at 12:38.
Pushed by cwo into branch 'Plasma/6.4'.

applets/kicker: correctly position search field

The search field in Kicker can be positioned wrong in a few cases,
pushing its very edge just outside the popup which looks wrong. This is
due to extra inappropriate spacing, resulting from two problems. The
first is that for top- and right-aligned panel applets, the state values
are incorrectly set and add superfluous spacing that is not present in
the left- or bottom-aligned base versions. The second issue is that in
case of an empty favorites sidebar, the search field (which is
positioned with anchors) adds a smallSpacing that it shouldn't, as the
content Row's spacing does not apply between two items if one of them is
not visible.

Instead, we remove both causes of extra spacing, making the search field
fit properly.
FIXED-IN: 6.4.4


(cherry picked from commit 2e1a5b38bc56ce594df08dbdf3d50b4c7b8bdf92)

Co-authored-by: Christoph Wolk <cwo.kde@posteo.net>

M  +5    -3    applets/kicker/package/contents/ui/MenuRepresentation.qml

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