Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8127225

TextArea regression: clicking misses the target when text is scrolled vertically.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Labels:

      Description

      Starting with 2.1 Master build #28 (b04), the mouse click hit test is calculated incorrectly.

      To reproduce, run HelloTextArea, scroll down a few lines, and click to set the caret somewhere. The hit is taken as being much higher up, as if the scrolling offset is ignored. However, shift-clicking to extend selection does work correctly, so the seems to be a difference in how the coordinates are calculated.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              leifs Leif Samuelsson (Inactive)
              Reporter:
              leifs Leif Samuelsson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: