You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "ocean (JIRA)" <ji...@apache.org> on 2010/11/27 03:01:13 UTC
[jira] Created: (PIVOT-676) MessageType.Question Doesn't Offer the
User a 'Cancel' Button
MessageType.Question Doesn't Offer the User a 'Cancel' Button
-------------------------------------------------------------
Key: PIVOT-676
URL: https://issues.apache.org/jira/browse/PIVOT-676
Project: Pivot
Issue Type: Bug
Affects Versions: 1.5.2
Reporter: ocean
If you pass the MessageType.Question to both the Alert.alert method and the Prompt.prompt method the result is a window that only offers the user an 'OK' button. There is no 'Cancel' button. The user can still cancel the alert by hitting the 'escape' key but this presentation -- a question with no clear way to say no -- is very confusing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (PIVOT-676) MessageType.Question Doesn't Offer the
User a 'Cancel' Button
Posted by "ocean (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ocean closed PIVOT-676.
-----------------------
The only thing I might add is that the default behavior -- MessageType.QUESTION results in a dialog with only an 'OK' button -- is very confusing. It seems it is possible to work around this, (I missed these constructor methods before), but I still think reconsidering the defaults here makes a lot of sense.
> MessageType.Question Doesn't Offer the User a 'Cancel' Button
> -------------------------------------------------------------
>
> Key: PIVOT-676
> URL: https://issues.apache.org/jira/browse/PIVOT-676
> Project: Pivot
> Issue Type: Bug
> Affects Versions: 1.5.2
> Reporter: ocean
>
> If you pass the MessageType.Question to both the Alert.alert method and the Prompt.prompt method the result is a window that only offers the user an 'OK' button. There is no 'Cancel' button. The user can still cancel the alert by hitting the 'escape' key but this presentation -- a question with no clear way to say no -- is very confusing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PIVOT-676) MessageType.Question Doesn't Offer the
User a 'Cancel' Button
Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Brown resolved PIVOT-676.
------------------------------
Resolution: Won't Fix
You raise an interesting point - however, the static alert() and prompt() methods aren't really meant to address that case. For questions, you'll need to create your own Alert instance. The Alert constructor allows you to specify your own application-specific option values.
> MessageType.Question Doesn't Offer the User a 'Cancel' Button
> -------------------------------------------------------------
>
> Key: PIVOT-676
> URL: https://issues.apache.org/jira/browse/PIVOT-676
> Project: Pivot
> Issue Type: Bug
> Affects Versions: 1.5.2
> Reporter: ocean
>
> If you pass the MessageType.Question to both the Alert.alert method and the Prompt.prompt method the result is a window that only offers the user an 'OK' button. There is no 'Cancel' button. The user can still cancel the alert by hitting the 'escape' key but this presentation -- a question with no clear way to say no -- is very confusing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.