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

Bug 423952

Summary: redraw(int x, int y, int width, int height, boolean all) not correctly implemented
Product: [RT] RAP Reporter: Daniel Keck <danielkeck>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P4 CC: chenxihui1981, tbuschto
Version: 2.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Daniel Keck CLA 2013-12-12 14:37:56 EST
Lets assume we have a graphical scene with many objects (maybe even near to out of heap) but yet we are able to draw it. If we would add another object in visible space we would like to only render the rectangular space containing our object since it would be really time consuming to re-render the whole scene. But the PaintEvent returns always coordinates that will span the whole visible display on initialization and will then be compacted to the visible browser size but will never return the span supplied by the overloaded redraw(x,y,width,height,all) method. The implementation shows that the arguments are ignored (except a check for width and height). This is an enhancement request for the redraw(int,int,int,int,bool) function as far as it is possible.
Comment 1 Ralf Sternberg CLA 2013-12-12 16:42:01 EST
Sounds reasonable to me. However, unless we receive a quality contribution that works with all browsers, I'd consider it unlikely to be addressed anytime soon. Sorry.
Comment 2 Tim Buschtoens CLA 2014-01-09 04:55:22 EST
This is not possible to implement as long as we need to support IE8.
Comment 3 Daniel Keck CLA 2014-01-09 11:38:42 EST
Thanks for the additional info. We all can just hope that MS will publish an update on 7th of April 2014 killing all IE Version below 9. Not only that IE8 has NEVER produced the correct(desired) output (but in FF/Chrome/Opera did ALWAYS) since I am working with RAP, today it even killed my native application after starting the same entry point inside one IE instance twice! I wished this crap ware were just ignored and burned ;) .
Comment 4 Ivan Furnadjiev CLA 2016-01-18 07:42:19 EST
Fixed with change https://git.eclipse.org/r/#/c/64541/
Comment 5 Ivan Furnadjiev CLA 2016-02-25 08:39:47 EST
*** Bug 380949 has been marked as a duplicate of this bug. ***