[
https://issues.apache.org/jira/browse/PIVOT-675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12936144#action_12936144
]
ocean commented on PIVOT-675:
-----------------------------
Hey Greg. Not sure what you mean by self-contained. Note that I've also
discovered this problem with the Alert.alert methods. Eg the following code
snippet also produces this problem:
Alert.alert(
MessageType.QUESTION,
"Delete " + xxx + "?",
getWindow(),
new DialogCloseListener() {
@Override
public void dialogClosed(Dialog dialog, boolean modal) {
if (dialog.getResult()) {
deleteEntry(selectedE);
} else {
return;
}
}
});
This seems to be the default behavior in pivot for all dialogs when running
pivot applications as standalone java applications. Do you not see this
behavior?
> Dialog does not become the Active Window
> ----------------------------------------
>
> Key: PIVOT-675
> URL: https://issues.apache.org/jira/browse/PIVOT-675
> Project: Pivot
> Issue Type: Bug
> Affects Versions: 1.5.2
> Reporter: Bo
>
> EntryEditorPanel entryPanel = EntryEditorPanel.create();
>
> Dialog dialog = new Dialog(entryPanel, true);
> dialog.setTitle("New Entry");
> dialog.open(getWindow());
>
> dialog.requestActive();
> dialog.requestFocus();
> ----
> After the above code is executed the component in the dialog has the focus
> and behaves like the active window but it's windows titlebar is still
> grayed-out, it's not blue as you would expect. If you then click on the
> window it's titlebar becomes blue. This is a bit confusing and not the
> behavior you'd expect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.