pixelk0 / delphichromiumembedded

Automatically exported from code.google.com/p/delphichromiumembedded
0 stars 1 forks source link

TCustomChromiumFMX.doOnPaint AccessViolation #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. load a basic HTML page with a basic  list

<html> <select class="" id="country" name="country" aria-required="true">
                    <option value=""   >En sélectionner un</option>
                    <option value="af"   >Afghanistan</option>
                    <option value="ax"   >Iles d'Aland</option>
                    <option value="al"   >Albanie</option>
                   <option value="as"   >Samoa américaine</option>
                    <option value="ad"   >Andorre</option>
</select> </html>

2. click in the list
3. AccesViolation

What is the expected output? What do you see instead?

 expected output : Display the list 

 see instead : AccesViolation

What version of the product are you using? On what operating system?

    Delphi XE2 version 16.0.1 , Win XP SP3 updated ( same issue in Vista) , libcef.dll   1.1025 same issue in 1.0.306.0 , TchromiumFMX , FireMonkey

Additional information below :

  TCustomChromiumFMX.doOnPaint  give a wrong value of  dirtyRects[0].x/y

   when we click on any list  the value of dirtyRects[0].x and dirtyRects[0].y should have the coordinate of the list , but we have alwyse   x= 0, y= 0  so no way to paint  correctly this object . 

  because the coordinate are incorrect the rectrangle is paint in  x,y = 0,0 but before we have a FEViolationAccess in  Move(src^, dst^, offset );

notice I have this bug just when I click in any list 

thank you to  see the copy screen

Original issue reported on code.google.com by berrayahkamel on 18 Aug 2012 at 10:05

Attachments: