Author Topic: svn+wx3.0: hotkeys F2 and Shift-F2 do not toggle anymore  (Read 5058 times)

Offline blauzahn

  • Almost regular
  • **
  • Posts: 156
svn+wx3.0: hotkeys F2 and Shift-F2 do not toggle anymore
« on: February 14, 2016, 09:32:07 pm »

Today; I tried the current C::B svn 10781 on
a daily snapshot of ubuntu gnome 16.04 x64.
Compiling, installing and starting C::B is ok.

I noticed, that the you can close the manager- and logwindow
but you can not open them again as usually.

I do not know, whether it is a C::B-bug. This might also
be a wx issue. Since closing works I doubt that gnome
eats up the event.

not working:
svn 10781 wx-3.0.2 ubuntu 16.04 daily (20160213), gnome 3.16

working as usual:
svn 10777 wx-2.8.12, ubuntu 14.04

Can someone give me a hint where to start searching, please?

Thank you.


btw:
To cross-check it against wx-2.8.12, I tried to update from svn 10777 to 10781
and got a compile error in the FileManager/FileExplorerUpdater.cpp.
I remember that I have had that a year ago
(see http://forums.codeblocks.org/index.php/topic,19961.msg136770.html#msg136770).

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: svn+wx3.0: hotkeys F2 and Shift-F2 do not toggle anymore
« Reply #1 on: February 14, 2016, 10:25:23 pm »
https://sourceforge.net/p/codeblocks/tickets/273/

Disable the keybinder and it will start working. Why it doesn't I don't know, yet.
(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 blauzahn

  • Almost regular
  • **
  • Posts: 156
Re: svn+wx3.0: hotkeys F2 and Shift-F2 do not toggle anymore
« Reply #2 on: February 14, 2016, 10:46:40 pm »
Thank you. That works.

As for the compile-error, it is an out-of-tree build and the same result on raspbian too -- so not ubuntu-specific. If desired, I may open a new topic for that.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: svn+wx3.0: hotkeys F2 and Shift-F2 do not toggle anymore
« Reply #3 on: February 15, 2016, 01:10:58 am »
Nope, it should be fixed in head/trunk/master. If not post the log in this topic.
(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 blauzahn

  • Almost regular
  • **
  • Posts: 156
Re: svn+wx3.0: hotkeys F2 and Shift-F2 do not toggle anymore
« Reply #4 on: February 15, 2016, 07:13:53 am »

svn 10781:

Code
make[5]: Leaving directory `/home/blauzahn/Downloads/software/codeblocks/build/src/plugins/contrib/envvars'
Making all in FileManager
make[5]: Entering directory `/home/blauzahn/Downloads/software/codeblocks/build/src/plugins/contrib/FileManager'
depbase=`echo FileExplorerUpdater.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../../../trunk/src/plugins/contrib/FileManager -I../../../../src/include  -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread  -I../../../../../trunk/src/include -I../../../../../trunk/src/sdk/wxscintilla/include -I../../../../../trunk/src/include/mozilla_chardet -I../../../../../trunk/src/include/mozilla_chardet/mfbt -I../../../../../trunk/src/include/mozilla_chardet/nsprpub/pr/include -I../../../../../trunk/src/include/mozilla_chardet/xpcom -I../../../../../trunk/src/include/mozilla_chardet/xpcom/base -I../../../../../trunk/src/include/mozilla_chardet/xpcom/glue -ansi -DTIXML_USE_STL  -Wno-unused-local-typedefs -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -D__FAM__ -MT FileExplorerUpdater.lo -MD -MP -MF $depbase.Tpo -c -o FileExplorerUpdater.lo ../../../../../trunk/src/plugins/contrib/FileManager/FileExplorerUpdater.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../../../trunk/src/plugins/contrib/FileManager -I../../../../src/include -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../../../../trunk/src/include -I../../../../../trunk/src/sdk/wxscintilla/include -I../../../../../trunk/src/include/mozilla_chardet -I../../../../../trunk/src/include/mozilla_chardet/mfbt -I../../../../../trunk/src/include/mozilla_chardet/nsprpub/pr/include -I../../../../../trunk/src/include/mozilla_chardet/xpcom -I../../../../../trunk/src/include/mozilla_chardet/xpcom/base -I../../../../../trunk/src/include/mozilla_chardet/xpcom/glue -ansi -DTIXML_USE_STL -Wno-unused-local-typedefs -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -D__FAM__ -MT FileExplorerUpdater.lo -MD -MP -MF .deps/FileExplorerUpdater.Tpo -c ../../../../../trunk/src/plugins/contrib/FileManager/FileExplorerUpdater.cpp  -fPIC -DPIC -o .libs/FileExplorerUpdater.o
In file included from ../../../../../trunk/src/plugins/contrib/FileManager/FileExplorerUpdater.cpp:4:0:
../../../../../trunk/src/plugins/contrib/FileManager/se_globals.h:27:43: error: 'wxFileName' has not been declared
 bool PromptSaveOpenFile(wxString message, wxFileName path);
                                           ^
../../../../../trunk/src/plugins/contrib/FileManager/se_globals.h: In function 'void LogMessage(const wxString&)':
../../../../../trunk/src/plugins/contrib/FileManager/se_globals.h:31:5: error: 'Manager' has not been declared
     Manager::Get()->GetLogManager()->Log(msg);
     ^
../../../../../trunk/src/plugins/contrib/FileManager/se_globals.h: In function 'void LogErrorMessage(const wxString&)':
../../../../../trunk/src/plugins/contrib/FileManager/se_globals.h:36:5: error: 'Manager' has not been declared
     Manager::Get()->GetLogManager()->LogError(msg);
     ^
../../../../../trunk/src/plugins/contrib/FileManager/se_globals.h: In function 'int MessageBox(wxWindow*, const wxString&, const wxString&, int, int, int)':
../../../../../trunk/src/plugins/contrib/FileManager/se_globals.h:42:62: error: 'cbMessageBox' was not declared in this scope
     return cbMessageBox(message, caption, style, parent, x, y);
                                                              ^
make[5]: *** [FileExplorerUpdater.lo] Error 1
make[5]: Leaving directory `/home/blauzahn/Downloads/software/codeblocks/build/src/plugins/contrib/FileManager'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/blauzahn/Downloads/software/codeblocks/build/src/plugins/contrib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/blauzahn/Downloads/software/codeblocks/build/src/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/blauzahn/Downloads/software/codeblocks/build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/blauzahn/Downloads/software/codeblocks/build'
make: *** [all] Error 2

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: svn+wx3.0: hotkeys F2 and Shift-F2 do not toggle anymore
« Reply #5 on: February 15, 2016, 08:23:57 am »
I just tested it here with wx2.8 and it works fine (in a build-tree below C::B's git/svn tree and in a "real" out of tree build).

Did you build inside a clean tree ?

If not just remove all (even hidden) content of your build folder and try it again.

Offline blauzahn

  • Almost regular
  • **
  • Posts: 156
Re: svn+wx3.0: hotkeys F2 and Shift-F2 do not toggle anymore
« Reply #6 on: February 16, 2016, 06:59:22 am »
I tried it again on a freshly downloaded svn. Now it compiles. Beginner error -- slightly embarassing. Sorry.

Thank you.