Bug 492138 - KWalletManager 24.08.0 didn't start when run from the Application Launcher menu with the error notification Launching KWalletManager (Failed): The name is not activatable
Summary: KWalletManager 24.08.0 didn't start when run from the Application Launcher me...
Status: RESOLVED FIXED
Alias: None
Product: kwalletmanager
Classification: Applications
Component: general (show other bugs)
Version: 24.08.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Valentin Rusu
URL:
Keywords:
: 492258 492496 492953 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-08-24 16:53 UTC by Matt Fagnani
Modified: 2024-09-10 17:40 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Fagnani 2024-08-24 16:53:52 UTC
SUMMARY

KWalletManager 24.08.0 didn't start when run from the Application Launcher menu with the error notification Launching KWalletManager (Failed): The name is not activatable in Plasma 6.1.4 on Wayland in a Fedora 41 KDE installation. The KWalletManager Application Launcher menu entry points to ~/.local/share/applications/org.kde.kwalletmanager.desktop with the name org.kde.kwalletmanager in the General tab of its Properties window which was created after the time of the update to KDE Gear 24.08.0. KWalletManager 24.08.0 started normally when I ran it from the System Settings KDE Wallet page's Launch Wallet Manager and with kwalletmanager5 in Konsole.

This problem didn't happen with KWalletManager 24.05.2 which has /usr/share/applications/org.kde.kwalletmanager5.desktop with the name org.kde.kwalletmanager5. The name change to org.kde.kwalletmanager in the desktop file might be involved. The commit Fix desktop file name https://invent.kde.org/utilities/kwalletmanager/-/commit/3478852e6600cbea7e87a32e5d11ca859fa59e1f#9a2aa4db38d3115ed60da621e012c0efc0172aae appeared to change the desktop file name from org.kde.kwalletmanager5.desktop to org.kde.kwalletmanager.desktop

STEPS TO REPRODUCE
1. Boot a Fedora 41 KDE installation upgraded to KDE Gear 24.08.0
2. Log in to Plasma 6.1.4 on Wayland
3. Open the Application Launcher menu
4. Search for KWalletManager in the Application Launcher menu
5. Select KWalletManager in the Application Launcher menu

OBSERVED RESULT
KWalletManager 24.08.0 didn't start when run from the Application Launcher menu with the error notification Launching KWalletManager (Failed): The name is not activatable

EXPECTED RESULT
KWalletManager 24.08.0 should've started when run from the Application Launcher menu

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 41
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2024-08-27 06:22:08 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kwalletmanager/-/merge_requests/50
Comment 2 Méven Car 2024-08-27 13:03:16 UTC
*** Bug 492258 has been marked as a duplicate of this bug. ***
Comment 3 Antonio Rojas 2024-09-01 15:54:21 UTC
*** Bug 492496 has been marked as a duplicate of this bug. ***
Comment 4 Nicolas Fella 2024-09-01 17:09:48 UTC
Git commit e42afee809f8df056d0d882cc01586f80bcf1786 by Nicolas Fella, on behalf of György Balló.
Committed on 01/09/2024 at 17:02.
Pushed by nicolasfella into branch 'master'.

Fix service file name

The D-Bus service name should match with the desktop file name to make D-Bus activation work, otherwise the application cannot be launched. The desktop file name was changed in commit 3478852e6600cbea7e87a32e5d11ca859fa59e1f.

M  +1    -1    CMakeLists.txt

https://invent.kde.org/utilities/kwalletmanager/-/commit/e42afee809f8df056d0d882cc01586f80bcf1786
Comment 5 Nicolas Fella 2024-09-01 17:13:14 UTC
Git commit 9b25d58f40a3ecf0fb41200ff735fef158f3925f by Nicolas Fella, on behalf of György Balló.
Committed on 01/09/2024 at 17:13.
Pushed by nicolasfella into branch 'release/24.08'.

Fix service file name

The D-Bus service name should match with the desktop file name to make D-Bus activation work, otherwise the application cannot be launched. The desktop file name was changed in commit 3478852e6600cbea7e87a32e5d11ca859fa59e1f.
(cherry picked from commit e42afee809f8df056d0d882cc01586f80bcf1786)

M  +1    -1    CMakeLists.txt

https://invent.kde.org/utilities/kwalletmanager/-/commit/9b25d58f40a3ecf0fb41200ff735fef158f3925f
Comment 6 Antonio Rojas 2024-09-10 17:40:26 UTC
*** Bug 492953 has been marked as a duplicate of this bug. ***