View Issue Details

IDProjectCategoryView StatusLast Update
0021508LazarusWidgetsetpublic2012-03-21 19:20
ReportercobinesAssigned ToPaul Ishenin 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.9.31 (SVN)Product Build36146 
Target VersionFixed in Version0.9.31 (SVN) 
Summary0021508: Minimized form with only width constraint changes height to zero after WindowState:=wsNormal
DescriptionA form has Constraint.MinWidth > 0 but MinHeight is 0. After it is minimized and then restored with WindowState:=wsNormal, height is set to 0.

Minimizing can be done with either user clicking minimize button or with WindowState:=wsMinimized.
Restoring by clicking on restore button (on the caption bar) works - this was bug 0019886, already fixed. However, restoring with WindowState:=Normal still has the effect of reducing height to 0.
Steps To Reproduce1. Run example. Press "WindowState:=wsMinimized" button.
2. Press "WindowState:=wsNormal" button.
TagsNo tags attached.
Fixed in Revision36184
LazTarget-
WidgetsetWin32/Win64
Attached Files

Activities

2012-03-19 01:31

 

form_constraints_test.zip (2,683 bytes)

Zeljan Rikalo

2012-03-19 07:56

developer   ~0057825

Works fine under X11 (gtk2 and qt).Lazarus 0.9.31 r36160 FPC 2.6.1 i386-linux-qt

Zeljan Rikalo

2012-03-19 08:01

developer   ~0057827

@Paul, please look into this one. It works fine with other ws.

Paul Ishenin

2012-03-21 03:51

manager   ~0057863

Please test and close if ok.

cobines

2012-03-21 19:20

reporter   ~0057882

Thanks. It works.

Issue History

Date Modified Username Field Change
2012-03-19 01:31 cobines New Issue
2012-03-19 01:31 cobines File Added: form_constraints_test.zip
2012-03-19 01:31 cobines Widgetset => Win32/Win64
2012-03-19 07:56 Zeljan Rikalo Note Added: 0057825
2012-03-19 08:01 Zeljan Rikalo LazTarget => -
2012-03-19 08:01 Zeljan Rikalo Note Added: 0057827
2012-03-19 08:01 Zeljan Rikalo Assigned To => Paul Ishenin
2012-03-19 08:01 Zeljan Rikalo Status new => assigned
2012-03-21 03:51 Paul Ishenin Fixed in Revision => 36184
2012-03-21 03:51 Paul Ishenin Status assigned => resolved
2012-03-21 03:51 Paul Ishenin Fixed in Version => 0.9.31 (SVN)
2012-03-21 03:51 Paul Ishenin Resolution open => fixed
2012-03-21 03:51 Paul Ishenin Note Added: 0057863
2012-03-21 19:20 cobines Status resolved => closed
2012-03-21 19:20 cobines Note Added: 0057882