Page 1 of 1

Hang when setting root panel size to -1,-1

Posted: Fri May 13, 2016 7:07 pm
by Lotharyx
CodeLite 9.1.6 on Debian Jessie x64
gcc-4.9

With a certain combination of flexible grid sizers and contents with wxEXPAND set, if the root wxPanel has its size set to -1, -1, the entire CodeLite application hangs and must be killed, resulting in loss of any unsaved changes. The standalone wxCrafter also hangs in the same way.

Steps to reproduce:
  1. Open the attached wxcp file either in CodeLite wxCrafter plugin or wxCrafter stand-alone.
  2. Select "CrasherBase"
  3. In its Size field, enter "-1, -1" and press Enter
  4. The application freezes.

Re: Hang when setting root panel size to -1,-1

Posted: Sat May 14, 2016 12:51 am
by DavidGH
Hi,

I can replicate that, also in jessie. From the backtrace it seems to be a problem with wx code, or gtk or both.

I suspect it would hang in the same way if you reproduced it in code (or created the code from the wxcp as-is, then changed it by hand to -1,-1) and built/ran the project.

Regards,

David