SUMMARY Remote input on Wayland doesn't work. STEPS TO REPRODUCE: 1. Open KDE connect app and connect to Wayland based environment 2. Select Remote Input 3. Touch phone screen and observe that nothing happens OBSERVED RESULT: Nothing happens EXPECTED RESULT: Touch input should control the mouse pointer on the remote machine. SOFTWARE/OS VERSIONS: Fedora Linux 35 with Swaywm 1.6.1 KDE Connect kdeconnect-cli version 21.04.3 Kernel Version: 5.15.14-250.vanilla.1.fc35.x86_64 Graphics Platform: Wayland Processor: AMD Ryzen 7 3700X Memory: 15.9 GiB of RAM Graphics Processor: Mesa AMD Radeon R9 Fury Nokia 6.1 with Android 10 with KDE connect 1.17.0 Oneplus 6 running PostmarketOS with KDE connect. ADDITIONAL INFORMATION Neither Nokia nor Oneplus can send remote input to the Fedora machine that's running Sway.
Android 11 FP3 F-droid KDE Connect 1.19.1 The mouse functionality works OK. Compose send doesn't sent anything, neither the Remote presentation next or previous slide buttons(laser works) Operating System: Arch Linux KDE Plasma Version: 5.25.3 KDE Frameworks Version: 5.96.0 Qt Version: 5.15.5 Kernel Version: 5.18.12-hardened1-1-hardened (64-bit) Graphics Platform: Wayland Processors: 6 × Intel® Core™ i5-8400 CPU @ 2.80GHz Graphics Processor: AMD Radeon RX 580 Series PD: BUG https://bugs.kde.org/show_bug.cgi?id=444583 is a candidate for closing or a duplicate of this one.
On Plasma remote input should work properly (both keyboard and mouse) with Plasma 5.27 and KDE Connect 23.04 once both are released, which is bug 429173. Sway (and wlroots based stuff in general) however currently lacks support for the XDG remote desktop portal (see https://github.com/emersion/xdg-desktop-portal-wlr/issues/2), which is what KDE Connect 23.04 will use for remote input functionality, so I think that would now be an upstream issue rather than a KDE Connect issue.
Is this specific issue fixed now? There are still some other bugs about remote input not working in general: - https://bugs.kde.org/show_bug.cgi?id=470839 - https://bugs.kde.org/show_bug.cgi?id=471258 - https://bugs.kde.org/show_bug.cgi?id=471959
As I said back in comment 2 this should have been fixed since Plasma 5.27 and KDE Connect 23.04, and it's certainly been working for me since then, except for the permissions dialog needing to be manually accepted once on every boot: https://bugs.kde.org/show_bug.cgi?id=480235 The problem with Sway and the other wlroots compositors remain since they still don't appear to have implemented the remote desktop portal.
Do you have a screenshot of how this permission dialog should look like? I'm pretty sure that it didn't show up at all for me.
Created attachment 169569 [details] Modal window asking for permissions This is the windows asking for permission to control KDE Plasma input from a KDE connect device (in spanish)
I got it now. Could it be that it just doesn't work the first time after setup? I've rebooted both the Android device and the PC and then it showed this window.
I've also experienced issue with the permission popup seemingly not appearing all the time. I've also had times where I'll accept the permission and then a few hours later when I go to use the remote input feature again. It no longer works. Rebooting or killing the kdeconnect dameon and starting again will solve the issue and show the permission box again, but it simply feels like the current solution does not persist in a few different scenarios.
As comment 2 points out, the issue of this not working in Sway is something that should be fixed in Sway by correctly implementing the relevant XDG portal. More information on progress regarding this is tracked upstream in https://github.com/emersion/xdg-desktop-portal-wlr/issues/2 Let's track the issue regarding the missing input permission window in bug 489058 - it's confusing to have two different causes in the same issue..