Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3729

[FlatLaf] Strang Bug in BaseProgressUtils.showProgressDialogAndRun

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • Next
    • 11.3
    • platform - Progress

    Description

      can someone reproduce the following situation? see screenshots

      its happen sometimes with aqua laf but with FlatLaf always

       

      @ActionID(
              category = "Bugtracking",
              id = "org.netbeans.BugAction"
      )
      @ActionRegistration(
              displayName = "#CTL_BugAction"
      )
      @ActionReference(path = "Menu/File", position = 0)
      @Messages("CTL_BugAction=BaseProgressUtils FlatLaf bug")
      public class BugAction implements ActionListener {
      
          @Override
          public void actionPerformed(ActionEvent e) {
      
              ProgressHandle progress = ProgressHandle.createHandle("displayName", () -> true);
      
              BaseProgressUtils.showProgressDialogAndRun(operation, progress, true);
      
          }
          private Runnable operation = new Runnable() {
      
              @Override
              public void run() {
                  try {
                      Thread.sleep(6000);
                  } catch (Exception e) {
      
                  }
              }
      
          };
      }
      

      Attachments

        1. image-2020-01-23-10-50-23-648.png
          1 kB
          Karl Tauber
        2. image-2020-01-23-11-07-28-246.png
          0.8 kB
          Karl Tauber
        3. image-2020-01-23-11-08-06-828.png
          2 kB
          Karl Tauber
        4. image-2020-01-23-11-34-57-947.png
          1 kB
          Karl Tauber
        5. image-2020-01-23-11-35-07-915.png
          1 kB
          Karl Tauber
        6. image-2020-01-23-11-35-26-873.png
          1 kB
          Karl Tauber
        7. image-2020-01-23-11-35-33-050.png
          1 kB
          Karl Tauber
        8. image-2020-01-23-11-36-00-310.png
          1 kB
          Karl Tauber
        9. image-2020-01-23-11-36-15-946.png
          3 kB
          Karl Tauber
        10. image-2020-01-23-11-36-26-998.png
          1 kB
          Karl Tauber
        11. image-2020-01-23-11-37-02-531.png
          2 kB
          Karl Tauber
        12. Screen Shot 2020-01-22 at 14.50.10.png
          15 kB
          Rami Swailem
        13. Screen Shot 2020-01-22 at 15.12.49.png
          12 kB
          Rami Swailem

        Issue Links

          Activity

            People

              devcharly Karl Tauber
              palman Rami Swailem
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h