Community
Participate
Working Groups
Created attachment 261406 [details] Screenshot of deadlock The attached screenshot shows a deadlock caused by: Commit files <lose patience waiting for conformation> Select a branch Delete the branch <conformation dialog causes deadlock> I think the problem is that the "Delete Branch" dialog is the active model dialog and it loses focus when the commit conformation pops up. Hence a deadlock. Have to kill Eclipse. Therefore MAJOR.
Trying again after restarting Eclipse, there is clearly a problem with the Delete Branches Progress Information. It does not acquire focus and so does not support Cancel.
Looks like a duplicate of bug 487209. What EGit UI version did this occur in? Can you reproduce it with the latest nightly build from http://download.eclipse.org/egit/updates-nightly/ ?
Certainly looks the same. The fix seems to be a simple fix of a smelly programming idiom. I suggest a search for all similar instances of the smelly idiom and/or a run-time assertion that a ModalDialogShellProvider is in use.
(In reply to Ed Willink from comment #3) > Certainly looks the same. > > The fix seems to be a simple fix of a smelly programming idiom. I suggest a > search for all similar instances of the smelly idiom and/or a run-time > assertion that a ModalDialogShellProvider is in use. The smelly idiom is throwing a dialog at the user from a background job. Unfortunately there's no simple grep for that. As far as I'm aware of only the push and fetch result dialogs cause this, and all instances where those are opened asynchronously have been fixed in bug 487209. Could you please answer my two questions from above?
(In reply to Thomas Wolf from comment #2) > What EGit UI version did this occur in? 4.2.0 / 4.3.0 - seems my two installations picked up different versions > Can you reproduce it with the latest nightly build from > http://download.eclipse.org/egit/updates-nightly/ ? 4.4.0-20160426 seems much better.
Feel free to re-open or to report a new bug if it occurs again with EGit 4.4.0 or later. *** This bug has been marked as a duplicate of bug 487209 ***