Bug 521001 - Application Menu (Kicker) launches non-first search result twice when activated with Enter
Summary: Application Menu (Kicker) launches non-first search result twice when activat...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) widget (other bugs)
Version First Reported In: 6.6.91
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-06-03 10:19 UTC by jackdinn
Modified: 2026-06-04 17:30 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jackdinn 2026-06-03 10:19:52 UTC
Steps to reproduce:

1. Open the Plasma "Application Menu" widget.
2. Type a search term that produces several application results, for example: k
3. Use the down-arrow key to select an application below the first search result, such as Kate.
4. Press Enter once.

Observed result:

The selected application is launched twice.

Expected result:

The selected application should be launched once.

Additional findings:

* Clicking the same search result with the mouse launches it only once.
* Pressing Enter while the first search result is selected launches it only once.
* The fault occurs when selecting a lower search result with the keyboard and pressing Enter.
* KRunner works normally.
* Alternative Plasma launcher widgets work normally.
* A newly added second copy of the "Application Menu" widget has the same fault.
* Restarting plasmashell does not change the behaviour.
* There is no local override at:
  ~/.local/share/plasma/plasmoids/org.kde.plasma.kicker

Journal output after pressing Enter once:

Jun 03 10:59:31.928513 greg-venusseries systemd[934]: Started Kate - Advanced Text Editor.
Jun 03 10:59:31.955272 greg-venusseries systemd[934]: Started Kate - Advanced Text Editor.
Jun 03 10:59:32.297026 greg-venusseries systemd[934]: Started app-org.kde.kate-1109313.scope.
Jun 03 10:59:32.298789 greg-venusseries systemd[934]: Started app-org.kde.kate-1109314.scope.

The two application-start requests occur approximately 27 milliseconds apart.

System details:

Distribution: Manjaro Linux
Session type: X11
plasmashell: 6.6.5
plasma-desktop: 6.6.5-1
plasma-workspace: 6.6.5-2
Comment 1 cwo 2026-06-03 16:08:06 UTC
Can reproduce on Fedora's 6.6.5, but not on master.

Does also happen on the first result if you actually focus it, but not if you press Return from the search field. Does not happen if you launch the result using Space instead of Return.

Will look into a fix specifically for 6.6.6.
Comment 2 Bug Janitor Service 2026-06-03 17:04:15 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3781
Comment 3 cwo 2026-06-04 10:56:03 UTC
Git commit a0af0eec772bd6036398c77297c169e34f8392d7 by Christoph Wolk.
Committed on 03/06/2026 at 17:02.
Pushed by cwo into branch 'Plasma/6.6'.

applets/kicker: move Return handler from abstract to grid delegate

We need slightly different behavior in the different delegates. In 6.7,
we have better solution for this, but in 6.6.5 we end up with two
onReturnPressed handlers activating, as both the abstract delegate and
the list delegate have one. The sidebar delegates do their own thing
anyway, so we can just move the extra handler to the only one that does
not have an explicit keys handler yet, the grid delegate.
FIXED-IN: 6.6.6

M  +0    -2    applets/kicker/ItemAbstractDelegate.qml
M  +2    -0    applets/kicker/ItemGridDelegate.qml

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