View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0028096 | Lazarus | Packages | public | 2015-05-14 22:51 | 2016-01-20 17:55 |
Reporter | Takeda Matsuki | Assigned To | Ondrej Pokorny | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86_64 | OS | Windows | ||
Product Version | 1.5 (SVN) | ||||
Target Version | 1.6 | Fixed in Version | 1.7 (SVN) | ||
Summary | 0028096: AnchorDockingdsgn drive IDE into WM_Size Loop Detected | ||||
Description | Over a week I was tried to catch where is the spot which make Lazarus got WM_Size Loop detected on my Lazarus.. I check one by one.. And I found the "AnchorDockingdsgn" package was not compatible with some changes on IDE itself.. Stepping to produce : 1. Install the anchordocking package 2. Install the AnchordockingDsgn package 3. After Restart the IDE, Start to dock the Window.. 4. Save the configuration. Close the IDE and Re Run the IDE.. 5. Here we go.. The bug would come.. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 51337,51338,51346 | ||||
LazTarget | 1.6 | ||||
Widgetset | Win32/Win64 | ||||
Attached Files |
|
related to | 0018298 | resolved | Mattias Gaertner | Please update the default layout provided with anchor docking package |
related to | 0022747 | resolved | Ondrej Pokorny | Error "TWinControl.WMSize loop detected" when starting Lazarus under Mac OS X 10.8.1 |
|
|
|
Dock what window? Please attach your anchordocklayout.xml. |
|
I don't understand this error message. Both bounds and new bounds are same , why error message ? |
|
anchordocklayout.xml (2,506 bytes)
<?xml version="1.0" encoding="UTF-8"?> <CONFIG> <MainConfig> <Nodes ChildCount="1"> <Item1 Name="MainIDE" Type="CustomSite" WindowState="Maximized" ChildCount="1"> <Bounds Left="-8" Top="-8" Width="1366" Height="715"> <WorkArea> <Rect Right="1366" Bottom="738"/> </WorkArea> </Bounds> <Item1 Name="AnchorDockSite4" Type="Layout" ChildCount="9"> <Bounds Top="62" Width="1366" Height="633" SplitterPos="58"/> <Anchors Align="Bottom"/> <Item1 Name="SourceNotebook" Type="Control"> <Bounds Left="262" Width="839" Height="532"/> <Anchors Left="AnchorDockSplitter4" Right="AnchorDockSplitter3" Bottom="AnchorDockSplitter2"/> <Header Position="left"/> </Item1> <Item2 Name="AnchorDockSplitter2" Type="SplitterHorizontal"> <Bounds Left="262" Top="532" Width="839" Height="5"/> <Anchors Left="AnchorDockSplitter4" Right="AnchorDockSplitter3"/> </Item2> <Item3 Name="MessagesView" Type="Control"> <Bounds Left="262" Top="537" Width="839" Height="96"/> <Anchors Left="AnchorDockSplitter4" Top="AnchorDockSplitter2" Right="AnchorDockSplitter3"/> </Item3> <Item4 Name="AnchorDockSplitter3" Type="SplitterVertical"> <Bounds Left="1101" Width="6" Height="633"/> </Item4> <Item5 Name="CodeExplorerView" Type="Control"> <Bounds Left="1107" Width="259" Height="381"/> <Anchors Left="AnchorDockSplitter3" Bottom="AnchorDockSplitter5"/> </Item5> <Item6 Name="AnchorDockSplitter4" Type="SplitterVertical"> <Bounds Left="258" Width="4" Height="633"/> </Item6> <Item7 Name="ObjectInspectorDlg" Type="Control"> <Bounds Width="258" Height="633"/> <Anchors Right="AnchorDockSplitter4"/> </Item7> <Item8 Name="AnchorDockSplitter5" Type="SplitterHorizontal"> <Bounds Left="1107" Top="381" Width="259" Height="4"/> <Anchors Left="AnchorDockSplitter3"/> </Item8> <Item9 Name="ProjectInspector" Type="Control"> <Bounds Left="1107" Top="385" Width="259" Height="248"/> <Anchors Left="AnchorDockSplitter3" Top="AnchorDockSplitter5"/> </Item9> </Item1> </Item1> </Nodes> </MainConfig> </CONFIG> |
|
anchordockoptions.xml (117 bytes)
<?xml version="1.0" encoding="UTF-8"?> <CONFIG> <Settings ShowHeader="False" AllowDragging="False"/> </CONFIG> |
|
@Matias : Done. I already attaching the files, Sir. Please compile clean Lazarus then install anchordocking and anchordockingdsgn. Have you tried it? Edit: After install the packages above, Docking just like what I did, then save the layout, then close the Lazarus. Then Run the Lazarus, booommm... You got it.. |
|
The issue persists. (Lazarus: trunk, SVN rev 51304; fpc 2.6.4 or fpc 3.0, OS: Windows 7, 32bit) As described above, compile lazarus with anchordockingdsgn.lp, open lazarus, maximize application, close lazarus, open again: Error. Closing lazarus in an not maximized state will not produce the error. |
|
|
|
No booommm here, maximized or not maximized. Try with a clean configuration, for example by using the --pcp option. The configuration format changed when the desktops feature was introduced. Your configuration may be corrupted by some intermediate broken revision. If you still can reproduce with a clean config then explain the exact steps how to reproduce. "After Restart the IDE, Start to dock the Window.." is not accurate enough. [Edit] Actually I get some errors with the Windows version after playing with docking for a while. GTK2 and QT versions under Linux work well without errors always. |
|
This one will probably be hard to solve. I once experienced the same issue with clean config. On the good side, I closed the WMSize loop errors (there were about 10) and then Lazarus started OK, although with a corrupted (default) layout. I then ordered the windows the way I wanted, saved the desktop and the errors haven't appeared ever since. |
|
Sorry Juha for taking over an issue assigned to you but I wanted to save you time since it seemed you tried to find the source of the problem at the wrong place (0029194). FYI, the loop was caused by CoolBar and Palette initialization in TMainIDEBar.DoShow. Please test. Should it be merged to 1.6? - I don't know, maybe there will be some regressions I am not aware of. There's not much time to test for the 1.6. What do you think? |
|
After r51338 lazarus won't start. Just to make sure I deleted everything, even the config folder. You can test it with a plain BIGIDE(r51337 it's ok, I'm on windows). |
|
>> After r51338 lazarus won't start. Ohhh yes :) Please test r51346 |
|
Now it's ok(the lazarus won't start part). To see if the bug it's gone, I need more time, since it's very sporadic, quite annoying and long lasting bug. :) PS: I will also post it on the forum, so other people can test it. |
|
Wow, thanks! I was indeed looking for the problem in a wrong place. > Should it be merged to 1.6? I think it should. It does not look an awfully dangerous change to me. If it caused a regression I think it would show up quickly. In my tests both the undocked and docked IDEs work well. I cannot say about the bug because I could not reproduce it recently. |
|
Ok, I added it to the merge list. |
|
Wow, I was having the same issue and I just browsed through the issue tracker. I thought it was related to different dual monitor layouts. When my primary monitor was on the right, it happened regularly, when it was on the left, it didn't happen. While looking through issues with "WMSize" in the subject, I came accross issue 0022747, which looks like a duplicate to me. You might want to close it too. |
|
>> In my tests both the undocked and docked IDEs work well. I cannot say about the bug because I could not reproduce it recently. It was a Windows-only issue, if I am not mistaken. |
|
> It was a Windows-only issue, if I am not mistaken. Yes and I got the error messages under Wine at some point but not any more later. Other users had similar experiences, the error did not happen always and not to everybody. |
|
>> Other users had similar experiences, the error did not happen always and not to everybody. The WM_SIZE loop can have different sources. This was only one of them. I think a corrupted layout (e.g. like in 0022747) can cause a WM_SIZE loop as well. Also some IDE extensions can cause it as well (packagetabs had this problem too). Therefore I think this issue is resolved. Other WM_SIZE loops should be reported separately. |
|
I wasn't able to reproduce it anymore. Let's hope it's gone for good! |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-05-14 22:51 | Takeda Matsuki | New Issue | |
2015-05-14 22:51 | Takeda Matsuki | File Added: Laz Error 20150511.png | |
2015-05-15 08:36 | Mattias Gaertner | LazTarget | => - |
2015-05-15 08:36 | Mattias Gaertner | Note Added: 0083613 | |
2015-05-15 08:36 | Mattias Gaertner | Assigned To | => Mattias Gaertner |
2015-05-15 08:36 | Mattias Gaertner | Status | new => feedback |
2015-05-15 08:47 | Zeljan Rikalo | Note Added: 0083614 | |
2015-05-16 22:03 | Takeda Matsuki | File Added: anchordocklayout.xml | |
2015-05-16 22:03 | Takeda Matsuki | File Added: anchordockoptions.xml | |
2015-05-16 22:06 | Takeda Matsuki | Note Added: 0083671 | |
2015-05-16 22:06 | Takeda Matsuki | Status | feedback => assigned |
2015-05-16 22:26 | Takeda Matsuki | Note Edited: 0083671 | View Revisions |
2016-01-16 16:39 | Dirk Fellenberg | Note Added: 0088964 | |
2016-01-16 16:40 | Dirk Fellenberg | File Added: Lazarus error ID28096 2016-01-16.png | |
2016-01-16 17:28 | Juha Manninen | Note Added: 0088965 | |
2016-01-16 17:30 | Juha Manninen | Note Edited: 0088965 | View Revisions |
2016-01-16 17:49 | Ondrej Pokorny | Note Added: 0088966 | |
2016-01-16 18:30 | Juha Manninen | Note Edited: 0088965 | View Revisions |
2016-01-19 00:55 | Juha Manninen | Assigned To | Mattias Gaertner => Juha Manninen |
2016-01-19 11:33 | Juha Manninen | Relationship added | related to 0029194 |
2016-01-19 14:04 | Ondrej Pokorny | Relationship deleted | related to 0029194 |
2016-01-19 14:04 | Ondrej Pokorny | Assigned To | Juha Manninen => Ondrej Pokorny |
2016-01-19 14:27 | Ondrej Pokorny | Fixed in Revision | => 51337,51338 |
2016-01-19 14:27 | Ondrej Pokorny | Note Added: 0089068 | |
2016-01-19 14:27 | Ondrej Pokorny | Status | assigned => resolved |
2016-01-19 14:27 | Ondrej Pokorny | Resolution | open => fixed |
2016-01-19 14:31 | Ondrej Pokorny | Note Edited: 0089068 | View Revisions |
2016-01-19 21:07 | Balázs Székely | Note Added: 0089087 | |
2016-01-19 21:16 | Ondrej Pokorny | Fixed in Revision | 51337,51338 => 51337,51338,51346 |
2016-01-19 21:17 | Ondrej Pokorny | Note Added: 0089088 | |
2016-01-19 21:31 | Balázs Székely | Note Added: 0089090 | |
2016-01-20 00:57 | Juha Manninen | Note Added: 0089102 | |
2016-01-20 10:02 | Ondrej Pokorny | LazTarget | - => 1.6 |
2016-01-20 10:02 | Ondrej Pokorny | Note Added: 0089108 | |
2016-01-20 10:02 | Ondrej Pokorny | Fixed in Version | => 1.7 (SVN) |
2016-01-20 10:02 | Ondrej Pokorny | Target Version | => 1.6 |
2016-01-20 12:16 | Lübbe | Note Added: 0089122 | |
2016-01-20 12:28 | Mattias Gaertner | Relationship added | related to 0018298 |
2016-01-20 12:40 | Juha Manninen | Relationship added | related to 0022747 |
2016-01-20 12:42 | Ondrej Pokorny | Note Added: 0089124 | |
2016-01-20 14:08 | Juha Manninen | Note Added: 0089125 | |
2016-01-20 14:15 | Ondrej Pokorny | Note Added: 0089126 | |
2016-01-20 17:55 | Balázs Székely | Note Added: 0089133 |