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

Bug 309089

Summary: [GC] drawImage never respects z-index
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.3   
Target Milestone: 1.3 M7   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
fix / workaround none

Description Tim Buschtoens CLA 2010-04-14 05:42:56 EDT
When using drawImage, the image is always on top of everything else, even if it is drawn after the image. This is because the client uses the "onload" event to draw the image, which is always fired after all other drawing-operations are done, even if the image is already loaded.
Comment 1 Tim Buschtoens CLA 2010-04-14 05:52:51 EDT
Created attachment 164812 [details]
fix / workaround

This fix solves the problem only to some extend. The "onload"-event will now only be used to draw the image if it is absolutely necessary. A more complete (and complex) fix would be to request a redraw as soon as the image is loaded.
Comment 2 RĂ¼diger Herrmann CLA 2010-04-14 06:58:41 EDT
Applied patch to CVS HEAD