Bug 8508 - Not possible to disable clipboard sync from the client
Summary: Not possible to disable clipboard sync from the client
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Client (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.19.0
Assignee: Adam Halim
URL:
Keywords: ossman_tester, relnotes
Depends on:
Blocks:
 
Reported: 2025-02-05 10:14 CET by Adam Halim
Modified: 2025-02-13 10:48 CET (History)
0 users

See Also:
Acceptance Criteria:
MUST: * It should be possible to configure clipboard sync from tlclient SHOULD: * Configuration should be available from the GUI


Attachments

Description Adam Halim cendio 2025-02-05 10:14:13 CET
Currently, the clipboard is always automatically synced between the client and server when using the native client, unless it is disabled on the server side.

This could be a concern for some privacy-focused users. It would be cool if there was an easy way to disable this from the client.
Comment 1 Adam Halim cendio 2025-02-05 10:18:14 CET
TigerVNC already has options in the GUI to send/receive the clipboard to/from the server. Perhaps we could do something similar in our GUI.
Comment 2 Adam Halim cendio 2025-02-05 16:24:06 CET
I decided to add a simple checkbox to the "Local devices page", with the text "Clipboard synchronization".

Keeping it as a single on/off, as opposed to the more advanced settings available in TigerVNC seems like a good idea. Let's not worry users with advanced settings that aren't relevant to most.

With the checkbox enabled, the behaviour is identical to previous versions of ThinLinc. When the checkbox is disabled, clipboard synchronization is completely disabled (client->server & server->client). Both the server and the client manage their clipboards separately.

The checkbox can also be toggled on/off even after a session is established.
Comment 5 Adam Halim cendio 2025-02-05 16:30:19 CET
Tested client build r41532 on Fedora 40, macOS 15.2 and Windows 10 against server 4.18.0 on RHEL 9.

The new setting works as expected. With the checkbox unchecked, clipboards were not synced. Changing the setting while the session is already running also works as expected.
Comment 6 Adam Halim cendio 2025-02-11 15:37:03 CET
Our documentation (TAG + screenshots) should be updated before this bug can be considered resolved, reopening.
Comment 11 Adam Halim cendio 2025-02-12 14:56:22 CET
The local devices page in the TAG has had the options screenshot updated to include the new check box, and a description has also been added. The client config parameters page has also been updated to match the new config parameter
Comment 12 Pierre Ossman cendio 2025-02-13 10:48:54 CET
> MUST:
>   * It should be possible to configure
>     clipboard sync from tlclient

Yup. There is a new setting that disables/enables clipboard in both directions.

> SHOULD:
>   * Configuration should be available from
>     the GUI

Yup. It's available in both before connecting, and whilst connected.

Code looks good. Release notes look good.

Note You need to log in before you can comment on or make changes to this bug.