swingx
  1. swingx
  2. SWINGX-796

JXTaskPane doesn't scroll in 0.9.2

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.3
    • Component/s: Misc Component
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      796

      Description

      JXTaskPane scrolls when it was collapsed or expanded in 0.9.1 by default.
      In 0.9.2 it doesn't scroll, even when I set scrollOnExpand to true.

        Activity

        Hide
        Karl Schaefer added a comment -

        Could you please provide a test case demonstrating the problem?

        Show
        Karl Schaefer added a comment - Could you please provide a test case demonstrating the problem?
        Hide
        mwithake added a comment -

        Created an attachment (id=231)
        Testcase

        Show
        mwithake added a comment - Created an attachment (id=231) Testcase
        Hide
        Karl Schaefer added a comment -

        Not sure what behavior you are expecting to see, but after testing I see no
        difference between 0.9.1 and 0.9.2. The scrollOnExpand property is only useful
        is the JXTaskPaneContainer is inside a JScrollPane or other item that respects
        scrollRectToVisible.

        I am closing an invalid. If you feel there is more to be done here, please say
        something.

        Show
        Karl Schaefer added a comment - Not sure what behavior you are expecting to see, but after testing I see no difference between 0.9.1 and 0.9.2. The scrollOnExpand property is only useful is the JXTaskPaneContainer is inside a JScrollPane or other item that respects scrollRectToVisible. I am closing an invalid. If you feel there is more to be done here, please say something.
        Hide
        mwithake added a comment -

        If you collapse the Panel, in 0.9.1 the Panel scolls under the title.
        In 0.9.2 the panel doesn't scroll, it simply collapse! I am using WinXP.

        Show
        mwithake added a comment - If you collapse the Panel, in 0.9.1 the Panel scolls under the title. In 0.9.2 the panel doesn't scroll, it simply collapse! I am using WinXP.
        Hide
        Karl Schaefer added a comment -

        I don't think that you understand what scrollsOnExpand is supposed to do.
        First, your example does not does include a scroll pane. Second, your example
        does not include multiple task panes, since only one task pane in a scroll pane
        will have no effect, since it is already in the visible area.

        Scrolls on expand is supposed to scroll a scroll pane to the display the
        requested area. Therefore, when a task pane is expanded if the contents is not
        completely visible, the scroll pane is supposed to respond by moving the task
        pane to the top of the scroll pane (or at least far enough up to display the
        entire contents if its smaller than the visible disaply area).

        It sounds like you are seeing some kind of difference between isAnimated=true
        task panes and isAnimated-false. Please confirm this is the case, but again
        from your description of the problem and the provided test case, I do not see
        how scrollsOnExpand is not working as expected.

        Show
        Karl Schaefer added a comment - I don't think that you understand what scrollsOnExpand is supposed to do. First, your example does not does include a scroll pane. Second, your example does not include multiple task panes, since only one task pane in a scroll pane will have no effect, since it is already in the visible area. Scrolls on expand is supposed to scroll a scroll pane to the display the requested area. Therefore, when a task pane is expanded if the contents is not completely visible, the scroll pane is supposed to respond by moving the task pane to the top of the scroll pane (or at least far enough up to display the entire contents if its smaller than the visible disaply area). It sounds like you are seeing some kind of difference between isAnimated=true task panes and isAnimated-false. Please confirm this is the case, but again from your description of the problem and the provided test case, I do not see how scrollsOnExpand is not working as expected.
        Hide
        mwithake added a comment -

        You are right, I missunderstand the scollOnExpand option.
        What I mean is the animation when you collapse or expand the panel. In 0.9.1
        the panel scrolls under the title when you collapse the panel und it scrolls
        out of the title when you press the button to expand. In 0.9.2 now it simply
        collapse or expand, without the scrolling animation.

        Show
        mwithake added a comment - You are right, I missunderstand the scollOnExpand option. What I mean is the animation when you collapse or expand the panel. In 0.9.1 the panel scrolls under the title when you collapse the panel und it scrolls out of the title when you press the button to expand. In 0.9.2 now it simply collapse or expand, without the scrolling animation.
        Hide
        Karl Schaefer added a comment -

        OK, I am reclosing this issue. Please feel free to file a new issue for the
        animation. Make sure that you include a test case, as my initial tests have
        proved successful.

        Show
        Karl Schaefer added a comment - OK, I am reclosing this issue. Please feel free to file a new issue for the animation. Make sure that you include a test case, as my initial tests have proved successful.
        Hide
        mwithake added a comment -

        I give up...

        Show
        mwithake added a comment - I give up...

          People

          • Assignee:
            Karl Schaefer
            Reporter:
            mwithake
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: