[
https://issues.jboss.org/browse/JBIDE-14700?page=com.atlassian.jira.plugi...
]
Fred Bricon resolved JBIDE-14700.
---------------------------------
Resolution: Done
Fixed in master. Stacks download is handled in a progressdialog. Cancel button works
(returns immediately), even if the underlying connection can't be cancelled (it'll
timeout eventually)
NewProjectExamplesStacksRequirementsPage locks UI thread when
StackClient.getStacks() called when
raw.github.com is not available
---------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-14700
URL:
https://issues.jboss.org/browse/JBIDE-14700
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: project-examples
Affects Versions: 4.1.0.Beta1
Environment: Any
Reporter: Denis Golovin
Assignee: Fred Bricon
Fix For: 4.1.0.Beta2
ProjectsExamples freezes UI if
raw.github.com is not available. It happens because
StackClient tries to download stacks definition from
raw.github.com/jboss-jdf/jdf-stack/1.0.0.Final/stacks.yaml.
Solution is to put Stacks initialization/download in new thread and wait in UI thread and
check for timeout or cancel request form user.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira