News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

The 27 February 2010 build (6181) is out.

Started by killerbot, February 28, 2010, 09:19:34 AM

Previous topic - Next topic

critic

Now I use C::B and I have a lof of files opened. Drop down list in the upper-right side of editor is not sorted and it's very difficult to search file in it. I think it must be sorted.

killerbot

Quote from: critic on April 05, 2010, 12:08:54 PM
Now I use C::B and I have a lof of files opened. Drop down list in the upper-right side of editor is not sorted and it's very difficult to search file in it. I think it must be sorted.
that makes sense, could you file a request (or event a bug) for it on our berlios page so this doesn't get lost.

EDIT : note to CB developers, I have no idea how it was back in our previous release, but if back then it was sorted, we should sort it back before a new release.

Jenna

#62
Quote from: killerbot on April 05, 2010, 01:37:45 PM
Quote from: critic on April 05, 2010, 12:08:54 PM
Now I use C::B and I have a lof of files opened. Drop down list in the upper-right side of editor is not sorted and it's very difficult to search file in it. I think it must be sorted.
that makes sense, could you file a request (or event a bug) for it on our berlios page so this doesn't get lost.

EDIT : note to CB developers, I have no idea how it was back in our previous release, but if back then it was sorted, we should sort it back before a new release.
I suggest using the open files list plugin ("View -> Open files list"), it uses a sorted list.

EDIT:
I just tested the 8.02 behaviour and it also shows the dropdownlist in the same order the tabs are displayed.

GaoHan

Hello all,

First of all thank you for the fantastic program! Took me a while, but got it now all set up with CMake as makefile generator, but it works like a charm now!

Secondly, I am not sure if it is a bug or something, but sometimes when I would open a new dialog, for example for making a new project, the dialog is sometimes not shown in front but behind the main screen (at least I assume that, because i always run CB fullscreen). As a result the main window locks up, and there is no way to get the dialog to the front. No matter where I click in the screen, I will hear the Windows Plung sound. The only thing i can do in such a moment is to kill the process by the task-manager. I have lost quite some data in this way, but I need to use the SVN build for the prebuild steps needed with CMake.

Any advice is appreciated!

Gao Han

PS: I am running C::B build 6181 on Windows 7 x64 together with GNU GCC.

foobar123

Hi! Nice to hear that there will be a new release.

"svn build rev 6202 (2010-04-06 05:38:22) gcc 4.3.4 Linux/unicode - 32 bit" pops up a message on startup which I can't read because it's white-on-yellow. The color scheme is hard-coded to use black text in some places (like output tabs) which makes the text unreadable in sensible (i. e. bright-on-dark) system color schemes.

Another bug: Scrolling the editor with the mouse wheel doesn't work properly. If I scroll the wheel *very* slowly, the GUI reacts to every wheel movement by scrolling the editor text up and down; but if I scroll faster, most mouse wheel events seem to be lost, and the editor text hardly scrolls at all.



Hmmm. I recompiled & installed both wxWidgets 2.8.10 and Code::Blocks, and now Code::Blocks crashes on startup. Does anybody know why that happens? ... I'm attaching the debug report.

[attachment deleted by admin]

[attachment deleted by admin]

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

foobar123

I would test the patch if I could get any version to start. The following happens with the latest SVN tip and with revision 6181, too - this output is from 6181:

codeblocks
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading toolbar...
Debugger: loaded
08:08:57 PM: Error: Can't load image from file '�����������������������������������������������������������)����������������������������������)�����������������/images/wxsmith/wxFileDialog32.png': file does not exist.
08:08:57 PM: Error: Can't load image from file '�����������������������������������������������������������)����������������������������������)�����������������/images/wxsmith/wxFileDialog16.png': file does not exist.
08:08:57 PM: Error: Can't load image from file [...]
08:08:57 PM: Error: Can't load image from file '�����������������������������������������������������������)����������������������������������)�����������������/images/wxsmith/wxButton32.png': file does not exist.
08:08:57 PM: Error: Can't load image from file '�����������������������������������������������������������)����������������������������������)�����������������/images/wxsmith/wxButton16.png': file does not exist.
08:08:57 PM: Error: Can't load image from file '�����������������������������������������������������������)����������������������������������)�����������������/images/wxsmith/wxGridSizer32.png': file does not exist.
08:08:57 PM: Error: Can't load image from file '�����������������������������������������������������������)����������������������������������)�����������������/images/wxsmith/wxGridSizer16.png': file does not exist.
08:08:57 PM: Error: Can't load image from file '�����������������������������������������������������������)����������������������������������)�����������������/images/wxsmith/wxHtmlWindow32.png': file does not exist.
08:08:57 PM: Error: Can't load image from file '�����������������������������������������������������������)����������������������������������)�����������������/images/wxsmith/wxHtmlWindow16.png': file does not exist.
08:08:57 PM: Error: Can't load image from file '�����������������������������������������������������������)����������������������������������)�����������������/images/wxsmith/wxStaticLine32.png': file does not exist.
08:08:57 PM: Error: Can't load image from file '�����������������������������������������������������������)����������������������������������)�����������������/images/wxsmith/wxStaticLine16.png': file does not exist.
08:08:57 PM: Error: Can't load image from file '�����������������������������������������������������������)����������������������������������)�����������������/images/wxsmith/wxScrolledWindow32.png': file does not exist.
08:08:57 PM: Error: Can't load image from file '�����������������������������������������������������������)����������������������������������)�����������������/images/wxsmith/wxScrolledWindow16.png': file does not exist.
Aborted (core dumped)


