[jbosstools-issues] [JBoss JIRA] (JBIDE-15887) Application wizard: typing application name is delayed, sluggish, poor responsiveness

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Thu Nov 7 12:45:02 EST 2013


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

Andre Dietisheim edited comment on JBIDE-15887 at 11/7/13 12:44 PM:
--------------------------------------------------------------------

I have no clue what is causing this. I tried with a fresh Eclipse IDE and it didnt help. Connecting jvisualvm did not unveil anything suspicious but major activity of org.eclipse.core.internal.databinding.beans.BeanPropertyHelper#readProperty right after native GTK (most likely key events)

!visual-vm.png!

I noticed that when you change the name of the application you trigger 3 MultiValidators:

- ApplicationConfigurationWizardPage#NewApplicationNameValidator
- ProjectAndServerAdapterSettingsWizardPage#UseExistingOpenProjectValidator
- GitCloningSettingsWizardPage#RepoPathValidationStatusProvider

This is required since the application name is the name of the new workspace project that the application will get imported into (thus needs to be validated aka made sure no such proj exists). And the application name is also used for the folder that the application is cloned into (and thus needs to get validated, too).
The lagging improves a lot as soon as I comment some validators (just the body, not the creation).
                
      was (Author: adietish):
    I have no clue what is causing this. I tried with a fresh Eclipse IDE and it didnt help. Connecting jvisualvm did not unveils major activity of org.eclipse.core.internal.databinding.beans.BeanPropertyHelper#readProperty right after native GTK (most likely key events)

!visual-vm.png!

I noticed that when you change the name of the application you trigger 3 MultiValidators:

- ApplicationConfigurationWizardPage#NewApplicationNameValidator
- ProjectAndServerAdapterSettingsWizardPage#UseExistingOpenProjectValidator
- GitCloningSettingsWizardPage#RepoPathValidationStatusProvider

This is required since the application name is the name of the new workspace project that the application will get imported into (thus needs to be validated aka made sure no such proj exists). And the application name is also used for the folder that the application is cloned into (and thus needs to get validated, too).
The lagging improves a lot as soon as I comment some validators (just the body, not the creation).
                  
> Application wizard: typing application name is delayed, sluggish, poor responsiveness
> -------------------------------------------------------------------------------------
>
>                 Key: JBIDE-15887
>                 URL: https://issues.jboss.org/browse/JBIDE-15887
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.1.1.Beta1
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>            Priority: Critical
>             Fix For: 4.1.1.CR1
>
>         Attachments: openshift-jbds7-ga.ogv, openshift-jbds71Beta1b.ogv, openshift.ogv, visual-vm.png
>
>
> If you launch the Application wizard to create a new application you get the first wizard page where you should provide a name for your new application. Typing into this text-field is very slow, the inputs make it to the widget in a very delayed manner.

--
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


More information about the jbosstools-issues mailing list