https://bugs.kde.org/show_bug.cgi?id=441062
Bug ID: 441062 Summary: Unnecessary daemon reload makes logout process longer when exiting Plasma session Product: kdeconnect Version: unspecified Platform: Manjaro OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: common Assignee: albertv...@gmail.com Reporter: yule2...@live.com Target Milestone: --- Created attachment 140784 --> https://bugs.kde.org/attachment.cgi?id=140784&action=edit Journal log at logout SUMMARY In a Plasma session, kdeconnectd (the KDE Connect daemon) gets automatically (re)launched by DBus immediately after the user logs out or initiates a shutdown, causing the logout process to be delayed. STEPS TO REPRODUCE 1. Make sure that KDE Connect is installed in the system and already set up 2. Log out or shut down from Plasma as usual OBSERVED RESULT Immediately after the user clicks on "Log Out" or "Shutdown" in Plasma, the KDE Connect daemon is relaunched by DBus, as shown in the included journal log. As a result, the logout process gets delayed, i.e. the session would be stuck at a blank screen with a movable cursor longer than the user would expect, sometimes around 30 seconds or more. EXPECTED RESULT KDE Connect and its tray icon would exit as soon as the user clicks one of the aformentioned session control buttons, and its daemon doesn't get relaunched as the user logs out. The session would exit sooner than observed and therefore it spends less time at a blank screen. SOFTWARE/OS VERSIONS KDE Connect Version: 21.08.0 Operating System: Manjaro Linux KDE Plasma Version: 5.22.4 KDE Frameworks Version: 5.84.0 Qt Version: 5.15.2 Kernel Version: 5.13.6-1-MANJARO (64-bit) Graphics Platform: X11 Processors: 12 × AMD Ryzen 5 1600 Six-Core Processor Memory: 15.6 GiB of RAM ADDITIONAL INFORMATION The session exited immediately when I switched to a TTY and ran `pkill kdeconnectd`, confirming the culprit of the long delays with logging out. The attached journal log has QML and XCB error messages removed for your convenience. -- You are receiving this mail because: You are watching all bug changes.