RAP 2.1. M1: Flickering on request [message #1024045] |
Mon, 25 March 2013 17:57 |
Stefan Milchram 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 #1027181 is a reply to message #1026822] |
Tue, 26 March 2013 16:54 |
Stefan Milchram 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 |
Tim Buschtoens 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/
|
|
|
|
Powered by
FUDForum. Page generated in 0.02999 seconds