Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-21828

OpenShift Explorer view flickers when refreshing a service

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.4.1.AM1
    • 4.3.1.Beta2
    • openshift
    • None

      When calling the "Refresh" command on a service, the tree view flickers because of too many refresh calls.
      Adding some traces revealed 25 calls to BaseExplorerContentProvider#refreshViewer(Object), which seems way too much for a service with a single pod.

      Attachement: screenshot of the OpenShift Server view, showing 2 projects, one of which has 3 services.

      Custom/added logs in the console:

      Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
      Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
      Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
      Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
      Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
      Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
      Refreshing viewer from sample/jee-sample
      Refreshing viewer from sample/jee-sample
      Refreshing viewer from sample/jee-sample
      Refreshing viewer from sample/jee-sample
      Refreshing viewer from sample/mongodb
      Refreshing viewer from sample/mongodb
      Refreshing viewer from sample/mongodb
      Refreshing viewer from sample/nodejs-mongodb-example
      Refreshing viewer from sample/nodejs-mongodb-example
      Refreshing viewer from sample/nodejs-mongodb-example
      Refreshing viewer from sample/nodejs-mongodb-example
      Refreshing viewer from sample/jee-sample
      Refreshing viewer from sample/jee-sample
      Refreshing viewer from sample/jee-sample
      Refreshing viewer from sample/jee-sample
      Refreshing viewer from sample/nodejs-mongodb-example
      Refreshing viewer from sample/nodejs-mongodb-example
      Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
      Refreshing viewer from org.jboss.tools.openshift.internal.ui.models.OpenShiftProjectUIModel@431dafbc
      

              tmader@redhat.com Thomas Mäder (Inactive)
              xcoulon@redhat.com Xavier Coulon
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: