Code::Blocks Forums

User forums => Help => Topic started by: firew4lker on December 10, 2011, 04:13:18 pm

Title: Build messages Tab always "steals" focus.
Post by: firew4lker on December 10, 2011, 04:13:18 pm
Hello.

I was wondering if there is a way to disable Build messages Tab from "stealing" focus. Even if you close the tab it will pop up next time you compile a project.

I am currently developing an application for an avr target and the Build log tab is more useful (e.g. infos from avr size).

I have looked again and again but I can't find an option (or I can see it).
Title: Re: Build messages Tab always "steals" focus.
Post by: thomas on December 12, 2011, 10:49:45 am
This is a bug (or a co-feature of a useless feature?) of the notebook/tab class used. Go to the settings menu, choose Environment, and under "Notebook appearance", disable "Enable scrolling on mousewheel".

See here: http://forums.codeblocks.org/index.php/topic,15088.msg101013.html#msg101013
Title: Re: Build messages Tab always "steals" focus.
Post by: oBFusCATed on December 12, 2011, 11:41:59 am
The OP has something different in mind.
His problem is that at the end of the build the Logs notebook is switched to build messages, but he wants to see the build log.
Firew4lker, am I correct?
Title: Re: Build messages Tab always "steals" focus.
Post by: firew4lker on December 12, 2011, 12:41:45 pm
The OP has something different in mind.
His problem is that at the end of the build the Logs notebook is switched to build messages, but he wants to see the build log.
Firew4lker, am I correct?

Yes.

The solution thomas sugested seems to work.

Wouldn't be nice a "Always on top" option for the tabs? Should I fill a feature request? What do you think?
Title: Re: Build messages Tab always "steals" focus.
Post by: firew4lker on December 12, 2011, 01:19:33 pm
No, my bad. The above solution doesn't work.

The time I tested it, there was no warnings, so the "Build messages" didn't popped up.