Page 1 of 2

#843 Colour workspace tags bug

Posted: Sat Jun 15, 2013 5:50 pm
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.

Re: #843 Colour workspace tags bug

Posted: Sat Jun 29, 2013 1:15 pm
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.

Re: #843 Colour workspace tags bug

Posted: Sat Jul 20, 2013 7:45 pm
by solewalker
afaik this is not fixed even in 5.2 release

Re: #843 Colour workspace tags bug

Posted: Sat Jul 20, 2013 9:37 pm
by eranif
It works for me.
I suspect it was a wxWidgets bug (my current build is using the latest wx295 build)

Eran

Re: #843 Colour workspace tags bug

Posted: Sat Jul 20, 2013 10:34 pm
by solewalker
Ok, tomorrow I will try to build codelite using wx295. So latest release of 5.2 is not built with wx295 ?

Re: #843 Colour workspace tags bug

Posted: Sun Jul 21, 2013 8:45 am
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

Re: #843 Colour workspace tags bug

Posted: Sat Jul 27, 2013 7:51 pm
by petah
FYI wx trunk had a nasty crash that affected CL under Gtk a few days ago but Vadim fixed it yesterday.

-- p

Re: #843 Colour workspace tags bug

Posted: Sat Jul 27, 2013 8:13 pm
by eranif
How do I reproduce this crash?

Eran

Re: #843 Colour workspace tags bug

Posted: Sun Jul 28, 2013 3:49 am
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

Re: #843 Colour workspace tags bug

Posted: Sun Jul 28, 2013 9:53 am
by eranif
Ah... so it only happened with wx-trunk... thats OK, I don't use it ;)

Eran