Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361776

Summary: [Client] Application sometimes starts with blank screen
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tbuschto
Version: 1.5   
Target Milestone: 1.5 M3   
Hardware: All   
OS: All   
Whiteboard:

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.