Replies: 2 comments
-
There are always corner cases where native and SWT code can't do things one would like to do. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@basilevs in general for such actions it is good to simply use Display.asyncExec and perform the new operation there. This allows the current pending events to finish before the next action (showing another dialog) is performed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My Eclipse-based application has hanged indefintely in an method
close()
of a Dialog. I suspect this is caused by the fact, that the method attempts (indirectly) to open another Dialog. I was going to file a bug, but I don't understand what is the expected behavior in this case. Can a Dialog show another Dialog? If yes, then why not from some focus listener that fires when dialog is closed?UPDATE:
I've failed to reproduce the problem with a pure SWT test:
It seems like use of JFace Dialog is essential to reproduce
Beta Was this translation helpful? Give feedback.
All reactions