You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Svatopluk Dedic (Jira)" <ji...@apache.org> on 2020/12/18 12:08:00 UTC

[jira] [Assigned] (NETBEANS-5167) Progress Controller skips lifecycle events for a ProgressHandle

     [ https://issues.apache.org/jira/browse/NETBEANS-5167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Svatopluk Dedic reassigned NETBEANS-5167:
-----------------------------------------

    Assignee: Svatopluk Dedic

> Progress Controller skips lifecycle events for a ProgressHandle
> ---------------------------------------------------------------
>
>                 Key: NETBEANS-5167
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5167
>             Project: NetBeans
>          Issue Type: Bug
>          Components: platform - Progress
>    Affects Versions: 12.2
>            Reporter: Svatopluk Dedic
>            Assignee: Svatopluk Dedic
>            Priority: Major
>         Attachments: progress-patch.diff, progress1.log
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists