Skip to content

PlatformUI.getWorkbench().getProgressService().run(true, false, runnable) fails to report progress #4086

@kklesatschke

Description

@kklesatschke

@fedejeanne and @iloveeclipse we upgraded our product from 2022-06 to 2026-03 and wondered why some of our modal operations don't raise a progress dialog anymore. After some debugging, trial and error I found that busyCursorWhile behaves like we expect.

If this if (!fork || !cancelable) branch shall preserve old (Backward compatible) behaviour, why was it changed to be not backward compatible? Do I need to search through all release notes since 2022-06 or do you have an explanation? 😉

Originally posted by @kklesatschke in 0f5ed45

Please note that I am not sure if this is a bug. Could be that we used legacy API in way that is not desired anymore. So please let us discuss.

PlatformUI.getWorkbench()
  .getProgressService().run(true, false, monitor ->{
    //do something long enough to show the progress dialog
    }
 });

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions