Bug #18993 2013-05-06 15:34

itaih

Application crash on a drag and drop operation with wxSmith

Hello,

I experienced a very annoying CodeBlocks crash with the latest version (12.11).

The crash can be reproduced very easily as follows:

Create a new wxWidgets application.

Select wxSmith as the GUI editor.

Create a simple dialog with the following items:

A wxBoxSizer which contains a wxButton.

Outside of the wxBoxSizer create a wxTextControl.

The button has the following border properties: Left, Top, Buttom.

Select the button control on the resources property page (or in the GUI editor, it does not really matter), then expand the 'Border' group in the control's property page, then click the 'Right' check-box (to select it), and immediately after that drag the text control (with the mouse) onto the right side of the button control.

This crashes CodeBlocks.

I think that the same problem exists also on the latest nightly build that I could find (20130412_rev8982).

As a workaround I found that if immediately after clicking the check-box I click another line in the same propery sheet (for example the 'Max Width' line), the program would not crash on the following the drag and drop operation.

Category
Plugin::wxSmith
Group
Platform:All
Status
Open
Close date
 
Assigned to
biplab