Bug 5124 - Windows clipboard monitoring is unstable (new api is available)
Summary: Windows clipboard monitoring is unstable (new api is available)
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VNC (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Pierre Ossman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-06 11:36 CEST by Pierre Ossman
Modified: 2023-01-31 13:16 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2014-05-06 11:36:19 CEST
As seen from bug 5096, the clipboard monitoring system in Windows is very fragile and breaks if only a single application does something wrong. Fortunately a new API was introduced in Vista that does not suffer from this poor design.

We probably still need to be backwards compatible with older versions of Windows, so we'll have to implement this on a "if available" basis.

The new API is accessed using AddClipboardFormatListener().
Comment 1 Henrik Andersson cendio 2014-06-11 10:21:02 CEST
There is also a report that if you start a Citrix client connection before ThinLinc it will prevent ThinLinc to get clipboard notifications until the Citrix client is closed. This is reported as Case 2 in issue15119 and might be related to that we use the old clipboard API for backward compability.

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