Skip to main content

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

Thanks for starting this Mickael!

In Buildship we have a project preview in the wizard using WizardDialog.run() and it blocks the 'Finish' button, which is not what we want. We do like the progress bar though. I'd be happy to hear the better alternatives.


Am 12.09.2016 09:19 schrieb "Mickael Istria" <mistria@xxxxxxxxxx>:

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

_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev

Back to the top