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

HTMLEditor freezes after restoring previously maximized window

    XMLWordPrintable

    Details

    • Subcomponent:
      web
    • Introduced In Build:
      b01
    • Introduced In Version:
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        FULL PRODUCT VERSION :
        java version "1.8.0_102"
        Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
        Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)


        ADDITIONAL OS VERSION INFORMATION :
        Microsoft Windows [Version 10.0.10586]

        A DESCRIPTION OF THE PROBLEM :
        HTMLEditor freezes after restoring previously maximized window; You no longer see the entered text when inputting the text. After resizing the window, the editor "unfreezes" and the previously entered text is shown.

        REGRESSION. Last worked in version 8u77

        ADDITIONAL REGRESSION INFORMATION:
        java version "1.8.0_66"
        Java(TM) SE Runtime Environment (build 1.8.0_66-b18)
        Java HotSpot(TM) 64-Bit Server VM (build 25.66-b18, mixed mode)

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        Run the test case in attachment.

        1. Maximize the window
        2. Enter some text
        3. Minimize the window
        4.. Restore the window by clicking on the icon in the Windows task bar
        5. Try to enter some more text

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        additional text is show on screen and caret is blinking
        ACTUAL -
        no caret visible, the inputted text is not shown.

        after resizing the window, the inputted text "magically" appears

        ERROR MESSAGES/STACK TRACES THAT OCCUR :
        None displayed (no crash)

        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        import javafx.application.Application;
        import javafx.scene.Scene;
        import javafx.scene.web.HTMLEditor;
        import javafx.stage.Stage;

        public class HTMLEditorTest extends Application {

        @Override
        public void start(Stage primaryStage) throws Exception {
        final HTMLEditor htmlEditor = new HTMLEditor();
        primaryStage.setScene(new Scene(htmlEditor, 800, 600));
        primaryStage.show();
        }

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

        }

        ---------- END SOURCE ----------

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mbilla Murali Billa
                Reporter:
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: