Bug 344897 - Freezes Plasma when launched from the menu
Summary: Freezes Plasma when launched from the menu
Status: RESOLVED FIXED
Alias: None
Product: kruler
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Mathias Soeken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-06 08:20 UTC by Antonio Rojas
Modified: 2015-03-27 02:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 15.04.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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