You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running software that includes clipboard monitoring features, all WPF applications on the computer may become extremely slow when performing clipboard copy operations. Meanwhile, other programs such as Winform applications, browsers, and Windows Notepad operate normally.
Symptoms: When selecting "Copy" (or "Cut") from the right-click menu in any text box, it takes 0.5 to 1 second for the menu to close.
Download and unzip the above TestClipboard.zip file, and unzip to a folder.
Sample application was based on .Net8, you should have .Net8 installed on your computer.
Start the applications in the following order. (Order is important) 1) WpfApp1.exe 2) ClipobardMonitor.exe 3) InsideClipboard.exe
Select some text in WpfApp1.exe window, right click, then select COPY menu. it will close with big delay.
default.mp4
Expected behavior
Copy operation should complete immediately.
Actual behavior
Copy will complete with big delay and UI freeze.
Regression?
This problem exists for a long time, both .NET framework and .Net8.
Known Workarounds
No workgorund.
Impact
Very bad user experience.
Configuration
No response
Other information
Time was costed in System.Windows.Clipboard.CriticalSetDataObject, It fails to olesetclipboard and retry many times with Sleep().
The text was updated successfully, but these errors were encountered:
cuiliang
changed the title
Extremely slow COPY operation when some clipboard monitor application running
Extremely slow clipboard operation when some clipboard monitor application running
May 15, 2024
Description
When running software that includes clipboard monitoring features, all WPF applications on the computer may become extremely slow when performing clipboard copy operations. Meanwhile, other programs such as Winform applications, browsers, and Windows Notepad operate normally.
Symptoms: When selecting "Copy" (or "Cut") from the right-click menu in any text box, it takes 0.5 to 1 second for the menu to close.
QQ2024515-84422.mp4
Compared to winform application:
QQ2024515-85941.mp4
Reproduction Steps
TestClipboard.zip
default.mp4
Expected behavior
Copy operation should complete immediately.
Actual behavior
Copy will complete with big delay and UI freeze.
Regression?
This problem exists for a long time, both .NET framework and .Net8.
Known Workarounds
No workgorund.
Impact
Very bad user experience.
Configuration
No response
Other information
Time was costed in System.Windows.Clipboard.CriticalSetDataObject, It fails to olesetclipboard and retry many times with Sleep().
The text was updated successfully, but these errors were encountered: