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

http://www.coolutils.com/Online/Image-Converter/ does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 9
    • 8u45, 9
    • javafx
    • web
    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      java version "1.8.0_72-ea"
      Java(TM) SE Runtime Environment (build 1.8.0_72-ea-b05)
      Java HotSpot(TM) 64-Bit Server VM (build 25.72-b05)


      ADDITIONAL OS VERSION INFORMATION :
      ver 6.1 - Windows 7 Professional, Version 6.1 (Build 7601, Service Pack 1)


      A DESCRIPTION OF THE PROBLEM :
      This online image converter works well for other browsers, I use it frequently.
      When I display http://www.coolutils.com/Online/Image-Converter/ in WebView, it leaves both BROWSE and Choose File buttons displayed after initialization (this is not normal, only the BROWSE button is normally left).
      When I choose an image file (I used text.ico) it displays the file name, but you cannot go any further, it will not convert the file and whatever you do the "DOWNLOAD CONVERTED FILE" is never enabled.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run the WebView sample below, it will display http://www.coolutils.com/Online/Image-Converter/
      Use either the BROWSE or Choose File buttons to select an image file (I am supplying text.ico).
      Click on PNG file.
      The "DOWNLOAD CONVERTED FILE" is never enabled, so you cannot go any further.


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      package imageconverter;
      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.web.WebView;
      import javafx.stage.Stage;

      public class ImageConverter extends Application {
          
          @Override
          public void start(Stage primaryStage) {
              WebView browser = new WebView();
              browser.getEngine().load("http://www.coolutils.com/Online/Image-Converter/");
              Scene scene = new Scene(browser, 1024, 800);
              primaryStage.setTitle("Online Image Converter Problem");
              primaryStage.setScene(scene);
              primaryStage.show();
          }

          public static void main(String[] args) {
              launch(args);
          }
      }
      ---------- END SOURCE ----------

            ghb Guru Hb (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: