Mobile: A node initialized with opacity < 1 is opaque

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • fx1.1
    • Affects Version/s: fx1.0
    • Component/s: javafx
    • Environment:

      Emulator running on Windows XP, jdk6u10

      A node created with opacity is 0.5 is opaque. This happens only on emulator and works correctly on desktop. Compatibility issue

      To reproduce, run the below code on emulator. If the red rectangle is opaque, bug is reproduced

      import javafx.scene.paint.*;
      import javafx.scene.shape.*;
      import javafx.stage.*;
      import javafx.scene.*;

      Stage {
          width: 300
          height: 300
          scene: Scene {
              content: [Rectangle {
                  x: 40
                  y: 40
                  width: 80
                  height: 60
                  fill: Color.BLUE
              }, Rectangle {
                  x: 80
                  y: 80
                  width: 80
                  height: 60
                  fill: Color.RED
                  opacity: 0.5
              }]
          }
      }

            Assignee:
            Artem Iljin (Inactive)
            Reporter:
            Girish Ramachandran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: