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

ComboBox hangs on Windows 10 when clicked while not in focus

XMLWordPrintable

        FULL PRODUCT VERSION :
        1.8 0_51, 1.8 0_40

        ADDITIONAL OS VERSION INFORMATION :
        Windows 10, 8.1

        A DESCRIPTION OF THE PROBLEM :
        When clocking on a ComboBox that is not in focus, the application crashes. Does not happen if the CB is in focus.

        REGRESSION. Last worked in version 8u25

        ADDITIONAL REGRESSION INFORMATION:
        1.8 0_25

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        See source code. Run and click on ComboBox

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        Normal CB operation
        ACTUAL -
        Application freezes and crashes

        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        import javafx.application.Application;
        import javafx.scene.Scene;
        import javafx.scene.control.Button;
        import javafx.scene.control.ComboBox;
        import javafx.scene.layout.HBox;
        import javafx.stage.Stage;

        public class TestCMB extends Application {



        public static void main(String[] args) {
                launch(args);
            }
            @Override
            public void start(Stage primaryStage) {
            
             HBox root = new HBox(10);
             Scene scene = new Scene(root);
             Button b = new Button("Click");
             ComboBox<String> cmb = new ComboBox<String>();
             cmb.getItems().addAll("item 1","item 2", "item 3");
             root.getChildren().addAll(b,cmb);

                primaryStage.setScene(scene);
                primaryStage.show();
            }

        }
        ---------- END SOURCE ----------

        CUSTOMER SUBMITTED WORKAROUND :
        Have not found

          1. JDK-8132897-Debug-diff.txt
            7 kB
          2. TestCBM.stackdump
            21 kB
          3. TestCMBDebugLog.txt
            188 kB
          4. TestCMBDebugLog-BAD.txt
            207 kB
          5. TestCMB-jstack.txt
            7 kB
          6. TestCMB-jstackW-m.txt
            20 kB

              kcr Kevin Rushforth
              webbuggrp Webbug Group
              Votes:
              1 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: