cef-canvas pen draw invisible

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

cef-canvas pen draw invisible

Postby snowflip » Fri Dec 12, 2014 12:05 am

hi, magreenblatt:
i use cef3.1547.1412,as seen in
QQ图片20141212130032.jpg
QQ图片20141212130032.jpg (77.9 KiB) Viewed 6097 times
;
my canvas property is:
<canvas id="pen_canvas" width="1310" height="774" style="width: 100%; height: 100%; position: absolute; left: 0px; top: 0px; cursor: url(file:///C:/Users//webapp/assert/images/penCursor.cur), auto;"></canvas>
when i use pen draw on canvas, sometimes(not often) there is no pen sign on canvas. The pen sign exists indeed, but is invisible.
Could you tell me what happened, thank you!
snowflip
Techie
 
Posts: 29
Joined: Wed Jan 15, 2014 8:12 pm

Re: cef-canvas pen draw invisible

Postby magreenblatt » Fri Dec 12, 2014 5:48 am

Maybe it's failing to load penCursor.cur? Check the DevTools console for errors the next time you have the problem.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: cef-canvas pen draw invisible

Postby snowflip » Tue Dec 23, 2014 12:59 am

hi, magreenblatt:
This bug has no bug reproduction, but it can appear often. It appear after i run my app some time. Is there probably memory lead. I see the dev tools, penCursor.cur can be loaded.
see the attachment.
paintFade.png
paintFade.png (246.19 KiB) Viewed 6058 times
Can any other question?thank you.
snowflip
Techie
 
Posts: 29
Joined: Wed Jan 15, 2014 8:12 pm

Re: cef-canvas pen draw invisible

Postby snowflip » Wed Dec 24, 2014 7:58 pm

hi, magreenblatt:
Would you give me some suggestion on my question after Christmas, thank you! :D
snowflip
Techie
 
Posts: 29
Joined: Wed Jan 15, 2014 8:12 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 39 guests