Bug 413650 - KDE Connect bug restarting after windows wakes from sleep
Summary: KDE Connect bug restarting after windows wakes from sleep
Status: ASSIGNED
Alias: None
Product: kdeconnect
Classification: Applications
Component: windows-application (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: brute4s99
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-30 22:01 UTC by Black_socrates42
Modified: 2024-08-02 22:34 UTC (History)
5 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 Black_socrates42 2019-10-30 22:01:05 UTC
SUMMARY


STEPS TO REPRODUCE
1. Have KDE Connect running in system tray when computer is set to sleep at the end of the day
2. Wake the computer after 6-8 hours 

OBSERVED RESULT
Error message in KDE Connect config window until the program is quit and restarted

EXPECTED RESULT
Program should resume normal function and connect to android phone automatically

SOFTWARE/OS VERSIONS
Windows: 1903
OS Build: 18362.418


ADDITIONAL INFORMATION
Comment 1 brute4s99 2019-10-30 22:03:53 UTC
thank you for filing the bug, I'll take a look!
Comment 2 Black_socrates42 2019-11-04 18:43:11 UTC
I've noticed its not just when my system awakes from sleep mode, If connect runs for too long it seems to run into some type of error. The config window will say "Failed to execute program org.kde.kdeconnect: The system cannot" until it is restarted. I'm not sure if its something my computer is doing (because my system is a little old at this point even though windows is up to date) or something conflicting with the program.
Comment 3 Odin Vex 2020-01-08 20:58:39 UTC
I have the same problem. At any time, KDE Connect can completely "just not work" unless I restart it. Even then, it can take quite a bit of time (a minute, maybe half an hour) for KDE Connect to begin working again. Eventually I will get "Failed to execute program org.kde.kdeconnect: The system cannot...(find the file specified)..." Meanwhile, my phone and laptop can see each other and respond to one another with no issues. Firewalls have been disabled for testing but make no difference.
Comment 4 Odin Vex 2020-01-08 21:02:16 UTC
I'd like to add, I'm using kdeconnect-kde-master-263-windows-msvc2017_64-cl.exe.
Comment 5 brute4s99 2020-11-09 22:16:18 UTC
KDE Connect should not crash as often as it used to, anymore. Also, it is not able to restart on its own reliably right now and a fix is under review already!
Please install the latest build from https://binary-factory.kde.org/job/kdeconnect-kde_Nightly_win64/ for a smoother experience!

Some relevant improvements:-
- battery plugin does not crash kdeconnect anymore
- resume from suspend should not crash kdeconnect anymore
- notifications should not crash kdeconnect anymore

If there are any crashes feel free to revert to me through this thread!