Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » disable SystemMessage-DisplayOverlay
icon5.gif  disable SystemMessage-DisplayOverlay [message #1073223] Wed, 24 July 2013 10:48 Go to next message
Jens Mallien is currently offline Jens MallienFriend
Messages: 4
Registered: March 2013
Junior Member
Hi,

with RAP2.1 i got a whitescreenoverlay in my application.
Theres already a Thread how to configure this overlay: http://www.eclipse.org/forums/index.php/t/488150/

But is it possible to disable that overlay instead of changing to another, transparent color? I tried setting background-color: rgba( 128, 128, 128, 0 ); but it will show it like transparency of 1. Without setting a color, it will take white, again.

Regards, Jens
Re: disable SystemMessage-DisplayOverlay [message #1073305 is a reply to message #1073223] Wed, 24 July 2013 13:46 Go to previous messageGo to next message
Jens Mallien is currently offline Jens MallienFriend
Messages: 4
Registered: March 2013
Junior Member
Ok, i got it virtually invisible with white color and 0.001 opacity. Very Happy

But I'm still interested if it is possible to remove the overlay.
Re: disable SystemMessage-DisplayOverlay [message #1073623 is a reply to message #1073305] Thu, 25 July 2013 07:40 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1872
Registered: July 2009
Senior Member
Hi Jens,
this overlay is needed to block the user interactions when a request
takes long or there is an error. But you can make it invisible with:
SystemMessage-DisplayOverlay {
background-color: transparent;
}
HTH,
Ivan

On 7/24/2013 4:46 PM, Jens Mallien wrote:
> Ok, i got it virtually invisible with white color and 0.001 opacity. :d
> But I'm still interested if it is possible to remove the overlay.

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: disable SystemMessage-DisplayOverlay [message #1073641 is a reply to message #1073623] Thu, 25 July 2013 08:13 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1296
Registered: July 2009
Senior Member

Hi Jens,

this overlay is only shown when the response from the server is delayed.
If you see this overlay even at development time (localhost), this could
be an indication that some long-running task blocks the UI thread.

Long running operations should always run outside of the UI thread and
update the UI using Display.asyncExec(). Not following this rule leads
to an unresponsive UI in SWT. The overlay in RAP is the equivalent of
this unresponsive UI.

Regards,
Ralf

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: disable SystemMessage-DisplayOverlay [message #1073741 is a reply to message #1073641] Thu, 25 July 2013 12:12 Go to previous messageGo to next message
Jens Mallien is currently offline Jens MallienFriend
Messages: 4
Registered: March 2013
Junior Member
Thanks for your answers.

SystemMessage-DisplayOverlay {
background-color: transparent;
}

seems to work in Firefox, but not IE10. Confused In IE10 it is a whitescreen again. So I'll stick with my nearlyinvisible-workaround.

I'm aware of the responsiveness-problem. In most cases I have progressdialogs or other backgroundjobs. But there are some rare cases where it takes just a second too long but the user don't want a gui-notification for that "maybe, sometimes, a bit longer than 1 second"-task. The user can't destroy anything on that guis by clicking buttons. It's sometimes a balance, which Task is "long running" and which is "nearly instant". Smile

Regards, Jens

[Updated on: Thu, 25 July 2013 12:13]

Report message to a moderator

Re: disable SystemMessage-DisplayOverlay [message #1074213 is a reply to message #1073741] Fri, 26 July 2013 09:37 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1872
Registered: July 2009
Senior Member
Hi Jens,
I've tested the transparent value of background-color property in IE 10
(both 32 or 64bit versions) under Windows 7 and it's working for me.
Which OS are you using?
Best,
Ivan

On 7/25/2013 3:12 PM, Jens Mallien wrote:
> Thanks for your answers.
>
> SystemMessage-DisplayOverlay {
> background-color: transparent;
> }
>
> seems to work in Firefox, but not IE10. :? In IE10 it is a whitescreen
> again. So I'll stick with my nearlyinvisible-workaround.
>
> I'm aware of the responsiveness-problem. In most cases I have
> progressdialogs or other backgroundjobs. But there are some rare cases
> where it takes just a second too long but the user don't want a
> gui-notification for that "maybe, sometimes, a bit longer than 1
> second"-task. The user can't destroy anything on that guis by clicking
> buttons. It's sometimes a balance, which Task is "long running" and
> which is "nearly instant". :)
>
>

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:branding body background
Next Topic:Check if Browser is closed
Goto Forum:
  


Current Time: Fri Dec 19 21:14:53 GMT 2014

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

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