Bug 440473

Summary: Failed to contact the KDE global shortcuts daemon / Error: org.freedesktop.DBus.Error.NoReply
Product: [Frameworks and Libraries] frameworks-kglobalaccel Reporter: gemini4545 <gemini4545>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description gemini4545@163.com 2021-08-01 02:19:38 UTC
SUMMARY
When go into the GlobalShortCuts settings, the settings is frozen for about 1 min, and then the error message comes with "Failed to contact the KDE global shortcuts daemon. message: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Error:org.freedesktop.DBus.Error.NoReply

It's been happening like this since setting a wine application "WeChat"(微信)into the globalhotkeys settings. I guess it is caused by the unrecognized Chinese characters because the application name include the Chinese name. 

Also tryied to delete the revelant content in "~/.config/kglobalhotkeysrc", and restart the kglobalaccel5, still not work, message as below:
DBusObjectPath: invalid path "/component/微信_desktop"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Yaru/16x16/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Yaru/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Yaru/24x24/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Yaru/32x32/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Yaru/48x48/legacy/"
Invalid Context= "Apps" line for icon theme:  "/usr/share/icons/Yaru/256x256@2x/apps/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Yaru/256x256@2x/mimetypes/"
Invalid Context= "Mimetypes" line for icon theme:  "/usr/share/icons/Yaru/scalable/mimetypes/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/64x64/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/64x64/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/96x96/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/96x96/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/scalable/ui/"
QDBusObjectPath: invalid path "/component/微信_desktop"
QDBusConnection: error: could not send reply message to service "": Marshalling failed: Invalid object path passed in arguments

ADDITIONAL INFORMATION
Everytime after rebooting the system, the deleted content in "~/.config/kglobalhotkeysrcf" is self-recovered. 

The settings of "Custom Shortcuts" and "Standard Shortcuts" run normally, except the "global shortcuts"


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 20.04 focal
KDE Plasma Version: Plasma 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8