Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ui-best-practices-working-group] Make WizardDialog.run(...) a bad practice as it block all UI ?

Hi Mickael,

I think Plug-ins should always avoid blocking the UI thread. Added
https://bugs.eclipse.org/bugs/show_bug.cgi?id=501242 for the
discussion to add this to the UI guidelines.

Best regards, Lars

On Mon, Sep 12, 2016 at 2:16 PM, Mickael Istria <mistria@xxxxxxxxxx> wrote:
> Hi all,
>
> I'm trying to find a decent solution to
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=495007 . I'd like to discuss
> the cause of this issue, and most likely of some other similar issues - or
> workarounds such as requiring to hit "Enter", reducing "fluidity" of the
> interface- in Eclipse IDE:
>
> WizardDialog.run(...) blocks the whole UI when processing a long operation.
> However, in most cases, some interaction is still possible and relevant with
> some parts of the wizard. I believe if we want to encourage writing better
> workflows, we need Plugin Developers to consider exactly which interactions
> they need to block when running an operation rather than greedily making
> nothing possible and blocking user.
>
> Should I report it in some bugzilla? Against which component? Platform UI/UI
> Guidelines?
> It would be great IMO if this working group could for example include in the
> UI Guidelines something about blocking user as least as possible during
> async operations, and maybe to make a review of the most strategic wizards
> to evaluate whether and how they could take advantage of a non-blocking UI
> (removing need for hitting Enter or doing a FocusOut to start a long running
> operation, allow advanced settings while operation is computing, more
> precise feedback to user by blocking only relevant widgets...)
>
> Cheers,
>
> --
> Mickael Istria
> Eclipse developer at JBoss, by Red Hat
> My blog - My Tweets
>
> _______________________________________________
> ui-best-practices-working-group mailing list
> ui-best-practices-working-group@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/ui-best-practices-working-group



-- 
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com


Back to the top