I build rev 7327 --> major feature : spellchecker plugin in linux .
Startup CB --> message boxes coming up saying that disabling the compiler plug-in is no good idea. Duh, I didn't disable it.
Then cancel cancel, restart CB, each time immediately crash :
[code]
<stack>
<frame level="0"/>
<frame level="1" function="wxStringBase::rfind(wchar_t, unsigned long) const" offset="00000021"/>
<frame level="2" function="wxFileName::SplitPath(wxString const&, wxString*, wxString*, wxString*, wxString*, bool*, wxPathFormat)" offset="00000073"/>
<frame level="3" function="wxFileName::Assign(wxString const&, wxPathFormat)" offset="00000078"/>
<frame level="4" function="EditorManager::AddEditorBase(EditorBase*)" offset="00000098"/>
<frame level="5" function="EditorBase::EditorBase(wxWindow*, wxString const&)" offset="0000018f"/>
<frame level="6" function="StartHerePage::StartHerePage(wxEvtHandler*, wxWindow*)" offset="00000000"/>
<frame level="7" function="MainFrame::ShowHideStartPage(bool)" offset="00000000"/>
<frame level="8" function="MainFrame::MainFrame(wxWindow*)" offset="00000000"/>
<frame level="9" function="CodeBlocksApp::InitFrame()" offset="00000000"/>
</stack>
<stack>
<frame level="0"/>
<frame level="1" function="wxMBConv::FromWChar(char*, unsigned long, wchar_t const*, unsigned long) const" offset="000000e0"/>
<frame level="2" function="wxMBConv::cWC2MB(wchar_t const*, unsigned long, unsigned long*) const" offset="00000046"/>
<frame level="3" function="wxString::mb_str(wxMBConv const&) const" offset="0000001d"/>
<frame level="4" function="cbU2C(wxString const&)" offset="00000013"/>
<frame level="5" function="realpath(wxString const&)" offset="00000044"/>
<frame level="6" function="EditorManager::IsOpen(wxString const&)" offset="00000023"/>
<frame level="7" function="MainFrame::ShowHideStartPage(bool)" offset="00000000"/>
<frame level="8" function="MainFrame::MainFrame(wxWindow*)" offset="00000000"/>
<frame level="9" function="CodeBlocksApp::InitFrame()" offset="00000000"/>
</stack>
make clean && make --> works again, but all toolbars gone, had to bring all of them back manually....reset the layout?
So something really weird did occur ....
all toolbars gone, had to bring all of them back manuallyThat 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.
This happens if you doubleclick on an editor tab with the left mouse-button.all toolbars gone, had to bring all of them back manuallyThat 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.
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...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.
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).I find this feature very useful, too. Indeed.
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.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".)
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).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).I find this feature very useful, too. Indeed.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.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".)
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) )
{
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.Tested and committed.
Tested and committed.I tested in the meanwhile, too. Looks good.