Bug 344897

Summary: Freezes Plasma when launched from the menu
Product: [Applications] kruler Reporter: Antonio Rojas <arojas>
Component: generalAssignee: Mathias Soeken <soeken>
Status: RESOLVED FIXED    
Severity: major CC: rolfpedersen
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 15.04.0
Sentry Crash Report:

Description Antonio Rojas 2015-03-06 08:20:02 UTC
Using 15.04 beta. This is similar to
https://bugs.kde.org/show_bug.cgi?id=344595
and
https://bugs.kde.org/show_bug.cgi?id=339094

When opening kruler from the menu, Plasma shell freezes until kruler
is closed, and then a message "Kdeinit couldn't launch /usr/bin/kruler"
appears.

Reproducible: Always
Comment 1 Rolf Pedersen 2015-03-09 14:16:13 UTC
I get to here searching on Google for:  KDEinit could not launch '/usr/bin/kcharselect'

The behavior seems the same when I launch kcharselect from the icon:  no mouse-click works in the desktop until I close kcharselect and I then get the error message cited.

KDE is 4.14.5 on 64-bit Manjaro Linux.

The command in the menu icon is:  kcharselect --qwindowtitle %c

If I call kcharselect from konsole or run command dialog, without switches, the desktop remains usable and there is no error when closing.

If I only change the application command in the icon to kcharselect without switches, the undesired behavior is the same.

If I change the icon command to kcharselect and, in 'Advanced Options', change 'D-Bus registration' from the default 'Multiple instances' to 'None', the icon launches kcharselect without the freeze or error on closing.

If I make the icon command 
kcharselect --qwindowtitle %c 
and leave 'D-Bus registration' at 'None', the behavior seems to be ok,
and make 'D-Bus registration' 'Single Instance', the bad behavior results,
and make 'D-Bus registration' 'Run Until Finished', freeze occurs but no error message on closing.

Thanks.
Comment 2 Hrvoje Senjan 2015-03-27 02:22:09 UTC
Git commit 329281ca9ffdee06687acc341e701586355ddd1d by Hrvoje Senjan.
Committed on 27/03/2015 at 02:19.
Pushed by hrvojes into branch 'Applications/15.04'.

Unbreak KRun powered startup

..by dropping KDE-specific X-DBUS keywords from kruler's desktop file.
Klauncher expected the app registered to DBus, but the code was never
adjusted for that, and there doesn't seem to be a need to do that these days.

REVIEW: 123069
FIXED-IN: 15.04.0

M  +0    -2    org.kde.kruler.desktop

http://commits.kde.org/kruler/329281ca9ffdee06687acc341e701586355ddd1d