kdeconnect-kde/plugins/virtualmonitor
Fabian Arndt 2716a7a2e6 Fixed virtualmonitorplugin url generation
BUG: 485830

The current implementation of the plugin is severly broken.

1. The generated URL links to the localhost
2. The port is not set

-----

The URL is now generated on the request receiving side, not send in the request.
This allows finding a valid IP address.

Furthermore, I changed the protocol by splitting it up. This could become useful, if we ever want to support other rdp protocols/platforms.

Note: This is a breaking change, but the current implementation is not working at all.. so it does not actually break something.
2024-04-28 14:14:26 +00:00
..
CMakeLists.txt kdeconnect_add_plugin: Autogenerate logging category 2023-08-07 19:47:41 +02:00
kdeconnect_virtualmonitor.json SVN_SILENT made messages (.desktop file) - always resolve ours 2024-02-11 01:13:59 +00:00
README Introduce the VirtualMonitor plugin 2022-05-25 00:04:47 +02:00
virtualmonitorplugin.cpp Fixed virtualmonitorplugin url generation 2024-04-28 14:14:26 +00:00
virtualmonitorplugin.h plugins: Prefer using statements with baseclass over empty constructor 2023-08-07 19:28:37 +02:00

This plugin will allow users to use other kde connect devices as external displays.

It will use krfb-virtualmonitor to create it and feed the information and also request an URL to be opened on the other device that should be rendering the contents.

Upon connection, we'll be notifying under kdeconnect.virtualmonitor about our "resolutions, which include objects with a "resolution" and a "scale". These will provide the information necessary to issue a remote feed.

When a virtual monitor is requested, kdeconnect.virtualmonitor.request will include a "url" field that contains all information necessary to connect to the created feed. The remote client needs to support this url type.