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

Post here wxCrafter related issues / features / bugs
Lotharyx
CodeLite Enthusiast
Posts: 12
Joined: Wed Apr 20, 2016 8:01 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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.
You do not have the required permissions to view the files attached to this post.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

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

Post 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
You do not have the required permissions to view the files attached to this post.
Post Reply