[jira] [Commented] (PIVOT-995) Second "open" of Prompt or Alert will not display the message type icon.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Commented] (PIVOT-995) Second "open" of Prompt or Alert will not display the message type icon.

JIRA jira@apache.org

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

Roger Whitcomb commented on PIVOT-995:
--------------------------------------

"trunk":
Sending        wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraAlertSkin.java
Sending        wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraPromptSkin.java
Transmitting file data ..done
Committing transaction...
Committed revision 1792559.

"branches/2.0.x":
Sending        .
Sending        wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraAlertSkin.java
Sending        wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraPromptSkin.java
Transmitting file data ..done
Committing transaction...
Committed revision 1792561.


> Second "open" of Prompt or  Alert will not display the message type icon.
> -------------------------------------------------------------------------
>
>                 Key: PIVOT-995
>                 URL: https://issues.apache.org/jira/browse/PIVOT-995
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 2.0.4, 2.1
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>             Fix For: 2.1, 2.0.5
>
>         Attachments: prompt.patch
>
>
> Define a Prompt (as in a "bxml:define" block in a BXML file), then invoke it twice from within an application but without reloading it.  The second and subsequent times the Prompt is displayed the message type icon will not be displayed; only the first time.
> The reason is the "sheetClosed" listener is clearing the "typeImageView" but it is not reloaded again for the second "open()" call.
> The attached "prompt.patch" fixes this issue.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
Loading...