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

[Mac] Visual artifacts when using SceneAntialiasing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u5
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Environment:

      Mac OS 10.9

      Mac OS X 10.9.2
      Java 8u5

      CPU: Intel I7 / 2.2 GHz
      RAM: 8GB

      External monitor attached
      GPU: AMD Radeon HD 6750M

      Description

      When deploying my application (which works fine on Windows 8.1) on Mac OS 10.9, the primary scene only displays properly for small table sizes. Once it is resized so that the last table column does not stretch the width of the screen, the window is filled with visual artifacts, and the application is completely unusable. The application can be resized between where it works and where it no longer works as many times as you wish without limit, as far as I can tell.

      Code to reproduce: http://pastebin.com/EyHFLRkN

      Steps to reproduce:
      1. Create a new JFX project in your IDE of choice on MacOS.
      2. Insert the linked code into the new project.
      3. Run the project.
      4. The window should be rendering incorrectly and completely filled with random artifacts.

      A similar issue that I found on StackOverflow (with picture): http://stackoverflow.com/questions/23031868/javafx-mac-os-strange-rendering

      Other notes:
      It seems to be tied to Anti-aliasing. The bug only occurs when Anti-aliasing is set to BALANCED.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kcr Kevin Rushforth
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: