pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-734) Branch controls do not update while showEmptyBranchControls=false
Date Thu, 08 Feb 2018 01:43:00 GMT

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

Roger Whitcomb commented on PIVOT-734:

Okay, AFAICT this issue is now resolved:  made the previously reverted changes again, and
made changes to the way "monitorBranch" is called:

Sending tests\src\org\apache\pivot\tests\issues\Pivot734.java
Sending wtk\src\org\apache\pivot\wtk\TreeView.java
Sending wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraTreeViewSkin.java
Transmitting file data ...done
Committing transaction...
Committed revision 1823532.

> Branch controls do not update while showEmptyBranchControls=false
> -----------------------------------------------------------------
>                 Key: PIVOT-734
>                 URL: https://issues.apache.org/jira/browse/PIVOT-734
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 2.0
>            Reporter: Brent N Atkinson
>            Assignee: Roger Whitcomb
>            Priority: Minor
>             Fix For: 2.5
> When showEmptyBranchControls is false, adding items to empty branch nodes does not cause
the UI to include branch controls for the now non-empty branch.
> Using the definition:
> {code}
> <TreeView bxml:id="aTree" styles="{showEmptyBranchControls:false}">
> ...
> </TreeView>
> {code}
> ...adding an item to an empty branch in the tree's data exposes the problem. The expected
behavior is that the node reflects that it is non-empty and the expander controls show up.
The actual behavior is that there is no change in the controls for the node.
> See the user-list thread for details: http://apache-pivot-users.399431.n3.nabble.com/Adding-values-to-TreeView-branch-while-using-showEmptyBranchControls-tp2842044p2842044.html

This message was sent by Atlassian JIRA

View raw message