Bug 19755

Summary: [ExternalTools] selected resource not available
Product: [Eclipse Project] Platform Reporter: Chris McLaren <csmclaren>
Component: AntAssignee: Platform-Ant-Inbox <platform-ant-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P2 CC: Dave_Thomson, simon_arsenault
Version: 2.0Keywords: ui
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Chris McLaren CLA 2002-06-09 23:53:01 EDT
when an external tool launches, the current view deactivates. when the external 
tool terminates, that view does not reactivate. this causes the selection to 
appear gray. if you attempt to launch a tool again which depends on the 
selected resource for one of its arguments, the tool will not resolve the 
argument, as an inactive view will not return the selection. this is very 
confusing for a user to see the tool fail. see bug 18407 for details.
Comment 1 Simon Arsenault CLA 2002-06-10 10:35:29 EDT
I think this has to do with our use of a progress monitor dialog. Maybe this 
problem will go away if we did not use one for launching programs?
Comment 2 Nick Edgar CLA 2002-06-14 09:58:45 EDT
Not a stop ship.
Comment 3 Simon Arsenault CLA 2002-06-14 10:10:36 EDT
The problem is not related to the progress monitor as I had suggested, instead 
Chris found the problem comes from showing the log console view (it will take 
focus). There is no API to show a view without giving it focus. He had some 
code for a workaround - the only problem was a bit of flicker (remembers the 
active part, shows the log console, activates the old active part).

There is a PR for API to show a view without giving it focus. If we add this in 
release 3.0, we can solve this problem too.
Comment 4 Simon Arsenault CLA 2002-09-06 15:15:02 EDT
Can workbench provide this api?
Comment 5 Darin Swanson CLA 2002-10-15 12:47:19 EDT

*** This bug has been marked as a duplicate of 15821 ***