Bug 391414 - [Scripting] Server side redraw() does not always trigger client side paint event
Summary: [Scripting] Server side redraw() does not always trigger client side paint event
Status: NEW
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 512277 (view as bug list)
Depends on: 377070
Blocks:
  Show dependency tree
 
Reported: 2012-10-09 05:59 EDT by Tim Buschtoens CLA
Modified: 2017-02-17 14:21 EST (History)
2 users (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 2012-10-09 05:59:46 EDT
Calling redraw() on a canvs in java does not always trigger a paint event in a ClientListener. There are two scenarios:

* When the redraw is triggered in the same requests that attaches the listener. Since the listener are always rendered last, they miss the paint event. This could be fixed by forcing a paint event when a paint listener is attached within clientscripting.

* When there is no server-side paint listner, that also renders something (other than a gc property change). See also Bug 377070.
Comment 1 Linuxhippy CLA 2017-02-17 14:21:06 EST
*** Bug 512277 has been marked as a duplicate of this bug. ***