#843 Colour workspace tags bug

Discussion about CodeLite development process and patches
solewalker
CodeLite Veteran
Posts: 75
Joined: Thu Mar 14, 2013 11:24 am
Genuine User: Yes
IDE Question: C++
Contact:

#843 Colour workspace tags bug

Post by solewalker »

Anybody noticed this bug ? http://sourceforge.net/p/codelite/bugs/843/
I can reproduce this even on 5.2. Normally workspace tags are not highlighted, even when "Color workspace tags" box is checked, to make them highlighted do the following,

1. open, Settings -> Tags Settings.. then click OK
2. Now open, Settings and click any of the "Global Editor Preferences" or "Syntax Highlight and Fonts" or "Keyboard Shortcuts" or "Environment Variables" or "Build Settings" or "Debugger Settings" or "Tags Settings". Then either click 'OK' , 'Cancel' or just close the window.
3. Now, something is triggered and workspace tags are highlighted properly. But you have to do it every time you start codelite.

I wonder why nobody noticed this bug.
solewalker
CodeLite Veteran
Posts: 75
Joined: Thu Mar 14, 2013 11:24 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: #843 Colour workspace tags bug

Post by solewalker »

Now, every time I start an instance of codelite, I have to go to Settings -> Tags settings -> click 'ok' to enable "tags coloring". Not a problem for me, but for those who don't know about this trick, might think codelite does not provide coloring like visual studio or eclipse.
solewalker
CodeLite Veteran
Posts: 75
Joined: Thu Mar 14, 2013 11:24 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: #843 Colour workspace tags bug

Post by solewalker »

afaik this is not fixed even in 5.2 release
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: #843 Colour workspace tags bug

Post by eranif »

It works for me.
I suspect it was a wxWidgets bug (my current build is using the latest wx295 build)

Eran
Make sure you have read the HOW TO POST thread
solewalker
CodeLite Veteran
Posts: 75
Joined: Thu Mar 14, 2013 11:24 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: #843 Colour workspace tags bug

Post by solewalker »

Ok, tomorrow I will try to build codelite using wx295. So latest release of 5.2 is not built with wx295 ?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: #843 Colour workspace tags bug

Post by eranif »

No. Wx295 was released on the same day as codelite, we could not take the chance of releasing codelite with an un tested wxwidgets version

Eran
Make sure you have read the HOW TO POST thread
petah
CodeLite Expert
Posts: 231
Joined: Sat Nov 24, 2012 8:04 pm
Genuine User: Yes
IDE Question: c++
Location: Los Angeles
Contact:

Re: #843 Colour workspace tags bug

Post by petah »

FYI wx trunk had a nasty crash that affected CL under Gtk a few days ago but Vadim fixed it yesterday.

-- p
main: Debian Jessie x64 + custom wxTrunk
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: #843 Colour workspace tags bug

Post by eranif »

How do I reproduce this crash?

Eran
Make sure you have read the HOW TO POST thread
petah
CodeLite Expert
Posts: 231
Joined: Sat Nov 24, 2012 8:04 pm
Genuine User: Yes
IDE Question: c++
Location: Los Angeles
Contact:

Re: #843 Colour workspace tags bug

Post by petah »

it's already gone/fixed :)

It's Trac ticket #15358 "SGSEGV wxWindow::SetCanFocus", reported on wx-dev last Wednesday and fixed on Friday.

It'd crash when trying to open any pref dialog with a wxStaticBox. I hit the bug by accident while updating my CL build and spent a while digging around, thinking it was due to my wx config, then remembered I saw a focus-related bug on wx-dev, and rolled back to the official wx295 version. Haven't tried wx trunk since the fix... probably will stay with 295 release for a while.

-- p
main: Debian Jessie x64 + custom wxTrunk
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: #843 Colour workspace tags bug

Post by eranif »

Ah... so it only happened with wx-trunk... thats OK, I don't use it ;)

Eran
Make sure you have read the HOW TO POST thread
Post Reply