Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/Graphics    [ Add a report in this area ]  
Report #:  60479   Status: Need Feedback
screen errors when drawing while mouse move
Project:  Delphi Build #:  11.0.2902.10471
Version:    11.2 Submitted By:   Damir Simunovic
Report Type:  Basic functionality failure Date Reported:  4/5/2008 3:56:37 PM
Severity:    Serious / Highly visible problem Last Updated: 5/13/2008 8:44:33 AM
Platform:    All versions Internal Tracking #:  
Resolution: Need More Info (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
On TImage.Picture.Bitmap.Canvas I draw line cursors when mouse moves. I use the pmNotXOR pen mode, but pen mode is not important (the same effect with any mode). Drawing starts after OnMouseDown. I use simple MoveTo and LineTo methods.

When mouse is moving, from time to time (usually after few seconds) I get error on the whole screen. Doesn't matter if Delphi environment is running or not. It seems like the whole screen crashes for the moment.

I'm working on Dell Latitude D800.

In an earlier application (compiled with D7) I was using the same code without problems. It's running fine on the same PC.
Steps to Reproduce:
put TImage on Form (in my case on a TabSheet in PageControl)

on MouseDown draw horizontal and vertical line crossing on X,Y with pmNotXOR

store X,Y; store drawing status

on MouseMove draw lines pmNotXOR on the stored position, then new lines on new X,Y
Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 4/6/2008 7:24:16 PM -
Please attach a simple sample project to reproduce your issue.

Server Response from: ETNACODE01