Bug 473343

Summary: Virtual Monitor plugin doesn't work
Product: [Applications] kdeconnect Reporter: Vojtěch Erben <erbengi>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: normal CC: andrew.g.r.holmes, dashonwwIII, joserafaeltic, smowtenshi
Priority: NOR    
Version First Reported In: 23.04.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Vojtěch Erben 2023-08-13 17:50:16 UTC
SUMMARY
I'm using krfb 23.04.3 and kwin 5.27.7. When I press the "virtual desktop" button in kdecoonect widget on computer A, it opens the KRDC dialog on computer B, but the IP address pre-filled in the dialog is an address of the computer B (instead of the computer A), which cause the "server not found" error.

STEPS TO REPRODUCE
1. Running 2 computers on Wayland connected via kdeconnect
2. Press the "virtual desktop" button in the kdeconnect widget on computer A
3. Error "server not found" occurred on computer B

OBSERVED RESULT
Error "server not found" occurred

EXPECTED RESULT
Computer B connects to the computer A and shows the remote screen

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
I've found the bug in the code, see the comment in merge request: https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/427#note_726241.
Comment 1 José Rafael 2024-10-01 17:15:32 UTC
I discovered this bug in Plasma 6.1.5 (fedora 40) and Plasma 6.1.90 (6.2) (fedora 41) as well, KRDC is in version 24.08.0 in the 2 versions of fedora and to top it off, because of trying to create a virtual screen, in the monitor settings several virtual screens were created next to each other and it turns out that the mouse cursor disappears when you use it towards these screens!

PC-1
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.11-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-4200U CPU @ 1.60GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4400

PC-2
Operating System: Fedora Linux 41
KDE Plasma Version: 6.1.90
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.11.0-63.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-2410M CPU @ 2.30GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 3000