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.
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.