View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0029445 | Lazarus | LCL | public | 2016-01-18 21:02 | 2016-01-19 19:05 |
Reporter | Alexander Koblov | Assigned To | Ondrej Pokorny | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | Product Build | ||||
Target Version | 1.6 | Fixed in Version | 1.7 (SVN) | ||
Summary | 0029445: Empty window after minimize and restore | ||||
Description | I check latest Lazarus 1.6 from fixes branch. I found that when I minimize window in my program and restore it then window is empty, only main menu is visible. I found that this bug was introduced in revision 51115 and was merged in 51152. I can reproduce it only on my big project. I was not able to create a small test case. Tested under Windows 7, 10. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 51321,51333,51334 | ||||
LazTarget | 1.6 | ||||
Widgetset | |||||
Attached Files |
|
related to | 0029310 | closed | Ondrej Pokorny | When resizing a form, wrong ClientHeight is retrieved (increased by MainMenu height) |
|
>> I can reproduce it only on my big project. I was not able to create a small test case. Is it possible to modify your big project so that it works with r51115? Do you use Resizing() in the form in question? |
|
Bug.zip (129,659 bytes) |
|
Hmmm... I was able to create a test case. See attached archive. |
|
>> Hmmm... I was able to create a test case. See attached archive. Confirmed. Thanks. |
|
Please test. |
|
Note for myself: Can also be fixed with Index: customform.inc =================================================================== --- customform.inc (revision 51321) +++ customform.inc (working copy) @@ -2260,8 +2260,6 @@ ------------------------------------------------------------------------------} function TCustomForm.AutoSizeDelayedHandle: Boolean; begin - if WindowState=wsMinimized then - exit(true); if (Parent<>nil) or (ParentWindow<>0) then // this form is inlined / embedded it works like a normal TWinControl Result:=inherited AutoSizeDelayedHandle |
|
OK, works fine now. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-01-18 21:02 | Alexander Koblov | New Issue | |
2016-01-18 22:01 | Ondrej Pokorny | Assigned To | => Ondrej Pokorny |
2016-01-18 22:01 | Ondrej Pokorny | Status | new => assigned |
2016-01-18 22:04 | Ondrej Pokorny | Note Added: 0089049 | |
2016-01-18 22:04 | Ondrej Pokorny | Relationship added | related to 0029308 |
2016-01-18 22:15 | Ondrej Pokorny | Relationship added | related to 0029310 |
2016-01-18 22:17 | Ondrej Pokorny | Relationship deleted | related to 0029308 |
2016-01-18 22:32 | Alexander Koblov | File Added: Bug.zip | |
2016-01-18 22:32 | Alexander Koblov | Note Added: 0089051 | |
2016-01-18 22:39 | Ondrej Pokorny | Note Added: 0089052 | |
2016-01-18 23:30 | Ondrej Pokorny | Fixed in Revision | => 51321 |
2016-01-18 23:30 | Ondrej Pokorny | LazTarget | => - |
2016-01-18 23:30 | Ondrej Pokorny | Status | assigned => resolved |
2016-01-18 23:30 | Ondrej Pokorny | Resolution | open => fixed |
2016-01-18 23:30 | Ondrej Pokorny | Note Added: 0089054 | |
2016-01-18 23:36 | Ondrej Pokorny | Note Added: 0089055 | |
2016-01-19 00:27 | Ondrej Pokorny | Fixed in Revision | 51321 => 51321,51333,51334 |
2016-01-19 00:46 | Ondrej Pokorny | LazTarget | - => 1.6 |
2016-01-19 00:46 | Ondrej Pokorny | Fixed in Version | => 1.7 (SVN) |
2016-01-19 00:46 | Ondrej Pokorny | Target Version | => 1.6 |
2016-01-19 19:05 | Alexander Koblov | Note Added: 0089082 | |
2016-01-19 19:05 | Alexander Koblov | Status | resolved => closed |