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] [Comment Edited] (PIVOT-798) Components should paint using their "disabled" style if they or any ancestor is disabled
Date Mon, 11 Dec 2017 21:28:00 GMT

    [ 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)

Mime
View raw message