You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Dirk Moebius (JIRA)" <ji...@apache.org> on 2010/04/22 10:12:51 UTC

[jira] Created: (PIVOT-479) TextInput: paint prompt if focused and input is blank

TextInput: paint prompt if focused and input is blank
-----------------------------------------------------

                 Key: PIVOT-479
                 URL: https://issues.apache.org/jira/browse/PIVOT-479
             Project: Pivot
          Issue Type: New Feature
    Affects Versions: 1.5.1
            Reporter: Dirk Moebius
            Priority: Minor


IMHO TextInput should paint the prompt even if the component is focused and if the input text is blank. I've seen other GUI toolkits behave like this. I find it very irritating that the prompt goes away when I set the caret into it. I expect it do go away only as soon as I start typing.

Also note that with the _current_ behavior you would never see the prompt if the input component is the only focusable component in a dialog.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIVOT-479) TextInput: paint prompt if focused and input is blank

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown updated PIVOT-479:
-----------------------------

        Fix Version/s: 1.5
    Affects Version/s: 1.4
                           (was: 1.5.1)

I think this is valid. Hiding the prompt is a usability issue. I will check out the patch.


> TextInput: paint prompt if focused and input is blank
> -----------------------------------------------------
>
>                 Key: PIVOT-479
>                 URL: https://issues.apache.org/jira/browse/PIVOT-479
>             Project: Pivot
>          Issue Type: New Feature
>    Affects Versions: 1.4
>            Reporter: Dirk Moebius
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: pivot-479-textinput-prompt.patch
>
>
> IMHO TextInput should paint the prompt even if the component is focused and if the input text is blank. I've seen other GUI toolkits behave like this. I find it very irritating that the prompt goes away when I set the caret into it. I expect it do go away only as soon as I start typing.
> Also note that with the _current_ behavior you would never see the prompt if the input component is the only focusable component in a dialog.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIVOT-479) TextInput: paint prompt if focused and input is blank

Posted by "Dirk Moebius (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dirk Moebius updated PIVOT-479:
-------------------------------

    Attachment: pivot-479-textinput-prompt.patch

This patch implements the new behavior. Tell me what you think.

> TextInput: paint prompt if focused and input is blank
> -----------------------------------------------------
>
>                 Key: PIVOT-479
>                 URL: https://issues.apache.org/jira/browse/PIVOT-479
>             Project: Pivot
>          Issue Type: New Feature
>    Affects Versions: 1.5.1
>            Reporter: Dirk Moebius
>            Priority: Minor
>         Attachments: pivot-479-textinput-prompt.patch
>
>
> IMHO TextInput should paint the prompt even if the component is focused and if the input text is blank. I've seen other GUI toolkits behave like this. I find it very irritating that the prompt goes away when I set the caret into it. I expect it do go away only as soon as I start typing.
> Also note that with the _current_ behavior you would never see the prompt if the input component is the only focusable component in a dialog.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PIVOT-479) TextInput: paint prompt if focused and input is blank

Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Brown resolved PIVOT-479.
------------------------------

    Resolution: Fixed

Patch applied. Thanks!


> TextInput: paint prompt if focused and input is blank
> -----------------------------------------------------
>
>                 Key: PIVOT-479
>                 URL: https://issues.apache.org/jira/browse/PIVOT-479
>             Project: Pivot
>          Issue Type: New Feature
>    Affects Versions: 1.4
>            Reporter: Dirk Moebius
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: pivot-479-textinput-prompt.patch
>
>
> IMHO TextInput should paint the prompt even if the component is focused and if the input text is blank. I've seen other GUI toolkits behave like this. I find it very irritating that the prompt goes away when I set the caret into it. I expect it do go away only as soon as I start typing.
> Also note that with the _current_ behavior you would never see the prompt if the input component is the only focusable component in a dialog.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.