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/04/25 00:17:04 UTC

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

Roger Whitcomb created PIVOT-995:
------------------------------------

             Summary: Second "open" of Prompt 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)