[
https://issues.jboss.org/browse/JBIDE-17502?page=com.atlassian.jira.plugi...
]
Rob Stryker commented on JBIDE-17502:
-------------------------------------
After launching the download job, we do the following:
{code}
IProgressService progressService= PlatformUI.getWorkbench().getProgressService();
Shell sh = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
progressService.showInDialog(sh, downloadJob);
{code}
Eclipse just refuses to open the progress dialog until the preference page is open.
If I use a "New Shell" entirely, then you can't click "Run in
Background" until you close the preference page, despite the preference page being
behind the progress monitor dialog, so using a new shell is also not acceptable.
If I use the active shell from the download-runtimes wizard, then we run into our initial
problem, that the progress monitor dialog is opened and closed immediately such that it
feels like it goes to background without even displaying.
No idea how to fix this or wtf is going wrong.
Runtime download should not go to background immediately
--------------------------------------------------------
Key: JBIDE-17502
URL:
https://issues.jboss.org/browse/JBIDE-17502
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: server
Affects Versions: 4.2.0.Beta2
Environment: JBDS 8.0.0.Beta2a B106
Reporter: Martin Malina
Assignee: Rob Stryker
Fix For: 4.2.0.Beta3
When you download a new runtime through Preferences -> JBoss Tools -> Runtime
Detection -> Download, after you select the type and set everything, once the download
starts, it goes to background immediately.
I think it's confusing.
I would suggest that the download progress is shown and there is a button "Run in
background".
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)