Bug: Layout editor in MyGUI 3.0.1

Garthy

03-01-2011 02:12:52

I'm not sure where to submit this?

The layout editor in MyGUI 3.0.1 and Ogre 1.7.2 on Linux will crash immediately if any of the editable fields are completely cleared out.

To reproduce:

- Fire up layout editor
- Double-click on "Window"
- Go to the "Caption" property on the right.

Then, either:

- Highlight text, hit backspace. Crash.
- Click in box. Hit backspace until you have deleted all text but one character. No crash. Delete the last character. Crash.

If you leave any text in the field, it won't crash. I tried several fields and they crash in the same way.

Workaround: Ensure there's always at least one character in each field. ;)

The crash occurs in ProperiesPanelView::notifyApplyProperties(), for what it's worth. I can give a full stack trace if it helps, but I imagine the steps to reproduce above would be of more use.

Altren

03-01-2011 04:05:12

About 70% of LayoutEditor code was changed since then, so this was either fixed or rewritten.
But I'm surprised that there was so simple bug in LE. It was used in production and was left unnoticed.

Edit: can't reproduce in 3.0.3 version either. You can get it here: http://my-gui.svn.sourceforge.net/viewv ... /?view=tar

Garthy

03-01-2011 10:20:51

On a related subject...

Version 3.0.1 (the one I'm using) is listed as the latest stable release when you click on the download tab here:

http://mygui.info/

Is version 3.0.3 an unofficial release, or the codename for the current work-in-progress, or is the download link out-of-date, or something else? I'm confused. :}

Altren

03-01-2011 13:33:39

This is release that had no news about it. It contain only fixes and is stable. I don't really know why we never made official announce of it.
And about current work-in-progress - 3.2.0 is coming soon, probably in January.

Garthy

03-01-2011 23:14:01

This is release that had no news about it. It contain only fixes and is stable. I don't really know why we never made official announce of it.
And about current work-in-progress - 3.2.0 is coming soon, probably in January.


Interesting, thanks for the additional information. :) Good news especially re 3.2.0. I've been playing around with the LogManager class from the latest subversion as of yesterday, and I'm looking forward to the next official release that includes it. :)