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

Progress Controller skips lifecycle events for a ProgressHandle

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sdedic Svatopluk Dedic
            sdedic Svatopluk Dedic

            Dates

              Created:
              Updated:

              Slack

                Issue deployment