Pivot
  1. Pivot
  2. PIVOT-694

Improvement in ListButton clear() method

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.1
    • Component/s: wtk
    • Labels:
      None
    • Environment:
      Pivot 2.0
      Win 7

      Description

      I'm having problems with ListButton.
      When I try to clean a ListButton the last text selected before remains selected, even with no item in the ListData of the ListButton.
      I tried listButton.clear() and listButton.getListData().clear(), but with none of this I can scape the problem.
      I debugged the application, and the listData of the ListButton is clear after getListData().clear(), but the last selected text remains showing.
      See attached image.

      Perhaps listButton.setButtonData(null) should be performed in ListButton#clear().

      Cheers

      1. listButton problem.png
        67 kB
        Luiz Gustavo Stábile de Souza

        Issue Links

          Activity

          Luiz Gustavo Stábile de Souza created issue -
          Luiz Gustavo Stábile de Souza made changes -
          Field Original Value New Value
          Attachment listButton problem.png [ 12468241 ]
          Sandro Martini made changes -
          Fix Version/s 2.0.1 [ 12315951 ]
          Fix Version/s 2.1 [ 12314825 ]
          Sandro Martini made changes -
          Assignee Sandro Martini [ smartini ]
          Greg Brown made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Greg Brown made changes -
          Assignee Sandro Martini [ smartini ] Greg Brown [ gbrown ]
          Sandro Martini made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Sandro Martini made changes -
          Comment [ Hi all,
          any objections to move it to 2.0.1 ?

          Bye,
          Sandro
          ]
          Sandro Martini made changes -
          Link This issue is cloned as PIVOT-784 [ PIVOT-784 ]
          Sandro Martini made changes -
          Link This issue blocks PIVOT-784 [ PIVOT-784 ]
          Sandro Martini made changes -
          Link This issue is cloned as PIVOT-784 [ PIVOT-784 ]
          Sandro Martini made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Sandro Martini made changes -
          Link This issue blocks PIVOT-868 [ PIVOT-868 ]
          Gavin made changes -
          Link This issue blocks PIVOT-784 [ PIVOT-784 ]
          Gavin made changes -
          Link This issue is depended upon by PIVOT-784 [ PIVOT-784 ]
          Gavin made changes -
          Link This issue blocks PIVOT-868 [ PIVOT-868 ]
          Gavin made changes -
          Link This issue is depended upon by PIVOT-868 [ PIVOT-868 ]

            People

            • Assignee:
              Greg Brown
              Reporter:
              Luiz Gustavo Stábile de Souza
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development