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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: