Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
very serious error on rev 7327
Jenna:
--- Quote from: thomas on August 06, 2011, 06:48:17 pm ---
--- Quote from: killerbot on August 05, 2011, 01:30:46 pm ---all toolbars gone, had to bring all of them back manually
--- End quote ---
That is a "feature" that I've observed a few times already, it seems to be associated with clicking somewhere on the tab bar more than once. Or something.
Apparently someone thought that it would be a "cool feature" to have Code::Blocks switch to "compact mode" then. At least that's what happens regularly with my 3-4 month old build.
--- End quote ---
This happens if you doubleclick on an editor tab with the left mouse-button.
Doubleclicking again switches back to the former perspective.
The minimized perspective can be configured as all other perspectives, too.
It's a feature I use a lot, especially if I work on two (or more) files at the same time and need the whole width of my monitor (even if it is 1920x1600).
--- Quote from: thomas on August 06, 2011, 06:48:17 pm ---In the same way, someone apparently deemed it a good idea too secretly move the keyboard focus elsewhere if the mouse is over any other pane than the editor. Having the result that if you move the mouse out of the way, you can't type...
--- End quote ---
This can happen on windows, if you hover the mouse over a tab (only way to fetch the mouse-wheel event on windows), if you leave the tab the former focuse should be restored.
... or if you use the dragscroll-plugin and have "Focus follows mouse" (or something like this) switched on.
MortenMacFly:
--- Quote from: jens on August 06, 2011, 07:21:22 pm ---It's a feature I use a lot, especially if I work on two (or more) files at the same time and need the whole width of my monitor (even if it is 1920x1600).
--- End quote ---
I find this feature very useful, too. Indeed.
--- Quote from: thomas on August 06, 2011, 06:48:17 pm ---This can happen on windows, if you hover the mouse over a tab (only way to fetch the mouse-wheel event on windows), if you leave the tab the former focus should be restored.
--- End quote ---
On Windows, this can be really annoying, indeed. It happened to me several times that when moving the mouse out of the way I typed to nowhere. However, Thomas: you can easily switch that feature off and everything is back to normal. So nothing to worry about. The only thing is, that on Windows, IMHO this feature should be disabled by default. (Settings -> Environment -> Notebook appearance -> Disable "Enable scrolling on mousewheel".)
Jenna:
--- Quote from: MortenMacFly on August 06, 2011, 09:00:22 pm ---
--- Quote from: jens on August 06, 2011, 07:21:22 pm ---It's a feature I use a lot, especially if I work on two (or more) files at the same time and need the whole width of my monitor (even if it is 1920x1600).
--- End quote ---
I find this feature very useful, too. Indeed.
--- Quote from: thomas on August 06, 2011, 06:48:17 pm ---This can happen on windows, if you hover the mouse over a tab (only way to fetch the mouse-wheel event on windows), if you leave the tab the former focus should be restored.
--- End quote ---
On Windows, this can be really annoying, indeed. It happened to me several times that when moving the mouse out of the way I typed to nowhere. However, Thomas: you can easily switch that feature off and everything is back to normal. So nothing to worry about. The only thing is, that on Windows, IMHO this feature should be disabled by default. (Settings -> Environment -> Notebook appearance -> Disable "Enable scrolling on mousewheel".)
--- End quote ---
This does not work (as far as I know), because the focus is always switched to the notebook on windows (if the mouse is over it).
But this can be changed (hopefully easy), I will see what I can do.
I will also change the default to disabled.
Jenna:
@MortenMacFly and other windows users (and self-compilers)
Can you please test this patch:
--- Code: ---Index: src/sdk/cbauibook.cpp
===================================================================
--- src/sdk/cbauibook.cpp (Revision 7328)
+++ src/sdk/cbauibook.cpp (Arbeitskopie)
@@ -320,7 +320,8 @@
{
nb->m_OverTabCtrl = true;
#ifdef __WXMSW__
- if ( (nb->m_pToolTip == nullptr)
+ if ( s_AllowMousewheel
+ && (nb->m_pToolTip == nullptr)
&& (nb->m_LastSelected == wxNOT_FOUND)
&& (nb->m_LastId == 0) )
{
--- End code ---
With this patch the focus should only be set to the tabs if scrolling with the mousewheel is allowed.
I can not test it at the moment, because either my virtual win7 machine (or the image) is damaged or my working copy of C::B has a problem there.
I will check it tomorrow.
Jenna:
--- Quote from: jens on August 07, 2011, 04:50:14 pm ---I can not test it at the moment, because either my virtual win7 machine (or the image) is damaged or my working copy of C::B has a problem there.
--- End quote ---
Tested and committed.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version