| Summary: | [Edit] Close Compare Editor when cancelled during initialization stage | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Tomasz Zarna <tomasz.zarna> | ||||||||
| Component: | Compare | Assignee: | Tomasz Zarna <tomasz.zarna> | ||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | kazm | ||||||||
| Version: | 3.7 | ||||||||||
| Target Milestone: | 3.7 M4 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Tomasz Zarna
Created attachment 178630 [details] Intiliazing job's name improved The job that initialize the Compare editor will now inform which editor is starting. This will improve the way these jobs are presented in the Progress view. This is crucial for the scenario from bug 322329, comment 9: many compare editors opened at once. Created attachment 178631 [details] Closing editor when cancelled during init A copy of attachment 176444 [details] from bug 322329. Krzysztof, could you check if the patch is any good? Tom, I have reviewed and tested the patch. The patch looks good a solves the issue. One thing which is confusing me is that I was able to reproduce the issue only using your suggestion from bug 322329, comment 4. I cannot reproduce it in non debug mode as I always have hourglass cursor when I want to click on window from comment 0. Were you able to reproduce this bug in non debug mode? It is rather minor issue but it might be a little confusing for the user that they can never click any buttons on this window. Created attachment 182999 [details] Retrieving log entries (In reply to comment #4) > Were you able to reproduce this bug in non debug mode? Yup. I'm working from home today using a limited Internet connection. When opening a comparison for a file shared in a remote repository I can easily cancel opening the editor when log entries are being fetched[1]. [1] I think the code is here: org.eclipse.team.internal.ui.Utils.updateLabels(SyncInfo, CompareConfiguration, IProgressMonitor), so it is called from org.eclipse.team.ui.synchronize.SaveableCompareEditorInput.prepareInput(IProgressMonitor) Both patches applied to HEAD. Available in builds >=N20101130-2000. verified in N20101204-2000 Thanks Kazik, I've verified the fix in I20101206-1800 as well. |