View Issue Details

IDProjectCategoryView StatusLast Update
0034937LazarusPackagespublic2019-01-24 19:35
ReporterMichl Assigned ToMichl  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.1 (SVN) 
Target Version2.0 
Summary0034937: AnchorDocking: SimplifyOneControl destroy the layout
DescriptionWhen SimplifyOneControl has more then one control in it, the layout got destroyed.
Steps To ReproduceSee added layout for miniIDE.
Close ObjectInspector, see destroyed layout.
-> save it and load it, then you got a exception
TagsNo tags attached.
Fixed in Revision60206
LazTarget-
Widgetset
Attached Files

Relationships

related to 0018298 resolvedMattias Gaertner Please update the default layout provided with anchor docking package 

Activities

Michl

2019-01-24 19:01

developer  

testa.xml (2,666 bytes)   
<?xml version="1.0" encoding="utf-8"?>
<CONFIG>
  <MainConfig>
    <Nodes ChildCount="3">
      <Item1 Name="MainIDE" Type="CustomSite" ChildCount="1">
        <Bounds Top="138" Left="221" Width="570" Height="585">
          <WorkArea>
            <Rect Right="1920" Bottom="1036"/>
          </WorkArea>
        </Bounds>
        <Item1 Name="AnchorDockSite6" Type="Pages" ChildCount="2">
          <Bounds Top="97" Width="570" Height="464" SplitterPos="93"/>
          <Anchors Align="Bottom"/>
          <Header PageIndex="1"/>
          <Item1 Name="ObjectInspector" Type="Control">
            <Bounds Width="188" Height="420"/>
            <Anchors Align="Client"/>
          </Item1>
          <Item2 Name="AnchorDockSite7" Type="Layout" ChildCount="3">
            <Bounds Width="553" Height="438"/>
            <Anchors Align="Client"/>
            <Item1 Name="CodeExplorer" Type="Control">
              <Bounds Width="269" Height="438"/>
              <Anchors Right="AnchorDockSplitter2"/>
            </Item1>
            <Item2 Name="AnchorDockSplitter2" Type="SplitterVertical">
              <Bounds Left="269" Width="4" Height="438"/>
            </Item2>
            <Item3 Name="SourceEditor1" Type="Control">
              <Bounds Left="273" Width="280" Height="438"/>
              <Anchors Left="AnchorDockSplitter2"/>
              <Header Position="left"/>
            </Item3>
          </Item2>
        </Item1>
      </Item1>
      <Item2 Name="Messages" Type="Control">
        <Bounds Top="650" Left="230" Width="350" Height="100">
          <WorkArea>
            <Rect Right="1920" Bottom="1036"/>
          </WorkArea>
        </Bounds>
      </Item2>
      <Item3 Name="FPDocEditor" Type="Control">
        <Bounds Top="779" Left="213" Width="300" Height="100">
          <WorkArea>
            <Rect Right="1920" Bottom="1036"/>
          </WorkArea>
        </Bounds>
      </Item3>
    </Nodes>
  </MainConfig>
  <Restores Count="2">
    <Item1 Names="FPDocEditor">
      <Nodes Name="FPDocEditor" Type="Control">
        <Bounds Top="779" Left="213" Width="300" Height="100">
          <WorkArea>
            <Rect Right="1920" Bottom="1036"/>
          </WorkArea>
        </Bounds>
      </Nodes>
    </Item1>
    <Item2 Names="Messages">
      <Nodes Name="Messages" Type="Control">
        <Bounds Top="650" Left="230" Width="350" Height="100">
          <WorkArea>
            <Rect Right="1920" Bottom="1036"/>
          </WorkArea>
        </Bounds>
      </Nodes>
    </Item2>
  </Restores>
  <Settings DockSitesCanBeMinimized="True"/>
</CONFIG>
testa.xml (2,666 bytes)   

Issue History

Date Modified Username Field Change
2019-01-24 19:01 Michl New Issue
2019-01-24 19:01 Michl Status new => assigned
2019-01-24 19:01 Michl Assigned To => Michl
2019-01-24 19:01 Michl File Added: testa.xml
2019-01-24 19:10 Michl Fixed in Revision => 60206
2019-01-24 19:10 Michl Status assigned => resolved
2019-01-24 19:10 Michl Resolution open => fixed
2019-01-24 19:35 Michl Relationship added related to 0018298