Community
Participate
Working Groups
When I open the diff dialog with a double-click from the commit dialog, it sometimes happens that this dialog is opened behind the commit dialog. The most annoying part is, that when I close the diff window, the commit dialog is "hidden". I need to use Expose (on OS X) the get back. Unfortunately this happens not all the time and I don't have a clue, what triggers this behavior.
- Code looks ok. Parent widget of diff window is the active workbench window. - Could not reproduce the problem both on Windows 7 and Mac.
(In reply to comment #1) > - Code looks ok. Parent widget of diff window is the active workbench window. > - Could not reproduce the problem both on Windows 7 and Mac. Hmm, with the newest nightly build (EGit 0.10.0.201010261520), this still occurs. What I did is: - Right-click on the project name - Team -> Commit... - Double-click on a modified file Sometimes the compare window opens behind the commit window. Interestingly this depends on the commit dialog "session": Either all compare windows are opened in the background or all are opened correctly. What other information could be useful to narrow this problem down?
(In reply to comment #1) > - Code looks ok. Parent widget of diff window is the active workbench window. > - Could not reproduce the problem both on Windows 7 and Mac. This is not correct. org.eclipse.compare.CompareUI.openCompareDialog always uses the active workbench window as parent. But the parent should be the commit dialog. So we have the window hierarchy Workbench Window |____Commit Dialog |____Compare Dialog and it's not clearly defined which hwindow should be on top.
Closed due to being too old to investigate.