Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361776 - [Client] Application sometimes starts with blank screen
Summary: [Client] Application sometimes starts with blank screen
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.5 M3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-24 04:24 EDT by Tim Buschtoens CLA
Modified: 2011-10-25 05:32 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Buschtoens CLA 2011-10-24 04:24:06 EDT
This happens in only in about 1 in 5 reloads: The background is shown, but the application shell only appears when the mouse is moved into the document. All browser are affected.
Comment 1 Tim Buschtoens CLA 2011-10-24 05:12:59 EDT
It's probably a side-effect of fixing Bug 332900: If the server is very fast, the response to the first request is evaluated befor the document is fully loaded. The widget-flush is then not executed due to:

      if( !org.eclipse.rwt.System.getInstance().getUiReady() ) {
        return;
      }
Comment 2 Tim Buschtoens CLA 2011-10-24 05:22:01 EDT
Fixed in CVS HEAD by moving the flush after setUiReady in System.js#_preloaderDone. Since i could not reproduce this issue on my own system to begin with, i will wait for confirmation before i close this bug.
Comment 3 Ralf Sternberg CLA 2011-10-25 05:32:55 EDT
Thanks for the fix, Tim. I cannot reproduce the problem anymore.