View Issue Details

IDProjectCategoryView StatusLast Update
0025830LazarusLCLpublic2014-03-06 11:29
ReporterVojtech Cihak Assigned ToZeljan Rikalo  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformamd64OSLinux 
Product Version1.3 (SVN) 
Summary0025830: Canvas.CopyRect - strange results [Qt only]
DescriptionCanvas.CopyRect gives bad results. Copy depends on position of destination rectangle.

Demo works well with GTK2.
Steps To ReproduceRun demo.
Demo creates bitmap BMP with size 200x100 and paints themed button (200x50) onto it.
Press the first button: it copies rectangle (200x55) to destination 0, 0, 200, 55. This works well.

Press the second button: it copies the same rectangle to destination 0, 1, 200, 56; i.e the same size but 1 pixel down. Now the result is weird, its height is 50% only.

Both copies are 1:1, no stretch drawing.
Additional InformationLazarus 1.3 r44273M FPC 2.7.1 x86_64-linux-qt
KDE 4.12.2
Qt 4.8.5
TagsNo tags attached.
Fixed in Revision44362
LazTarget-
WidgetsetQT
Attached Files

Activities

Vojtech Cihak

2014-03-05 23:03

reporter  

CanvasCopyRect.zip (7,663 bytes)

Zeljan Rikalo

2014-03-06 10:56

developer   ~0073504

Please test and close if ok.

Vojtech Cihak

2014-03-06 11:29

reporter   ~0073506

Tested with r.44362. Tested demo and also my project. Both works well. Thank you.

Issue History

Date Modified Username Field Change
2014-03-05 23:03 Vojtech Cihak New Issue
2014-03-05 23:03 Vojtech Cihak File Added: CanvasCopyRect.zip
2014-03-06 09:55 Zeljan Rikalo Assigned To => Zeljan Rikalo
2014-03-06 09:55 Zeljan Rikalo Status new => assigned
2014-03-06 10:56 Zeljan Rikalo Fixed in Revision => 44362
2014-03-06 10:56 Zeljan Rikalo LazTarget => -
2014-03-06 10:56 Zeljan Rikalo Note Added: 0073504
2014-03-06 10:56 Zeljan Rikalo Status assigned => resolved
2014-03-06 10:56 Zeljan Rikalo Resolution open => fixed
2014-03-06 11:29 Vojtech Cihak Note Added: 0073506
2014-03-06 11:29 Vojtech Cihak Status resolved => closed