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

[WebView] Images copied from clipboard not written in source file format

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8, 9, 10
    • Fix Version/s: 10
    • Component/s: javafx
    • Labels:
    • Subcomponent:
      web

      Backports

        Description

        Scenario 1:
        1. Open https://www.w3schools.com/html/html_images.asp in FX WebView
        2. Right Click on the JPG image. Context Menu pops up. Select "Copy Image to Clipboard"
        3. Paste the image in file explorer

        Scenario 2:
        1. Open https://www.w3schools.com/html/html_images.asp in FX WebView
        2. Click on the GIF image,drag it to the file explorer and drop

        Expected Result:
        Scenario 1: Image should be written as <filename>.jpg
        Scenaior 2: Image should be dropped as <filename>.gif

        Actual Result:
        In both the scenarios, the image is written as .png file.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rkamath Rajath Kamath
                  Reporter:
                  rkamath Rajath Kamath
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: