41 views
Skip to first unread message

js...@upcmail.nl

unread,
Apr 13, 2012, 3:52:45 AM4/13/12
to delphichrom...@googlegroups.com
Hi,

I adjusted the source code behind Google Chromium Embedded to fix mouse and keyboard events bugs. As it turns out, the code in cefvcs.pas implements application events to detect the Idle state and also that messages need to be processed. When a message is found, the internal core is asked to process any messages (in CefDoMessageLoopWork). However, this takes some time and is done in place causing the first message to be handled to take up quite some time while following messages are handled right away. This caused e.g. the mouse-down event to be handled later than the mouse-up event.

I posted a thread earlier on http://groups.google.com/group/delphichromiumembedded/browse_thread/thread/10a2dcd015717cf8 but I got no reaction and it is not possible to upload attachments there. With this mail is a patch of cefvcl.pas based on revision 143 (latest greatest today) so I hope someone can have a look this way and let me know if this fix is ok or how else the problem could be tackled.

Thanks in advance for any response.
Met vriendelijke groet,
Kind regards,

Jeroen Smit
Expert Software Engineer

ORTEC | Groningenweg 6k | PO Box 490 | 2800 AL Gouda | The Netherlands
Tel.+31 (0) 182 540 500 | Fax +31 (0) 182 540 540 | in...@ortec.com | www.ortec.com
 Please consider the environment before printing this e-mail


cefvcl.pas.patch
Reply all
Reply to author
Forward
0 new messages