Bug 499992 - Provide better API for monitoring the progress of Jobs
Summary: Provide better API for monitoring the progress of Jobs
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.6   Edit
Hardware: PC Windows NT
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-19 11:14 EDT by Wim Jongman CLA
Modified: 2020-12-10 09:26 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wim Jongman CLA 2016-08-19 11:14:56 EDT
Currently there is a progress dialog that monitors (background) Jobs. The dialog can be "hidden" by checking the flag "Always run in background" which is part of the dialog. The dialog will then ALWAYS be hidden regardless of the type of job or the intention of the submitter of the Job.

We need an API that allows the submitter of the Job to control the progress dialog.

See also:

Bug 146205 - Run in Background should be on by default
Comment 1 Annika Karjakina CLA 2017-07-17 15:20:10 EDT
+1
Our plugin is in form of a new perspective with thoroughly thought actions and notifications, it needs a way to report the progress and all the progress details of our jobs, and we don't want to be dependent on "Always run in background option".
Blindly changing the defaults in 4.7 giving no alternative solution breaks the idea of seeing Eclipse as something more than an IDE.
Comment 2 Silviu Jingoi CLA 2018-01-04 16:15:17 EST
Our plugins were created with the intention to show visual feedback when users perform actions that result in long-running jobs. This was achieved by calling job.setUser(true) and having the progress dialog show up (unless specifically hidden by the user using "Always run in background" option).

At the moment, the platform doesn't seem to provide any alternative for showing job progress in a eye-catching/blatant way.
Comment 3 Andreas Sewe CLA 2018-12-20 06:07:32 EST
(In reply to Wim Jongman from comment #0)
> We need an API that allows the submitter of the Job to control the progress
> dialog.

+1

We also ATM use setUser(true), but would like a *reliable* and *uniform* way to report to the user that a long-running operation is in progress that cannot be missed as easily as a job in the status bar.
Comment 4 Eclipse Genie CLA 2020-12-10 09:05:46 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 5 Wim Jongman CLA 2020-12-10 09:26:27 EST
Still relevant.