foobar123

OK, so I figured out that if I remove any package with "codeblocks" and "wx" in the name, then re-install both the wxGtk 2.8.10 and Code::Blocks from source, the above error goes away. Once I reinstall a wxGtk package, problem reappears. So apparently its a subtle incompatibility between recent Code::Blocks code and the wxGtk packages that's causing the error.

Unfortunately other apps depend on the wxGtk packages, so I now have the choice of running either recent Code::Blocks, or *any* other app that uses wxGtk.

:-(

oBFusCATed

OS? You should link C::B use the same library files (.so-s) for the building and running C::B, else strange things can happen.

Why not install wxGTK-dev?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

foobar123

Quote from: oBFusCATed on April 07, 2010, 09:46:02 PM
Why not install wxGTK-dev?

Because wxgtk-dev depends on the package which makes Code::Blocks crash, like I explained above.

I'm using Ubuntu 9.10.

I also tried the apt line Jens recommends at http://apt.jenslody.de/ , but the packages from that repository are incompatible too.

When I install both the wxGtk I compiled from source and the packaged versions, Code::Blocks crashes too - it seems to prefer the packaged, incompatible version.

Jenna

Quote from: foobar123 on April 07, 2010, 10:06:17 PM
Quote from: oBFusCATed on April 07, 2010, 09:46:02 PM
Why not install wxGTK-dev?

Because wxgtk-dev depends on the package which makes Code::Blocks crash, like I explained above.

I'm using Ubuntu 9.10.

I also tried the apt line Jens recommends at http://apt.jenslody.de/ , but the packages from that repository are incompatible too.

When I install both the wxGtk I compiled from source and the packaged versions, Code::Blocks crashes too - it seems to prefer the packaged, incompatible version.

Did you read this note:
Quote from: http://apt.jenslody.de/If you want to use my packages on ubuntu 9.10 (karmic koala) you have to use the packages provided by http://apt.wxwidgets.org  for jaunty, because the wx2.8.10 packages from ubuntu are not compatible with the packages from http://apt.wxwidgets.org.
There exists also a repository containing packages for ubuntu, maintained by pasgui, see here how to use it.

foobar123

#71
Quote from: jens on April 07, 2010, 10:11:23 PM
Did you read this note:
Quote from: http://apt.jenslody.de/If you want to use my packages on ubuntu 9.10 (karmic koala) you have to use the packages provided by http://apt.wxwidgets.org  for jaunty, because the wx2.8.10 packages from ubuntu are not compatible with the packages from http://apt.wxwidgets.org.
There exists also a repository containing packages for ubuntu, maintained by pasgui, see here how to use it.

The mentioned Ubuntu repository gives me the 8.02 code, not the code for the nightly build; and the source for the nightly build which I pulled from SVN doesn't build against the wxgtk-dev packages from the Ubuntu repository. First error is
In file included from ../../../src/include/sdk_precomp.h:13,
                from tinywxuni.cpp:1:
../../../src/include/sdk_common.h:34:23: error: wx/wxprec.h: No such file or directory

I installed the dev packages as recommended with "sudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-headers wx-common".

I'm now trying to build against the wxgtk2.8.10 which I installed from source, while keeping the wxgtk packages from pasgui's Ubuntu repositories installed, so that I can run other wxgtk apps.

Edit: Well, no; that didn't work out. Code::Blocks SVN rev. 6181 + wxgtk source + wxgtk packages from pasgui's Ubuntu repos still crashes.
I have to use other wx apps, so it's not possible to test any patch. Sorry.

Update: Finally. It's running!!!
Don't ask me what exactly I did, but I must have hit the right package combination somehow. Wow. :)

Update: The patch from http://developer.berlios.de/patch/?func=detailpatch&patch_id=2855&group_id=5358 fixes the white-on-yellow Warning text (but not the hardcoded-to-black Build messages text).  Please apply this patch.

oBFusCATed

#72
Quote from: foobar123 on April 07, 2010, 11:39:58 PM
... (but not the hardcoded-to-black Build messages text).  ...
Can you show me a screenshot?

edit: also the name of the theme you're using
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

foobar123

#73
Sure.  Here's a screenshot with the Xfce-dusk theme. I usually hand-tweak the colors a bit with Gnome Color Chooser (I think it's *too* dark), but this is the plain unmodified theme.

While I'm at it =) The forum entry boxes also have the dark-on-dark problem. Same thing, probably: Foreground is set to black, but background color is left at the default, so when the default is dark, it's unreadable.

[attachment deleted by admin]

oBFusCATed

Oh, I've once tried to fix this but failed... it is added to my TODO for another try...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]