In cases of resizing an absolutely positioned window, the layouteditor will sometimes go insane and start pushing about 100 megabytes per second into my ram till my ram is so loaded that the memory is written on my HDD, effectively slowing down my operating system to non-functionality.
This is a severe bug, i just needed 25 minutes to close the program because the whole OS wasn't reacting / reacting only once per minute and this isn't the first time this happened.
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
Another though smaller problem is that if changing for example the name of a window and then clicking on another window in the dialog, it will apply the name to the window that was clicked, not the one where i changed the name
And it's annoying we can't lock the main window seperately
Aside from that, the layout editor is great and a great help!
[CELayoutEditor] Crash / Bugs
Moderators: CEGUI MVP, CEGUI Team
[CELayoutEditor] Crash / Bugs
CrazyEddie: "I don't like GUIs"
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: [CELayoutEditor] Crash / Bugs
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.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: [CELayoutEditor] Crash / Bugs
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?
CrazyEddie: "I don't like GUIs"
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: [CELayoutEditor] Crash / Bugs
This appears to have been caused by a bug in the 0.7.1 release of CEGUI (which is included with the binary CELayoutEditor release). When testing with the latest CEGUI code from v0-7 branch, the issue seems to be gone.
HTH
CE.
HTH
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “Bug Reports, Suggestions, Feature Requests”
Who is online
Users browsing this forum: No registered users and 7 guests