Bug 19755 - [ExternalTools] selected resource not available
Summary: [ExternalTools] selected resource not available
Status: RESOLVED DUPLICATE of bug 15821
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2002-06-09 23:53 EDT by Chris McLaren CLA
Modified: 2002-10-15 12:47 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***