Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP 2.1. M1: Flickering on request
RAP 2.1. M1: Flickering on request [message #1024045] Mon, 25 March 2013 17:57 Go to next message
Stefan Milchram is currently offline Stefan MilchramFriend
Messages: 33
Registered: September 2012
Member
Hi,

We tested our application with the new RAP 2.1 M1.
We experienced some strange behaviour:
When a request takes longer (like more than 3 seconds) all the open Shells (we don't use a maximized shell) dissapear and appear again.
I couldn't reproduce it exactly with a snippet, but there is a "request in progress"-animation displayed rather that hiding all the shells.
In RAP 2.0 there was no such behaviour and in the New and Noteworty for M1
http://eclipse.org/rap/noteworthy/2.1/?build=M1
no additional animation is mentioned (i guess that the dissapearing Shells in our application originate in a problem with this animation)
How can i adapt our application and should i file a bug?

Thanks for your help

[Updated on: Tue, 26 March 2013 10:57]

Report message to a moderator

Re: RAP 2.1. M1: Flickering on request [message #1027115 is a reply to message #1026822] Tue, 26 March 2013 15:17 Go to previous messageGo to next message
Fabian Henniges is currently offline Fabian HennigesFriend
Messages: 6
Registered: March 2013
Junior Member
Hi Tim,

is it possible to configure this behaviour?

Regards,
Fabian
Re: RAP 2.1. M1: Flickering on request [message #1027181 is a reply to message #1026822] Tue, 26 March 2013 16:54 Go to previous messageGo to next message
Stefan Milchram is currently offline Stefan MilchramFriend
Messages: 33
Registered: September 2012
Member
I switched to default theme and the animation is displayed.
We copied the whole business theme with version RAP 1.5. to be indepented of layout-changes in RAP in coming versions.
I checked the default.css and found:

SystemMessage-DisplayOverlay {
background-color: rgba( 128, 128, 128, 0.2 );
background-image: url( resource/widget/rap/display/loading.gif );
}

After inserting this into our business.css the shells didn't dissapear anymore.
The implementation of an animation on long running requests is nice, but it should be configurable in every aspect (time to pass after it is displayed, animation itself).
The question is now: Will these aspects be configurable and is the entry in the *.css the switch to activate the animation? If this is the switch to enable it i would consider this as a bug, because maybe not everyone wants a animation like this but with the dissapearing shells one is forced to.

[Updated on: Tue, 26 March 2013 17:04]

Report message to a moderator

Re: RAP 2.1. M1: Flickering on request [message #1027672 is a reply to message #1027181] Wed, 27 March 2013 08:59 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

> After inserting this into our business.css the shells didn't dissapear
> anymore.

In that case, the bug is probably in the business theme. You can open
one, but we will fix it in any case.

> The implementation of an animation on long running requests is nice, but
> it should be configurable in every aspect (time to pass after it is
> displayed, animation itself).

The theming can configure the color, opacity and animation, as you
discovered. The timeout will likely be configurable, that's the part we
didn't finish. The API already exists internally
(RWT.getClient().getService(
org.eclipse.rap.rwt.internal.client.ConnectionMessages.class );), but
may change until it's made public.

Greetings,
Tim

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP 2.1. M1: Flickering on request [message #1027780 is a reply to message #1027672] Wed, 27 March 2013 12:02 Go to previous message
Fabian Henniges is currently offline Fabian HennigesFriend
Messages: 6
Registered: March 2013
Junior Member
Hi Tim,

we´ve implemented a temporary workaround with ConnectionMessages#setWaitHintTimeout(Integer.MAX_VALUE).

Cheers,
Fabian
Previous Topic:Where can I get org.eclipse.rwt.widgets.GCCanvas.jar?
Next Topic:Check to see if View is minimized
Goto Forum:
  


Current Time: Fri Apr 26 13:47:40 GMT 2024

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

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

Back to the top