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

Text selection issues on WebView after WebKit 617.1

XMLWordPrintable

    • web
    • b08

        After the fix for JDK-8318614, that updated WebKit to 617.1, text selection within a WebView is not working as expected.

        Run the attached text, that shows some simple text.

        Double clicking on any word, like "some" should select and highlight it (as shown in Expected selection.png), but it doesn't (see Selection not visible.png). The same happens if the selection is done by pressing, dragging and releasing the mouse.

        However the word is somehow selected (copy and paste work, for instance), and after resizing the application, the blue background shows up (see Selection visible after resizing.png).

        The issue happens on macOS, Windows and Linux.

          1. Expected selection.png
            236 kB
            Jose Pereda
          2. Selection not visible.png
            236 kB
            Jose Pereda
          3. Selection visible after resizing.png
            208 kB
            Jose Pereda
          4. WebViewTest.java
            0.5 kB
            Jose Pereda

              hmeda Hima Bindu Meda
              jpereda Jose Pereda
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: