Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4090

Opening a groupbox takes unexpected long time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.6.1
    • 8.5.2.1
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.6.1 S1

      Steps to Reproduce

      1. load the attached zul
      2. click the groupbox with "performance problem"

      Current Result

      it takes about 3 sec

      Expected Result

      less than 1 sec

      Debug Information

      • the groupbox contains a big HTML table

      Root Cause

      The slow rendering is caused by open animation, slideDown and slideUp, which are based on jQuery animate.

      Workaround

      zk-4090.js - only works for org.zkoss.zul.client.rod="false"

        1. Profile-zk-4090
          1.60 MB
        2. zk-4090.js
          1.0 kB
        3. zk-4090.png
          zk-4090.png
          54 kB
        4. zk-4090.zul
          1.74 MB

            CharlesQiu CharlesQiu
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Time Spent - 3 hours Remaining Estimate - 5 hours
                5h
                Logged:
                Time Spent - 3 hours Remaining Estimate - 5 hours
                3h