You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2017/12/11 21:28:00 UTC

[jira] [Comment Edited] (PIVOT-798) Components should paint using their "disabled" style if they or any ancestor is disabled

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

Roger Whitcomb edited comment on PIVOT-798 at 12/11/17 9:27 PM:
----------------------------------------------------------------

Right now in trunk, with Java 8 the "Enable Magic" checkbox enables/disables the "Acts" list, but does nothing for the "spell" or "wand" fields.... Definitely a Nashorn issue (related to PIVOT-965) -- removing the second "stateChanged" callback fixes the problem.  So, somehow the two Javascript callbacks with the same name are colliding with each other so that the second one gets invoked for either checkbox.


was (Author: rwhitcomb):
Right now in trunk, with Java 8 the "Enable Magic" checkbox enables/disables the "Acts" list, but does nothing for the "spell" or "wand" fields.... Could be a Nashorn issue (related to PIVOT-965?).

> Components should paint using their "disabled" style if they or any ancestor is disabled
> ----------------------------------------------------------------------------------------
>
>                 Key: PIVOT-798
>                 URL: https://issues.apache.org/jira/browse/PIVOT-798
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>    Affects Versions: 2.0
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>             Fix For: 2.5
>
>         Attachments: recursive_disable.bxml
>
>
> Add a utility method setEnabledRecursive(boolean) to the container classes, but keep the current behavior as default.
> Some info here:
> http://apache-pivot-users.399431.n3.nabble.com/Component-isEnabled-does-not-affect-appearance-recursively-td3401718.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)