Bug 496324

Summary: ActionMenu.qml:87: ReferenceError: kickoff is not defined
Product: [Plasma] plasmashell Reporter: nttkde <watisthispoo>
Component: Application Launcher (Kickoff) widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: mikel5764, nate, noahadvs
Priority: NOR    
Version First Reported In: 6.2.3   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.4.0
Sentry Crash Report:

Description nttkde 2024-11-15 22:41:06 UTC
Have some application added to favorites in the Kickoff application launcher. Then right-click on its icon and choose some action, eg. open.
The following entry is logged in syslog:
plasmashell[10319]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/ActionMenu.qml:87: ReferenceError: kickoff is not defined
Comment 1 Bug Janitor Service 2025-05-31 07:57:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3038
Comment 2 cwo 2025-06-05 09:59:15 UTC
Git commit b47f1d60a2a3bb26b214b10586f77fbcc79c1744 by Christoph Wolk.
Committed on 05/06/2025 at 09:38.
Pushed by cwo into branch 'master'.

applets/kickoff: fix error when accessing context action

Kicker actions return whether the launcher should be closed after the
action or not. Kickoff fails at its attempt to use the the information
though, as the plasmoiditem is not accessible by id from the singleton
nested menu component. It's already passed in as a property, but just
not used here. The attempt to access by id fails with an error. This
has no major negative consequences beside the error, but does make the
interaction feel less responsive as kickoff will stick around until the
app launches a window, which may take a while.

Instead, use the property as intended. We also add a check to avoid
automatically closing it when pinned; this seems like an oversight in
the original logic.
FIXED-IN: 6.4.0

M  +3    -2    applets/kickoff/package/contents/ui/ActionMenu.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/b47f1d60a2a3bb26b214b10586f77fbcc79c1744
Comment 3 cwo 2025-06-09 17:56:21 UTC
Git commit fcdcf4ef5ef2717c6778c850bc77ebfe0012b560 by Christoph Wolk.
Committed on 09/06/2025 at 17:32.
Pushed by cwo into branch 'Plasma/6.4'.

applets/kickoff: fix error when accessing context action

Kicker actions return whether the launcher should be closed after the
action or not. Kickoff fails at its attempt to use the the information
though, as the plasmoiditem is not accessible by id from the singleton
nested menu component. It's already passed in as a property, but just
not used here. The attempt to access by id fails with an error. This
has no major negative consequences beside the error, but does make the
interaction feel less responsive as kickoff will stick around until the
app launches a window, which may take a while.

Instead, use the property as intended. We also add a check to avoid
automatically closing it when pinned; this seems like an oversight in
the original logic.
FIXED-IN: 6.4.0


(cherry picked from commit b47f1d60a2a3bb26b214b10586f77fbcc79c1744)

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

M  +3    -2    applets/kickoff/package/contents/ui/ActionMenu.qml

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