BerndGabriel / HtmlViewer

The well-known Delphi/Lazarus HtmlViewer/FrameViewer
Other
396 stars 147 forks source link

"canvas does not allow drawing" error with DataSnap #173

Open maurobotta opened 7 years ago

maurobotta commented 7 years ago

I'm using your component in Delphi Berlin 10.1 UPD2, sometimes i get the error "canvas does not allow drawing" when i call:

( HTML To PDF conversion )

Component version 11.xx ( last on Master )

Is there any fix or workaround please?

i need lock any canvas for thread ?

BerndGabriel commented 7 years ago

It is a known issue that sometimes printing to virtual devices like pdf printer causes this exception. Unfortunatelly I cannot reproduce the situation in which it happens as frequently as needed to investigate it :(

maurobotta commented 7 years ago

Hi

Are there any news for this bug ?