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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:
    • Environment:

      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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: