Code::Blocks Forums

User forums => Help => Topic started by: Eden on February 23, 2007, 04:51:39 pm

Title: C::B locking up on GNU/Linux
Post by: Eden on February 23, 2007, 04:51:39 pm
I'm using the latest (3635) SVN build of Code::Blocks on 64bit Gentoo and for some reason it keeps locking up on me. Specifically if I do things like quickly move between 2 or more open tabs which will always result in it eventually locking up and forcing me to restart the x server.

I've only recently noticed the problem in the last 10 or so revisions.

Any insight to what the problem may be would be helpfully as Code::Blocks is pretty much unusable at the moment.
Title: Re: C::B locking up on GNU/Linux
Post by: Eden on March 05, 2007, 09:11:04 pm
Can someone at least give me an idea of how I can narrow down what the problem might be?
Title: Re: C::B locking up on GNU/Linux
Post by: Pecan on March 05, 2007, 09:16:35 pm
Can someone at least give me an idea of how I can narrow down what the problem might be?

It's a GTK bug. Some users have a temporary fix for it.

http://forums.codeblocks.org/index.php/topic,4442.msg35221.html#msg35221
The 10 november 2006 build is out.


This is a wxWidgets to GTK communications bug in drag&drop.
Not much CodeBlocks can do about it except turn off drag&drop on linux.

How can I disable drag&drop in GNOME? Please help me...  :(

You would compile wxWidgets yourself and set the define in setup.h to 0
Code
#define wxUSE_DRAG_AND_DROP 1

This might cause other side effects.

If its just wxFlatNotebook thats the problem, you could compile it with the wxFNB_NODRAG flag.


Title: Re: C::B locking up on GNU/Linux
Post by: Eden on March 05, 2007, 09:26:34 pm
Ah, thank you, i'll give that a try.