Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    timeline: events are not drawn after changing the timeline resolution

    Hello,

    After changing the time granularity of the timeline using
    Code:
    currentTimeline.setResolution(headerLevels, unit, unitCount);
    the events are not drawn until a redrawing is forced, e.g. by moving the indicator or scrolling up/down. After that the events show up on the timeline.


    SmartClient Version: SNAPSHOT_v10.0d_2014-07-10/Pro Deployment (built 2014-07-10)

    Browser: FF 30.0

    #2
    This isn't reproducible. Once again, we'll need to see a test-case that shows what settings you have and actually demonstrates an issue

    Comment


      #3
      For all tests I have been using the SiemensTimelineTest.java you have provided earlier (with mostly no changes).
      It has several buttons to switch the resolution at runtime - literally any of those will reproduce the issue.
      Would you like to have the minorly tweaked versions of the java and the css files you have provided?

      Comment


        #4
        If you mean the 700+ lines of Java code we sent at the beginning of the year, then as you can imagine, that's not an ideal minimal test-case to demonstrate individual issues - it's essentially a mockup that demonstrates a great many settings and features in one go.

        We don't see the issue you describe in local tests - but you're using SmartGWT 5.0, which is not yet released, and your build is two weeks old - since changes have been made in that interim, our advice once again is to update to the latest from smartclient.com/builds.

        If, after updating to the latest, you still see issues with setResolution(), we will take a further look

        Comment


          #5
          We still see the issue. Please have a look at the provided example.

          In order to reproduce the issue, load the example and click on the
          "Hours (1 day)" button. You will notice that no events are drawn in the timeline. If you scroll down, the events will show up.

          SmartClient Version: SNAPSHOT_v10.0d_2014-08-05/Pro Deployment (built 2014-08-05)

          Browser: FF 31.0
          Attached Files
          Last edited by klevi; 8 Aug 2014, 06:45.

          Comment


            #6
            We've just made a change that addresses this issue in the sample you posted.

            Please retest with a build dated September 2 or later.

            Comment


              #7
              Verified with latest build. The issue is gone.

              Comment

              Working...
              X