Both get and set clipboard actions seem to be out of order.
Anyhow dialog window still returns Success notice when set button pushed and on the other hand it doesn't display clipboard content when get button pushed (in this case console returns uncaughtException1: promise.unhandledRejection: Error reading clipboard error).
Tested with Windows and Linux agents.
MC v0.5.12
Thanks
Your right, I can confirm this. Looking into it.
FYI, I get the following in the agent console when trying to read the remote clipboard:
uncaughtException1: promise.unhandledRejection: Error reading clipboard
In addition the getclip and setclip agent console commands also don't work.
FYI. Bryan found the issue and working on it.
I fixed the windows clipboard issue. The linux clipboard, actually still works. It is just a little different to get used to, becuase linux has multiple different "clipboards" that don't play nice with each other... MC uses the X11 Selection Buffer, because the agent normally runs as a non-user service, so access to user desktop data was done using X11. Some apps, like the terminal, typically don't use the X11 buffers for clipboard.
But I found if you use the middle mouse button in the terminal, you can paste the contents of the data MC places in the X11 buffer.
MeshCentral v0.5.13 is out, should fix this.
Juste tested, I can confirm! 馃憤
Thanks for the report and for the initial issue. Closing this one.
Most helpful comment
FYI. Bryan found the issue and working on it.