GIF frames have incorrect background

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8u60
    • Affects Version/s: 7u6, 8, 8u11
    • Component/s: javafx
    • Environment:

      Linux x64 + JDK7

      The attached images are decoded incorrectly: all frames after the first one have incorrect background.
      Test to reproduce:

      import javafx.application.Application;
      import javafx.scene.Group;
      import javafx.scene.Scene;
      import javafx.scene.image.ImageView;
      import javafx.stage.Stage;

      public class Test extends Application {

          public static void main(String[] args) {
              launch(args);
          }
           
          @Override
          public void start(Stage primaryStage) {
              ImageView view = new ImageView("file:/tmp/icon_wink.gif");
              Group g = new Group(view);
              primaryStage.setScene(new Scene(g));
              primaryStage.show();
          }
      }

        1. icon_razz.gif
          2 kB
          Peter Zhelezniakov
        2. icon_wink.gif
          6 kB
          Peter Zhelezniakov

            Assignee:
            Vadim Pakhnushev
            Reporter:
            Peter Zhelezniakov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: