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

[Linux] StrokeType drawn incorrectly on Ubuntu (non-native Pisces)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u40
    • 8u20
    • javafx
    • Java(TM) SE Runtime Environment (build 1.8.0-b132)
      Ubuntu 12.10
      Ubuntu 13.10

      I'm developing a custom component on Ubuntu (12.10 and 13.10) using the latest jdk8 available, b132.
      I found that when a stroke type is set on a shape (I tested circles and rectangles), the shape size is changed accordingly to the stroke type set but it is always drawn as if the StrokeType.CENTERED.
      I'm going to attach two screenshots where it's pretty obvious the correct behaviour on Windows and the wrong behaviour on Ubuntu.
      Also a test project is attached, run "mvn clean compile exec:java" on the two different operating systems to see the difference.

        1. AppTest.java
          2 kB
          Jim Graham
        2. Linux&% SW vs ES2.png
          30 kB
          Steve Northover

            flar Jim Graham
            avacondiojfx Andrea Vacondio (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: