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

[Spec clarification request] Is any delay with splashscreen appearance allowed?

    • b126
    • generic
    • generic
    • Not verified

      Please clarify whether any of the following situations is allowed for a JavaSE implementation:

      - the splash screen appearance may be delayed by the native system and may not present on the screen by the moment of SplashScreen.getSplashScreen() invocation (which returns a non-null value);

      - the splash screen is allowed not to be shown at all (currently the spec says: "The splash screen *can* be created at application startup [...]").

          [JDK-6996439] [Spec clarification request] Is any delay with splashscreen appearance allowed?

          JPRT Bug Updates (Inactive) added a comment - BT2:EVALUATION http://hg.openjdk.java.net/jdk7/build/jdk/rev/4a0970a420d5

          BT2:EVALUATION

          The issue is being fixed as 6993803.

          Anthony Petrov (Inactive) added a comment - BT2:EVALUATION The issue is being fixed as 6993803.

          BT2:EVALUATION

          Thanks for the notice!
          You're right, the specs is clear about hiding the splash screen immediately when showing the first AWT/Swing window.
          The problem is that currently an implementation is allowed to return a non-null value for the SplashScreen.getSplashScreen() call and at the same time not to show the splash screen at all. Still it will be conformant.
          What would be good to see is a guarantee that if one provided the splash screen image to the jvm, invoked SplashScreen.getSplashScreen() and received a non-null value, he can be sure that drawing over the splash screen, replacing the splash screen image etc - all this will be visible (shown on the screen) unless there are delays caused by the native system.

          Alexander Shusherov (Inactive) added a comment - BT2:EVALUATION Thanks for the notice! You're right, the specs is clear about hiding the splash screen immediately when showing the first AWT/Swing window. The problem is that currently an implementation is allowed to return a non-null value for the SplashScreen.getSplashScreen() call and at the same time not to show the splash screen at all. Still it will be conformant. What would be good to see is a guarantee that if one provided the splash screen image to the jvm, invoked SplashScreen.getSplashScreen() and received a non-null value, he can be sure that drawing over the splash screen, replacing the splash screen image etc - all this will be visible (shown on the screen) unless there are delays caused by the native system.

          BT2:EVALUATION

          Please clarify the last statement:

          **************************************************
          - the splash screen is allowed not to be shown at all (currently the spec says: "The splash screen *can* be created at application startup [...]").
          **************************************************

          The splash screen indeed may be not displayed if an application opens a window too fast - opening a window closes the splash screen automatically (and therefore prevents its opening if for some reason it hasn't shown up yet).

          So it's not quite clear what is meant under this last statement.

          Anthony Petrov (Inactive) added a comment - BT2:EVALUATION Please clarify the last statement: ************************************************** - the splash screen is allowed not to be shown at all (currently the spec says: "The splash screen *can* be created at application startup [...]"). ************************************************** The splash screen indeed may be not displayed if an application opens a window too fast - opening a window closes the splash screen automatically (and therefore prevents its opening if for some reason it hasn't shown up yet). So it's not quite clear what is meant under this last statement.

            anthony Anthony Petrov (Inactive)
            ashusher Alexander Shusherov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: