| Summary: | Pin to Task Manager doesn't work from Kickoff/Launcher | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Parag W <parag.lkml> |
| Component: | Application Launcher (Kickoff) widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kdedev, mikel5764, nate, noahadvs |
| Priority: | NOR | Keywords: | regression |
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/f39b394d964577b21828d17c1d333e0ebc5fd08f | Version Fixed/Implemented In: | 6.2 |
| Sentry Crash Report: | |||
I am not able to reproduced this in Solus Plasma 6.1.4 I *am* able to reproduce it on git-master dev session Can also reproduce with current git master. When clicking on the menu item, there's an error:
Aug 27 13:52:50 Liberator plasmashell[14932]: QMetaObject::invokeMethod: No such method PlasmoidItem_QML_754::addLauncher(QVariant)
Candidates are:
addLauncher(QUrl)
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4654 Git commit f39b394d964577b21828d17c1d333e0ebc5fd08f by Ismael Asensio. Committed on 28/08/2024 at 01:52. Pushed by iasensio into branch 'master'. applets/kicker: Fix types on metaobject call to addLauncher Some calls via `QMetaObject::InvokeMethod()` requires an stricter type now, instead of the generic `QVariant`, because the functions in task manager's QML code have been type-annotated. This fixes the action of pinning an item to the task manager FIXED-IN: 6.2 M +5 -5 applets/kicker/plugin/containmentinterface.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/f39b394d964577b21828d17c1d333e0ebc5fd08f |
SUMMARY Plasma compiled from sources - right clicking on an item (Brave/Dolphin doesn't matter) and clicking Pin to Task Manager does nothing. STEPS TO REPRODUCE 1. Click on App Launcher 2. Find an app - Firefox, Dolphin etc - right click and select Pin to Task Manager 3. Nothing happens - the app icon doesn't show up on Task Manager OBSERVED RESULT Aug 26 13:44:23 borker plasmashell[371005]: QMetaObject::invokeMethod: No such method PlasmoidItem_QML_412::hasLauncher(QVariant) Candidates are: hasLauncher(QUrl) Aug 26 13:44:23 borker plasmashell[371005]: QMetaObject::invokeMethod: No such method PlasmoidItem_QML_412::hasLauncher(QVariant) Candidates are: hasLauncher(QUrl) Aug 26 13:44:23 borker plasmashell[371005]: QMetaObject::invokeMethod: No such method PlasmoidItem_QML_412::hasLauncher(QVariant) EXPECTED RESULT App icon is pinned to task manager. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.1.80 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.2 Kernel Version: 6.11.0-rc5 (64-bit) Graphics Platform: Wayland Processors: 24 × AMD Ryzen 9 7900X 12-Core Processor Memory: 62.4 GiB of RAM Graphics Processor: AMD Radeon RX 7900 GRE Manufacturer: ASUS ADDITIONAL INFORMATION Launching the app and then doing the same using the app's task manager icon does work.