Author Topic: C::B locking up on GNU/Linux  (Read 3992 times)

Eden

  • Guest
C::B locking up on GNU/Linux
« 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.

Eden

  • Guest
Re: C::B locking up on GNU/Linux
« Reply #1 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?

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2777
Re: C::B locking up on GNU/Linux
« Reply #2 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.


« Last Edit: March 05, 2007, 09:20:21 pm by Pecan »

Eden

  • Guest
Re: C::B locking up on GNU/Linux
« Reply #3 on: March 05, 2007, 09:26:34 pm »
Ah, thank you, i'll give that a try.