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

Mobile: ImageView.smooth does not have any effect

    Details

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

      JavaFX 1.0.1, Emulator, 6u10 b33

      Description

      Changing the value of ImageView.smooth does not have any effect on emulator. This works well on desktop.

      To reproduce, run the below code on emulator. Click on the image to change the value of 'smooth'. If it doesn't cause any difference, bug is reproduced.

      import javafx.scene.*;
      import javafx.stage.*;
      import javafx.scene.image.*;
      import javafx.scene.input.*;

      var smooth: Boolean = false;
      var imageView: ImageView = ImageView {
          x: 10
          y: 10
          fitWidth: 140
          fitHeight: 120
          image: Image {
              url: "http://cldc.russia.sun.com/monty/html/JFXGraphics/res/DUKE_ALPHA.PNG"
          }
          smooth: bind smooth
          onMouseClicked: function(e: MouseEvent) {
              smooth = not smooth;
          }
      };
      Stage {
          scene: Scene {
              content: imageView
          }
      }

        Attachments

          Activity

            People

            • Assignee:
              dkuzmin Dmitry Kuzmin (Inactive)
              Reporter:
              gramachasunw Girish Ramachandran (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: