| Summary: | Diff-Window opens in background | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | leif.bladt |
| Component: | UI | Assignee: | Jens Baumgart <jens.baumgart> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | robin.rosenberg, stefan.lay |
| Version: | 0.10.0 | ||
| Target Milestone: | --- | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
leif.bladt
- 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. |