View Issue Details

IDProjectCategoryView StatusLast Update
0026040LazarusWidgetsetpublic2014-04-19 15:38
ReporterVojtech Cihak Assigned ToZeljan Rikalo  
Status closedResolutionfixed 
Product Version1.3 (SVN) 
Summary0026040: Non-autosized ComboBox dimensions are invalid [Qt]
DescriptionDimensions of non-autosized ComboBox does not correspond to what is actually painted on the form.
Steps To ReproduceRun demo. There are two identical ComboBoxes. The upper is autosized (default) while the other is AutoSize=False.
Clicking on them outputs their size to console.

The first return valid dimensions (178x23) while the other returns invalid (smaller) size (151x21).
Additional InformationLazarus 1.3 r44732M FPC 2.7.1 x86_64-linux-qt
TagsNo tags attached.
Fixed in Revision44765
Attached Files


Vojtech Cihak

2014-04-19 11:19

reporter (6,333 bytes)

Zeljan Rikalo

2014-04-19 12:48

developer   ~0074457

hm..non-autosized returns client rect sizes as boundsrect.

Vojtech Cihak

2014-04-19 13:46

reporter   ~0074458

@ non-autosized returns client rect sizes as boundsrect.

I tested and ClientRect is always same as BoundsRect, regardless of the AutoSIze. You probably mean some ClientRect of the widgetset.

I forgot to mention that it works well on GTK2.
I also observed that only csDropDown is affected.

Zeljan Rikalo

2014-04-19 14:42

developer   ~0074459

Please test and close if ok.

Vojtech Cihak

2014-04-19 15:38

reporter   ~0074460

I tested with r.44765. Thanks.

Issue History

Date Modified Username Field Change
2014-04-19 11:19 Vojtech Cihak New Issue
2014-04-19 11:19 Vojtech Cihak File Added:
2014-04-19 12:48 Zeljan Rikalo Note Added: 0074457
2014-04-19 13:46 Vojtech Cihak Note Added: 0074458
2014-04-19 14:30 Zeljan Rikalo Assigned To => Zeljan Rikalo
2014-04-19 14:30 Zeljan Rikalo Status new => assigned
2014-04-19 14:42 Zeljan Rikalo Fixed in Revision => 44765
2014-04-19 14:42 Zeljan Rikalo LazTarget => -
2014-04-19 14:42 Zeljan Rikalo Note Added: 0074459
2014-04-19 14:42 Zeljan Rikalo Status assigned => resolved
2014-04-19 14:42 Zeljan Rikalo Resolution open => fixed
2014-04-19 15:38 Vojtech Cihak Note Added: 0074460
2014-04-19 15:38 Vojtech Cihak Status resolved => closed