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

Images on citibank.ru animate incorrectly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Labels:
    • Environment:

      Win7 x64

    • Subcomponent:
      web

      Description

      At least some images on citibank.ru animate incorrectly. For example, http://www.citibank.ru/russia/flash/rus/b1_cg_invest_3.gif . Sometimes I also see an exception:
           [java] java.lang.IllegalArgumentException: Image scanlineStride is too small
           [java] at com.sun.prism.Image.<init>(Image.java:139)
           [java] at com.sun.prism.Image.fromByteBgraPreData(Image.java:46)
           [java] at com.sun.prism.ImageFormatTool.convertImageFrame(ImageFormatTool.java:38)
           [java] at com.sun.webpane.sg.prism.WCImageImpl.<init>(WCImageImpl.java:106)
           [java] at com.sun.webpane.sg.prism.WCImgDecoderImpl.getPrismImage(WCImgDecoderImpl.java:230)
           [java] at com.sun.webpane.sg.prism.WCImgDecoderImpl.getFrame(WCImgDecoderImpl.java:190)
           [java] at com.sun.webpane.platform.WebPage.twkUpdateContent(Native Method)
           [java] at com.sun.webpane.platform.WebPage.updateDirty(WebPage.java:366)
           [java] at com.sun.webpane.platform.WebPage.updateContent(WebPage.java:632)
           [java] at com.sun.javafx.sg.prism.NGWebView.update(NGWebView.java:52)
           [java] at javafx.scene.web.WebView.handleStagePulse(WebView.java:566)
           [java] at javafx.scene.web.WebView.access$100(WebView.java:59)
           [java] at javafx.scene.web.WebView$2.pulse(WebView.java:169)
           [java] at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:354)
           [java] at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:459)
           [java] at com.sun.javafx.tk.quantum.QuantumToolkit$8.run(QuantumToolkit.java:326)
           [java] at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
           [java] at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
           [java] at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:62)
      They worked properly in the past, maybe a regression in image decoders.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                malenkov Sergey Malenkov (Inactive)
                Reporter:
                peterz Peter Zhelezniakov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: