CrazyEddie wrote:Ident wrote:I can post a copy of a corrupt .layout file (the .layout file is the problem, i changed some things and it didnt start with loading my memory anymore) with explanation of what i did and which window produces the problem
That would be useful, because if the problem can't be easily reproduced the likelihood of action being taken falls to zero

CE.
I know, i worked in Q&A for the last months

Reconstruction:
• Load xml in the CELayoutEditor
Behavior:
• Endless loop of leaking memory (filling RAM)
"Fix":
Change the 4th value pair in UnifiedAreaRect of "CancelVideoSettingsButton" so that 0.65 will be 0. As far as i remember, after such a change the leaks stopped.
Way to the Error:
I created this window (button), made its alignment centered (never happened with my many other left orientated windows) and made the positioning absolute, then i move it and tried to access the left sizing handle (sizing width from the left edge) however then it already froze my PC.
My platform is Windows 7 X86, I use the precompiled downloadable version of the CELayoutEditor 0.7.1
Layout sheet:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<GUILayout >
<Window Type="DefaultWindow" Name="AOF_GUI" >
<Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,1},{1,1}}" />
<Window Type="TaharezLook/StaticImage" Name="background" >
<Property Name="Image" Value="set:menu image:background" />
<Property Name="FrameEnabled" Value="False" />
<Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1.00179,0},{1,0}}" />
<Property Name="BackgroundEnabled" Value="False" />
</Window>
<Window Type="TaharezLook/Button" Name="EnterButton" >
<Property Name="Font" Value="DejaVuSans-10" />
<Property Name="HoverImage" Value="set:buttons image:play_hover" />
<Property Name="AlwaysOnTop" Value="True" />
<Property Name="NormalImage" Value="set:buttons image:play_normal" />
<Property Name="PushedImage" Value="set:buttons image:play_hover" />
<Property Name="UnifiedAreaRect" Value="{{0,0},{0,-30},{0,180},{0,20}}" />
<Property Name="VerticalAlignment" Value="Centre" />
<Property Name="HorizontalAlignment" Value="Centre" />
</Window>
<Window Type="TaharezLook/Button" Name="ExitButton" >
<Property Name="Font" Value="DejaVuSans-10" />
<Property Name="HoverImage" Value="set:buttons image:exit_hover" />
<Property Name="AlwaysOnTop" Value="True" />
<Property Name="NormalImage" Value="set:buttons image:exit_normal" />
<Property Name="PushedImage" Value="set:buttons image:exit_hover" />
<Property Name="UnifiedAreaRect" Value="{{0,0},{0,50},{0,180},{0,100}}" />
<Property Name="VerticalAlignment" Value="Centre" />
<Property Name="HorizontalAlignment" Value="Centre" />
</Window>
<Window Type="Vanilla/Button" Name="OptionsButton" >
<Property Name="Text" Value="OPTIONS" />
<Property Name="AlwaysOnTop" Value="True" />
<Property Name="FrameColours" Value="tl:FFCC7754 tr:FFCC7754 bl:FFCC7754 br:FFCC7754" />
<Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{0,125},{0,25}}" />
<Property Name="BackgroundColours" Value="tl:FFCC7754 tr:FFCC7754 bl:FFCC7754 br:FFCC7754" />
</Window>
<Window Type="DefaultWindow" Name="OptionsWindow" >
<Property Name="AlwaysOnTop" Value="True" />
<Property Name="UnifiedAreaRect" Value="{{0,0},{0,-30},{0,500},{0,322}}" />
<Property Name="VerticalAlignment" Value="Centre" />
<Property Name="HorizontalAlignment" Value="Centre" />
<Window Type="Vanilla/StaticText" Name="Title" >
<Property Name="Text" Value="Video Settings" />
<Property Name="HorzExtent" Value="140" />
<Property Name="VertExtent" Value="15.2238" />
<Property Name="FrameColours" Value="tl:FFCC7754 tr:FFCC7754 bl:FFCC7754 br:FFCC7754" />
<Property Name="HorzFormatting" Value="HorzCentred" />
<Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{0,250},{0,35}}" />
<Property Name="BackgroundColours" Value="tl:FFCC7754 tr:FFCC7754 bl:FFCC7754 br:FFCC7754" />
<Property Name="HorizontalAlignment" Value="Centre" />
</Window>
<Window Type="Vanilla/Listbox" Name="OptionListbox" >
<Property Name="FrameColours" Value="tl:FFCC7754 tr:FFCC7754 bl:FFCC7754 br:FFCC7754" />
<Property Name="UnifiedAreaRect" Value="{{0,0},{0,50},{1,0},{1,0}}" />
<Property Name="BackgroundColours" Value="tl:FFCC7754 tr:FFCC7754 bl:FFCC7754 br:FFCC7754" />
<Property Name="HorizontalAlignment" Value="Centre" />
<Window Type="TaharezLook/Checkbox" Name="FullscreenCheckbox" >
<Property Name="Text" Value="Fullscreen" />
<Property Name="AlwaysOnTop" Value="True" />
<Property Name="UnifiedAreaRect" Value="{{0,55},{0,40},{0,300},{0,70}}" />
</Window>
<Window Type="Vanilla/Button" Name="ApplyVideoSettingsButton" >
<Property Name="Text" Value="Apply" />
<Property Name="AlwaysOnTop" Value="True" />
<Property Name="FrameColours" Value="tl:FFCC7754 tr:FFCC7754 bl:FFCC7754 br:FFCC7754" />
<Property Name="UnifiedAreaRect" Value="{{0,0},{0,-10},{0,200},{0,15}}" />
<Property Name="BackgroundColours" Value="tl:FFCC7754 tr:FFCC7754 bl:FFCC7754 br:FFCC7754" />
<Property Name="VerticalAlignment" Value="Bottom" />
<Property Name="HorizontalAlignment" Value="Centre" />
</Window>
<Window Type="TaharezLook/Combobox" Name="WindowResolutionCombobox" >
<Property Name="Text" Value="Screen Resolution" />
<Property Name="AlwaysOnTop" Value="True" />
<Property Name="UnifiedAreaRect" Value="{{0,55},{0,95},{0,303},{0,196}}" />
<Property Name="MaxEditTextLength" Value="1073741823" />
</Window>
<Window Type="TaharezLook/Combobox" Name="ColourDepthCombobox" >
<Property Name="Text" Value="Colour Depth" />
<Property Name="AlwaysOnTop" Value="True" />
<Property Name="SingleClickMode" Value="True" />
<Property Name="UnifiedAreaRect" Value="{{0,55},{0,158},{0,300},{0,252}}" />
<Property Name="MaxEditTextLength" Value="1073741823" />
</Window>
<Window Type="Vanilla/Button" Name="CancelVideoSettingsButton" >
<Property Name="Text" Value="Cancel" />
<Property Name="UnifiedAreaRect" Value="{{0,0},{0,-10},{0,0},{0.65,0}}" />
<Property Name="VerticalAlignment" Value="Bottom" />
<Property Name="HorizontalAlignment" Value="Centre" />
</Window>
</Window>
</Window>
</Window>
</GUILayout>
Need moar?