Author Topic: Build messages Tab always "steals" focus.  (Read 3961 times)

Offline firew4lker

  • Single posting newcomer
  • *
  • Posts: 7
Build messages Tab always "steals" focus.
« 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).

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Build messages Tab always "steals" focus.
« Reply #1 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
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Build messages Tab always "steals" focus.
« Reply #2 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?
(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!]

Offline firew4lker

  • Single posting newcomer
  • *
  • Posts: 7
Re: Build messages Tab always "steals" focus.
« Reply #3 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?

Offline firew4lker

  • Single posting newcomer
  • *
  • Posts: 7
Re: Build messages Tab always "steals" focus.
« Reply #4 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.