Bug 486817

Summary: "Run command" does nothing - tested with cmd/powershell commands
Product: [Applications] kdeconnect Reporter: Timo <timovdvenne>
Component: windows-applicationAssignee: brute4s99 <piyushaggarwal002>
Status: REPORTED ---    
Severity: major    
Priority: NOR    
Version First Reported In: 24.02.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Timo 2024-05-09 18:24:37 UTC
SUMMARY


STEPS TO REPRODUCE
1. Fresh install of KDE-connect on windows and android, link them
2. Add command to "run commands" in plugin settings
    I've added "Rundll32.exe user32.dll,LockWorkStation" as this command works in both cmd and powershell. It's normal that the sample commands don't work as they're for linux (these should be removed/replaced)
3. try to run the command
I've confirmed that the connection is not the problem by using the file sharing function.

OBSERVED RESULT

Command isn't runned, screen doesn't lock. There's also no error message.

EXPECTED RESULT
Lock screen of windows device.

SOFTWARE/OS VERSIONS
Windows: 11 home
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

I've also tried it with the simplest command on windows: "cmd", this also does nothing.