User forums > Using Code::Blocks
Highlight occurrences hides the "highlighted" text
r.stiltskin:
Same thing happens with incremental search (but only one occurrence at a time).
I am using Gnome version 2.22.3 as supplied by Ubuntu. I don't know anything about "composite effects" -- what they are or whether they are enabled. Can you tell me what to look for?
As to your graphics driver idea -- I am using an Nvidia proprietary driver; after your comment I changed my xorg.conf to try the "nv" driver instead, but the same thing happened with that one.
I have not installed any scintilla package, so presumably I have only what is included in C::B's trunk.
Jenna:
Did you try to build C::B from a fresh svn-checkout ?
And did you remove all occurrences of older C::B versions on your system ?
--- Quote from: r.stiltskin on December 06, 2009, 10:23:53 pm ---I am using Gnome version 2.22.3 as supplied by Ubuntu. I don't know anything about "composite effects" -- what they are or whether they are enabled. Can you tell me what to look for?
--- End quote ---
Something like transparent windows while moving and/or transparent window decorations, but that should not harm C::B (at least not in this way).
I don't have ubuntu 8.04 and no (working) nvidia-card to test this behaviour.
I have several linux and windows systems (mostly on kvm-virtual machines) some of them with 32- and 64-bit (kubuntu 9.04, ubuntu 9.10, centos 5.4, openSUSE 11.2, w2k, winxp, vista, win7-64-bit-release-candidat), but no such issues on any of them.
So my idea is to remove everything below <prefix>/lib/codeblocks, <prefix>/share/codeblocks before installing a fresh build
I suggest to run make uninstall first, and then look if anything is left from former installs (the directory layout has changed a little bit, to move the binary parts of the plugins from the share-folder into the lib-folder, so there might be some files left).
Maybe that helps, I have no other idea at the moment.
r.stiltskin:
--- Quote from: Jens ---So my idea is to remove everything below <prefix>/lib/codeblocks, <prefix>/share/codeblocks before installing a fresh build
--- End quote ---
This does not apply to my setup.
I did build it from a fresh svn-checkout. I checked it out into a new EMPTY directory and built it in that directory. My build configuration used --prefix=/opt/codeblocks-svn to install it into a new EMPTY /opt/codeblocks-svn directory, and I changed my launcher so it runs the executable in the new /opt/codeblocks-svn/bin directory. Presumably codeblocks is running entirely in that directory, so the older version that is sitting in a separate /opt/codeblocks2-svn directory should have no effect (unless there is something wrong with the configure script).
I don't have time to recompile now & will be away from this machine for almost 2 weeks. I will see what's happening on another machine (also Ubuntu 8.04 with Nvidia graphics) there. I built C::B on that one last Thursday but didn't try it out yet. If I have time I'll also try building a new checkout on my old HP laptop (also Ubuntu 8.04 but ATI Radeon graphics); if the same thing happens on that one, it's probably an Ubuntu problem. I'll post again when I have some news. Thanks.
r.stiltskin:
Rev. 5945 is doing the same thing on my other desktop (also Ubuntu 8.04 with Nvidia graphics) -- Ctrl-F results and Contextual Search results are hidden by opaque highlighting.
So I did another fresh checkout on my laptop (Ubuntu 8.04 with ATI graphics), this time it's Rev. 5954, and I'm getting the same opaque highlighting there as well.
Any more ideas? I'll try to find some help on Ubuntu's forum. Out of curiosity, where is the code that produces this highlighting?
r.stiltskin:
--- Quote from: jens on December 06, 2009, 11:03:43 pm ---I don't have ubuntu 8.04 and no (working) nvidia-card to test this behaviour.
I have several linux and windows systems (mostly on kvm-virtual machines) some of them with 32- and 64-bit (kubuntu 9.04, ubuntu 9.10, centos 5.4, openSUSE 11.2, w2k, winxp, vista, win7-64-bit-release-candidat), but no such issues on any of them.
--- End quote ---
So, Jens, it seems that I am very unlucky. I just completed a new installation of Debian Lenny (with XFCE Desktop) on an old PC that has a Matrox graphics card. I checked out C::B trunk (rev. 5980), built it to install in /opt/codeblocks-svn with-contrib-plugins=all, and guess what? It looks exactly like the previous builds of rev. 5945 on my Ubuntu 8.04 machines: all occurrences of a search term entered in the Ctrl-F (search/find) window are completely hidden by an opaque block of color. And Incremental Search also hides each occurrence of its search term. If I de-select "Highlight occurrences", the problem goes away for Ctrl-F, but Incremental Search is still hiding each item that it finds.
So it seems this is not an Ubuntu issue or an Nvidia issue or a Gnome issue. It surprises me that nobody else has observed this behavior.
Here are the exact steps that I took to build:
--- Code: ---mkdir codeblocks
cd codeblocks
svn co svn://svn.berlios.de/codeblocks/trunk
cd trunk
./bootstrap
./configure --prefix=/opt/codeblocks-svn --with-contrib-plugins=all
make
sudo make install
--- End code ---
I don't see any room for error in that, do you?
Edited to correct the "exact steps". Apparently there is always room for error. ;)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version