| Summary: | Accessing the clipboard contents after copying from text causes lag | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Jonathan Jekeli <jon.jekeli> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, ericwill, jon.jekeli | ||||
| Version: | 3.8 | Keywords: | triaged | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
CentOS 6 is no longer supported, is the issue still reproducible? I tried to download the RCP application, but the zip folder was empty. Closing this ticket now. Please re-open this ticket if the issue is reproducible on 4.8 with GTK3.22. |
Created attachment 237961 [details] Demonstrates issue If i use the default copy in an SWT.Text widget (highlight some text, right-click, select "copy"; which oddly enough does not seem to use the Text.copy() method), then subsequent attempts to access the clipboard via java.awt.Toolkit.getDefaultToolkit().getSystemClipboard().getContents(null) cause extreme lag (approx 3-4 seconds). The lag appears to occur on the getContents(null) call itself, not on any of the other calls. This is occurring on CentOS 6.3, but has been demonstrated on other versions of CentOS as well. I have attached a zip file with a simple RCP project that demonstrates this issue.