View Issue Details

IDProjectCategoryView StatusLast Update
0026342LazarusWidgetsetpublic2014-06-16 10:59
ReporterVojtech Cihak Assigned ToZeljan Rikalo  
Status closedResolutionfixed 
Product Version1.3 (SVN) 
Summary0026342: Qt does not respect ClipRect and PaintBox bounds
DescriptionQt does not respect ClipRect and PaintBox bounds.

The green rectangle on the left is painted out of bounds of PaintBox.

The green rectangle in the middle is painted correctly (is clipped).

The picture is painted out of ClipRect and out of PaintBox too.

It works well in GTK2.
Steps To ReproduceRun demo. Image is in the archive.
Additional InformationLazarus 1.3 r45467M FPC 2.7.1 x86_64-linux-qt
TagsNo tags attached.
Fixed in Revision45549
Attached Files


related to 0026004 closedZeljan Rikalo CopyRect+InvalidateRect issue [Qt] 


Vojtech Cihak

2014-06-15 20:43

reporter (15,723 bytes)

Vojtech Cihak

2014-06-15 20:45

reporter   ~0075713

Note that I observed the clipping issue with TCustomControl descendant too while painting out of bound is PaintBox problem only.

Zeljan Rikalo

2014-06-16 10:31

developer   ~0075721

Please test and close if ok.

Vojtech Cihak

2014-06-16 10:59

reporter   ~0075723

I tested with r. 45549. Demo works well. Clipping with TCustomControl descendant works well too.

Issue History

Date Modified Username Field Change
2014-06-15 20:43 Vojtech Cihak New Issue
2014-06-15 20:43 Vojtech Cihak File Added:
2014-06-15 20:45 Vojtech Cihak Note Added: 0075713
2014-06-15 21:42 Zeljan Rikalo Assigned To => Zeljan Rikalo
2014-06-15 21:42 Zeljan Rikalo Status new => assigned
2014-06-16 09:46 Zeljan Rikalo Relationship added related to 0026004
2014-06-16 10:31 Zeljan Rikalo Fixed in Revision => 45549
2014-06-16 10:31 Zeljan Rikalo LazTarget => -
2014-06-16 10:31 Zeljan Rikalo Note Added: 0075721
2014-06-16 10:31 Zeljan Rikalo Status assigned => resolved
2014-06-16 10:31 Zeljan Rikalo Resolution open => fixed
2014-06-16 10:59 Vojtech Cihak Note Added: 0075723
2014-06-16 10:59 Vojtech Cihak Status resolved => closed