Author Topic: code blocks ide - why i lose the text editor code focus?  (Read 4437 times)

Offline cambalinho

  • Multiple posting newcomer
  • *
  • Posts: 93
code blocks ide - why i lose the text editor code focus?
« on: November 22, 2018, 10:08:59 pm »
when i'm writing the code on text editor and i move the mouse to the tab's, why i lose the text editor focus?
can i disable these option?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: code blocks ide - why i lose the text editor code focus?
« Reply #1 on: November 23, 2018, 05:19:30 pm »
What operating system? What codeblocks version?

Offline sodev

  • Regular
  • ***
  • Posts: 498
Re: code blocks ide - why i lose the text editor code focus?
« Reply #2 on: November 23, 2018, 06:38:29 pm »
Most probably a CodeBlocks linked against wxWidgets >= 3.0, not sure if it only happens on Windows 10, but i have the same issue with my CodeBlocks with wxWidgets 3.1.2+, but i can live with that :).

Its sort of funny, it happens only on the notebook tabs, not only the ones of the editor pane, but the tabs in all panes like management, logs. If the mouse hovers on a tab the keyboard focus is lost, if the mouse leaves the tab it returns where it was. Seems to be a CodeBlocks issue because it doesn't happen in the AUI sample.

Offline cambalinho

  • Multiple posting newcomer
  • *
  • Posts: 93
Re: code blocks ide - why i lose the text editor code focus?
« Reply #3 on: November 23, 2018, 07:41:36 pm »
i'm using Windows 7.
Code::Blocks 17.12 version.
i don't have sure if it's the last, but i will see it.
"wxWidgets" sorry,  i have seen these project type, but i don't know it.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: code blocks ide - why i lose the text editor code focus?
« Reply #4 on: November 24, 2018, 12:06:14 am »
Because it is a feature.
Settings -> Environment -> Notebook appearance -> Enable scrolling with mousewheel
(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 cambalinho

  • Multiple posting newcomer
  • *
  • Posts: 93
Re: code blocks ide - why i lose the text editor code focus?
« Reply #5 on: November 24, 2018, 12:10:41 am »
thank you so much for all
i need ask: why these feature is enabled by default?
by my experience, these is a bad feature. because we can move the mouse without we know it. that's why i was getting very trouble :(

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: code blocks ide - why i lose the text editor code focus?
« Reply #6 on: November 24, 2018, 12:14:07 am »
Because some people like it and don't have trouble with accidental mouse moves.
(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 cambalinho

  • Multiple posting newcomer
  • *
  • Posts: 93
Re: code blocks ide - why i lose the text editor code focus?
« Reply #7 on: November 24, 2018, 12:15:50 am »
understood.
thank you so much for all..
now i can write the code without problems... thank you so much