[jbosstools-issues] [JBoss JIRA] (JBIDE-22386) Server Editor: Select different service takes too long

Andre Dietisheim (JIRA) issues at jboss.org
Mon May 23 05:07:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-22386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240990#comment-13240990 ] 

Andre Dietisheim commented on JBIDE-22386:
------------------------------------------

good suggestion for an enhancement in WizardUtils!
Loading is done [in a job|https://github.com/jbosstools/jbosstools-openshift/blob/master/plugins/org.jboss.tools.openshift.ui/src/org/jboss/tools/openshift/internal/ui/server/SelectServiceWizard.java#L219] though. You should therefore see a progress bar in the main workbench wizard, dont you? 
I believe though that another problem here is that loading the resources occurrs in the end of the [#createControls|https://github.com/jbosstools/jbosstools-openshift/blob/master/plugins/org.jboss.tools.openshift.ui/src/org/jboss/tools/openshift/internal/ui/server/SelectServiceWizard.java#L107]. Maybe if the loading occurrs in [AbstractOpenShiftWizardPage#onPageActivated or AbstractOpenShiftWizardPage#onPageWillGetActivated|https://github.com/jbosstools/jbosstools-openshift/blob/master/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/application/ApplicationTemplateWizardPage.java#L390] things should behave better. Even though I vaguely remember an issue in (platform)  wizardPageChangeAdapters where the adapter wasnt called on activation for the 1st page.

> Server Editor: Select different service takes too long
> ------------------------------------------------------
>
>                 Key: JBIDE-22386
>                 URL: https://issues.jboss.org/browse/JBIDE-22386
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.4.0.Alpha1
>            Reporter: Marián Labuda
>              Labels: openshift_v3, server_editor
>             Fix For: 4.4.0.Alpha3
>
>
> Trying to select a different service for an OpenShift 3 Server Adapter in Server Editor takes too long. After click on the Select... button it takes ~2-3 seconds to open dialog to select a different service. It would be ok to take it that time if there would be some indication that something is happening, but there is no job while "something" is happening.
> Also clicking on the button multiple times (if it is not responsible, I clicked again and again and again), it takes a bit longer and open multiple dialogs.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list