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

Setting opacity of 0 on Arc does not make stroke transparent on Mobile

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx1.0
    • Fix Version/s: None
    • Component/s: javafx
    • Environment:

      WinXP - JavaFX SDK 1.0 - Emulator shipped with SDK

      Description

      I am altering the opacity of an Arc from 1.0 to 0.0. The Arc is drawn with a stroke of WHITE color having a width of 3. When I change the opacity, the Arc's stroke remains opaque whereas the fill area is becoming transparent. This is incorrect and not compatible with desktop behavior.

      To reproduce the bug, I have attached a sample test. Do the following -
      1. Save both the source files in the same directory.
      2. Use JavaFX Packager and package the app for mobile platform -

      javafxpackager -src . -appClass ArcTest -profile MOBILE -sign

      Deploy the App on the emulator as follows -
      emulator -Xjam:install=ArcTest.jad

      Now press Key 1 few times to choose appropriate fill color that is different from stroke. Press Key 9 a few times. It will alter the opacity. You will see that only filled area is becoming transparent and not the stroke.

        Attachments

        1. ArcTest.fx
          5 kB
          Praveen Mohan
        2. ControlModel.fx
          10 kB
          Praveen Mohan

          Activity

            People

            • Assignee:
              ailjin Artem Iljin (Inactive)
              Reporter:
              pmohan Praveen Mohan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: