[ 
https://issues.apache.org/jira/browse/PIVOT-694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071785#comment-13071785
 ] 

Sandro Martini commented on PIVOT-694:
--------------------------------------

>This fix only applies to ListButton. 
I understand this, I'm thinking to make similar tests on other components that 
contains some data and could be selected, and see after something has been 
selected, if clear reset even the selection ... for example in 
ListView/TableView/TreeView/etc.

>On the "clearSelection" on ButtonGroup/RadioButtonGroup what do you think ?
For example in for example ListView/TableView/TreeView it is present, so why 
not even there ...
>I could put this in a dedicated ticket (maybe for the 2.1) if you think could 
>be useful to have. 
Sorry, but you didn't give me a comment on this ... what do you think ?

Thanks again.



> Improvement in ListButton clear() method
> ----------------------------------------
>
>                 Key: PIVOT-694
>                 URL: https://issues.apache.org/jira/browse/PIVOT-694
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>    Affects Versions: 2.0
>         Environment: Pivot 2.0
> Win 7
>            Reporter: Luiz Gustavo Stábile de Souza
>            Assignee: Greg Brown
>            Priority: Minor
>             Fix For: 2.0.1
>
>         Attachments: listButton problem.png
>
>
> 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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to