Author Topic: Code::Block is freezing the X window GUI in (Ubuntu) Linux.  (Read 5979 times)

Offline momaa

  • Multiple posting newcomer
  • *
  • Posts: 16
Code::Block is freezing the X window GUI in (Ubuntu) Linux.
« on: February 02, 2007, 01:07:46 pm »
Hello,

Code::Blocks on Ubuntu Linux 6.10.

X window is freezing when dragging marked text or/and changing tab-page in Code::Blocks IDE. 
This error is explained here: https://launchpad.net/ubuntu/+bug/57569

There is also a video clip (the sound in the video clip has nada to do with C::B) .
The X window GUI is freezing when user drags text and/or changes tab-page.  The error is reproducible. Sooner or later it freezes the mouse and keyboard.

I will study wheather this error happens on Ubuntu Feisty (TEST 2).  Feisty is the upcoming Ubuntu v7.04 (to be relased in april 2007).

Cheers,
  Moma
  http://www.futuredesktop.org
« Last Edit: February 02, 2007, 01:14:36 pm by momaa »

Offline DoMeN

  • Multiple posting newcomer
  • *
  • Posts: 66
Re: Code::Block is freezing the X window GUI in (Ubuntu) Linux.
« Reply #1 on: February 02, 2007, 01:56:05 pm »
I'm experiencing the same problem on Debian etch but because I'm working on a server I can ask somebody else to kill C::B for me and then everything works OK again. I can then even start C::B again without any problems.

EDIT: I can't repeat the problem whenewer I want but it happens when I accidentily press left and middle mouse button at the same time and move the mouse a bit.
« Last Edit: February 02, 2007, 02:08:58 pm by DoMeN »

Offline Grom

  • Almost regular
  • **
  • Posts: 206
Re: Code::Block is freezing the X window GUI in (Ubuntu) Linux.
« Reply #2 on: February 02, 2007, 04:01:41 pm »
SUSE 10.0 had similar problem before. But now that problem was fixed. Seems to be Ubuntu team didn't fix that problem in X yet. :lol:
Now I have SUSE 10.2 everything works good. I had no problems with C::B. Even I install 32 bit version of CB for SUSE 10.0 on top of SUSE 10.2 64 bit.
Even I saw that a lot of people had troubles with slow working CB under Ubuntu Linux.
In all cases you may use profiling to find out the issue of the problem. You may switch  with ctrl-shift-f1 to the terminal mode and stop CB (X should works after that). Finally you can analise the a.out file with profiler. Good luck with debuging :lol:
gcc+winXP+suse.

Offline momaa

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: Code::Block is freezing the X window GUI in (Ubuntu) Linux.
« Reply #3 on: February 02, 2007, 05:45:39 pm »
You may switch  with ctrl-shift-f1 to the terminal mode and stop CB (X should works after that).

Thanks,  I can press CNTR + ALT + F1 and logon to the text console. And type:
$ killall codeblocks
and back to the graphical screen ALT + F7...

BTW: This error occurs in Feisty too. See the bug-report on launchpad.


« Last Edit: February 02, 2007, 05:50:57 pm by momaa »

Offline Grom

  • Almost regular
  • **
  • Posts: 206
Re: Code::Block is freezing the X window GUI in (Ubuntu) Linux.
« Reply #4 on: February 02, 2007, 06:51:59 pm »
wx is using GTK engine under Linux. Probably that is GTK bug. Check the GTK version under Linux that you use.
gcc+winXP+suse.

Offline momaa

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: Code::Block is freezing the X window GUI in (Ubuntu) Linux.
« Reply #5 on: March 10, 2007, 05:46:23 pm »
I have a one possible solution to this problem.

See: https://launchpad.net/ubuntu/+source/wxwidgets2.6/+bug/57569/comments/13
+
https://launchpad.net/ubuntu/+source/wxwidgets2.6/+bug/57569/comments/14

But the real GTK developers need to see this issue. I hope the launchpad people will contact them.

Offline rjmyst3

  • Multiple posting newcomer
  • *
  • Posts: 117
    • wxFormBuilder
Re: Code::Block is freezing the X window GUI in (Ubuntu) Linux.
« Reply #6 on: March 10, 2007, 09:38:17 pm »
This bug has been fixed in wxGTK 2.8, once codeblocks is compiled against that that dragging bugs will be gone.