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

Progress Controller skips lifecycle events for a ProgressHandle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.2
    • None
    • platform - Progress

    Description

      When progress is started, an event of type PROGRESS_START is generated. But it may get merged with e.g. SILENT or SWITCH events, as the attached log shows.

      The net result is that the ProgressUIWorker does not see the proper lifecycle (start .... processing ... finish) but just a part of the cycle.

      The fix is beyond my immediate capacity: while two 'progress' events can be eventually merged, events that bring determinate / indeterminate switch or silent / working state changes should not discard the other 'major' states.

      Skipping the important lifecycle points makes the implementation of UIWorker much harder.

      Attachments

        1. progress1.log
          32 kB
          Svatopluk Dedic
        2. progress-patch.diff
          6 kB
          Svatopluk Dedic

        Activity

          People

            sdedic Svatopluk Dedic
            sdedic Svatopluk Dedic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: