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

JTextArea: invalid rendering of selected text when using GDK_SCALE factor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 9
    • 9
    • client-libs

      JDK9 b101 + Ubuntu 14.04 Linux (both Unity and GNOME)

      Please run the attached test with GDK_SCALE=2 and select a part of the text displayed. The text is stirring slightly during the selection, and there are some gaps between the selected and unselected text (please see the screenshot attached). The selected text is shifted a bit finally.

      No such effect if no GDK_SCALE is not set.

        1. jeditorpane-1.png
          jeditorpane-1.png
          169 kB
        2. jeditorpane-2.png
          jeditorpane-2.png
          174 kB
        3. jeditorpane-3.png
          jeditorpane-3.png
          89 kB
        4. screenshot.png
          screenshot.png
          20 kB
        5. screenshotWin8.png
          screenshotWin8.png
          77 kB
        6. Test.java
          0.9 kB

            alexsch Alexandr Scherbatiy
            avstepan Alexander Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: