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

[win] StopWatch sample scene not painted if desktop shortcut is set to start Minimized

XMLWordPrintable

    • x86_64
    • windows

      ADDITIONAL SYSTEM INFORMATION :
      NetBeans 8.2, Windows 10, JDK 8 Update 192

      A DESCRIPTION OF THE PROBLEM :
      [Note: I reported a similar bug a few minutes ago, the behavior is similar but different,
      i.e. in this bug the scene is not painted, in previous bug the scene background is painted but the scene's image is not painted.]

      If the StopWatch sample is deployed using Native Packaging and its desktop shortcut is modified to Run > Minimized, the StopWatch scene is not painted when the application is restored.

      This bug is similar to JDK-8095048 which is marked Resolved. The workaround from JDK-8095048 CANNOT be applied to this bug.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. NetBeans 8.2 > File > New Project... > Samples > JavaFX > StopWatch
      2. NetBeans > File > Project Properties (StopWatch) > Build > Deployment >
          Check Enable Native Packaging,
          Check Add desktop shortcut
      3. NetBeans > Right Click on StopWatch project > Package As MSI Installer
      4. Run StopWatch-1.0.msi
      5. Right click on Windows desktop StopWatch's shortcut icon > Properties > Run > Minimized > OK
      6. Run StopWatch by double clicking on its Windows desktop shortcut
      7. Click on StopWatch application icon in the Windows taskbar
      8. The StopWatch scene is not painted
      9. Resize the StopWatch scene and it is repainted


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Expect StopWatch scene to be painted after StopWatch application is restored from starting minimized


      ACTUAL -
      StopWatch scene is not painted after StopWatch application is restored from starting minimized



      ---------- BEGIN SOURCE ----------
      Unmodified StopWatch sample application
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      No known workaround


      FREQUENCY : always


            arapte Ambarish Rapte
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: