-
Notifications
You must be signed in to change notification settings - Fork 182
Spin event loop to process pending UI updates before checking the pasted content on the Text. #2497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spin event loop to process pending UI updates before checking the pasted content on the Text. #2497
Conversation
Test Results 409 files - 137 409 suites - 137 24m 47s ⏱️ - 9m 25s Results for commit 29c913b. ± Comparison against base commit 9164303. This pull request removes 37 tests.
♻️ This comment has been updated with latest results. |
Please add a remark on |
678c661
to
3aadcfd
Compare
Fixed.. I will check the test results once the build is completed. |
This PR has fixed the copy test..
|
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
Outdated
Show resolved
Hide resolved
63ae609
to
ba57aa2
Compare
content on the Text. As content copy/paste works well manually junit fails because junit checks the text content well before it is updated by GTK. So it is a timing delay. Processing all the pending events make sure text is updated(Either by introducing some delay in junit or really processing any pending UI updates). see eclipse-platform#2491
ba57aa2
to
29c913b
Compare
Thanks. |
As content copy/paste works well manually junit fails because junit checks the text content well before it is updated by GTK. So it is a timing delay. Processing all the pending events make sure text is updated(Either by introducing some delay in junit or really processing any pending UI updates).
see #2491