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

[macos] on Aqua LookAndFeel selection of the text in JEditorPane is not visible on macOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • tbd
    • 13, 14, 15
    • client-libs

      To reproduce the problem case1:
       - Set dark mode in macOS
       - Set Highlight color to "Graphite"
       - Run the SwingSet2
       - Open the source code of any demo
       - Press cmd+A to select the whole text
       - Text selection will not be visible
       - Move the focus out/in of the text component, selection becomes visible

      To reproduce the problem case2:
       - Set dark mode in macOS
       - Set Highlight color to "Graphite"
       - Run the SwingSet2
       - Open JInternalDemo
       - Try to select "Frame" text in the internal frame
       - The text itself and selection will disappear(we will draw white on white?)

      The bug can be reproduced on macOS 10.15 Beta 9 (19A573a), I do not know when it was introduced.

      The Aqua L&F is affected only.

            Unassigned Unassigned
            serb Sergey Bylokhov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: