MantisBT - CEED
View Issue Details
0000706CEEDLayout editingpublic2012-01-20 13:402012-02-22 11:22
Kulik 
Kulik 
normalminorhave not tried
closedduplicate 
snapshot7 
snapshot7 
0000706: Image field not taking input
Thanks goes to Mars_999 for the report!

Well I am not seeing it....

Here is what gets exported when I have .7 selected

<Window Name="Root/Background" Type="OgreTray/StaticImage">
<Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.01,0},{0.75,0},{0.271985,0}}" />
<Property Name="Font" Value="DejaVuSans-10" />
<Property Name="Name" Value="Background" />
<Property Name="FrameEnabled" Value="False" />
<Property Name="BackgroundEnabled" Value="False" />
</Window>

vs. CELayoutEditors

<Window Type="OgreTray/StaticImage" Name="Background" >
<Property Name="Font" Value="Batang-26" />
<Property Name="FrameEnabled" Value="False" />
<Property Name="Image" Value="set:Nexus image:MainMenuBackground" />
<Property Name="UnifiedAreaRect" Value="{{0.25,0},{0.01,0},{0.75,0},{0.271985,0}}" />
<Property Name="BackgroundEnabled" Value="False" />
</Window>

More info here: http://www.cegui.org.uk/phpBB2/viewtopic.php?f=15&t=5953 [^]
No tags attached.
duplicate of 0000590new  Code editing just ignores invalid code silently 
related to 0000491resolved pav Property inspecting systems reworking 
Issue History
2012-01-20 13:40KulikNew Issue
2012-01-20 13:45KulikCategory(No Category) => Layout editing
2012-02-05 12:22KulikNote Added: 0000865
2012-02-05 12:22KulikRelationship addedrelated to 0000491
2012-02-06 12:10pavNote Added: 0000867
2012-02-10 17:16KulikNote Added: 0000874
2012-02-10 17:16KulikAssigned To => Kulik
2012-02-10 17:16KulikStatusnew => assigned
2012-02-22 11:21KulikRelationship addedduplicate of 0000590
2012-02-22 11:22KulikNote Added: 0000901
2012-02-22 11:22KulikStatusassigned => closed
2012-02-22 11:22KulikResolutionopen => duplicate

Notes
(0000865)
Kulik   
2012-02-05 12:22   
Hopefully will get magically solved with pav256's property inspecting branch :-)
(0000867)
pav   
2012-02-06 12:10   
It looks like this is working now. Setting a vanilla button's NormalImage to "OgreTrayImages/OgreLogo" had an immediate effect and was serialized property.

Note: I don't if there are any compatibility problems ("set:xxx image:yyy" vs "xxx/yyy").
(0000874)
Kulik   
2012-02-10 17:16   
This is caused by the fact that the image is not found when loading the layout, therefore it's ignored.

I agree that it shouldn't be silently ignored, instead it should somehow be reported.

When I insert an image that does exist, it loads it properly and saves it properly (changing the image references appropriately between 0.7 and 0.8).
(0000901)
Kulik   
2012-02-22 11:22   
0000590 should take care of this as well.

The issue will be mitigated when Image inspectors are implemented (selecting image using a combobox instead of writing the name precisely).