Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Real Wait Cursor?
Real Wait Cursor? [message #98751] Thu, 17 July 2008 09:13 Go to next message
Andre Weber is currently offline Andre WeberFriend
Messages: 2
Registered: July 2009
Junior Member
Hello!

By default, RWT will show a wait cursor on long running events which
doesn't avoid mouse clicks (background activity mouse cursor).

Is there a possibility to switch to a real wait cursor, which avoids mouse
clicks and therefore doesn't allow user input until background activity
has ended up?

Or as an alternative: Is there any chance to block user input in general
while event handling is running? (imho W4T had the ability to show a popup
(e.g. a GIF) which blocks any user input)

Regards,
Andre Weber
Re: Real Wait Cursor? [message #98782 is a reply to message #98751] Thu, 17 July 2008 11:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Hi Andre,

Andre Weber wrote:
> By default, RWT will show a wait cursor on long running events which
> doesn't avoid mouse clicks (background activity mouse cursor).
>
> Is there a possibility to switch to a real wait cursor, which avoids
> mouse clicks and therefore doesn't allow user input until background
> activity has ended up?

We don't block user input during requests as this would lead to a
sluggish user experience. There are a lot of cases where the user issues
multiple clicks or key events in a sequence. Examples are keyboard
navigation in a Table, increasing the value of a Spinner or even typing
into a Text with a ModifyListener attached. The user would always have
to wait a little while between sequential actions.

> Or as an alternative: Is there any chance to block user input in general
> while event handling is running? (imho W4T had the ability to show a
> popup (e.g. a GIF) which blocks any user input)

You can open a modal Shell to block user input. The shell can be
invisible by leaving it empty, borderless (SWT.NONE) and transparent
(Shell#setAlpha).

Hope that helps,
Ralf
Re: Real Wait Cursor? [message #99082 is a reply to message #98782] Mon, 21 July 2008 07:41 Go to previous messageGo to next message
Andre Weber is currently offline Andre WeberFriend
Messages: 2
Registered: July 2009
Junior Member
Thanks for reply!

We will think about the modal dialog solution, although it desires a major
application design intervention.

Regards,
Andre
Re: Real Wait Cursor? [message #531536 is a reply to message #98751] Wed, 05 May 2010 11:11 Go to previous messageGo to next message
elmisti is currently offline elmistiFriend
Messages: 2
Registered: May 2010
Junior Member
Hi all!

We have a similar or connected problem.

We have an Eclipse RCP application and in case of server disconnection we would like that the cursor changes to HOURGLASS. It works ok for a normal frame, but if a dialog is active, then in dialog the cursor remains ARROW.

Any idea?
Re: Real Wait Cursor? [message #531586 is a reply to message #531536] Wed, 05 May 2010 13:35 Go to previous message
elmisti is currently offline elmistiFriend
Messages: 2
Registered: May 2010
Junior Member
Finally we found a solution with using busyIndicator.
Previous Topic:showing selected row in TableViewer - bug
Next Topic:UI testing update
Goto Forum:
  


Current Time: Thu Apr 18 11:54:06 GMT 2024

Powered by FUDForum. Page generated in 0.02438 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top