[ 
https://issues.apache.org/jira/browse/PIVOT-774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edvin Syse updated PIVOT-774:
-----------------------------

    Attachment: TextAreaSelectionFix.patch

Path to correct the selection behavior of TextArea. The check I removed might 
have been for something else, but I can't see what. I basically changed:

            if (y >= visibleArea.y
                && y < visibleArea.y + visibleArea.height) {
                // Stop the scroll selection timer

to

if (y < visibleArea.y + visibleArea.height) {
                // Stop the scroll selection timer

in TextAreaSkin#mouseMove() so that it is no longer required that the mouse is 
above visibleArea.y.

> Selection bug in TextArea
> -------------------------
>
>                 Key: PIVOT-774
>                 URL: https://issues.apache.org/jira/browse/PIVOT-774
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 2.0
>            Reporter: Edvin Syse
>            Priority: Minor
>         Attachments: TextAreaSelectionFix.patch
>
>
> If you start to select text in a TextArea and while selecting, move the 
> cursor over the bounds of the TextArea (north of it), the selection area is 
> not expanded.
> This bug only appears to affect TextArea when the content has been scrolled 
> as far down or as far up as possible. While the text is being vertically 
> scrolled, selection works as expected.
> A video showing the problem can be seen here:  
> https://edvin.viewscreencasts.com/c97422da51ed4cf1845e5a7610a8716f
> This bug makes it hard to select text in a TextArea, because one often moves 
> the cursor further north than the TextArea when selecting.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to