[ wxwindows-Bugs-1724916 ] No keydown/char events gtk1 build (2.8.4)
SourceForge.net
noreply at sourceforge.net
Thu Jun 28 18:52:28 PDT 2007
Bugs item #1724916, was opened at 2007-05-24 16:27
Message generated for change (Comment added) made by vadz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1724916&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxGTK specific
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 8
Private: No
Submitted By: jorik (joriksf)
Assigned to: Nobody/Anonymous (nobody)
Summary: No keydown/char events gtk1 build (2.8.4)
Initial Comment:
Reproducible in text sample (simplest with event logging, i.e. ms_log* = true).
The 2.6.3-text-sample reports three events for e.g. F1:
keydown
char
keyup
The 2.8.4-text-sample only reports keyup.
When comparing gtk1 sources between 2.6.3 and 2.8.4 the following diff seems "strange" (i.e. to the "gtk-un-experienced-eye"). However reversing it gets us the missing events back):
2.8.4: src/gtk1/window.cpp:1064:
if( wxTranslateGTKKeyEventToWx(event, win, gdk_event) == false )
2.6.3: src/gtk/window.cpp:1173:
if( wxTranslateGTKKeyEventToWx(event, win, gdk_event) )
our config (static gtk1):
--with-gtk
--with-libjpeg=builtin
--without-libpng
--without-libtiff
--with-zlib=builtin
--without-regex
--with-expat=builtin
--disable-debug
--disable-debug_gdb
--enable-no_rtti
--disable-backtrace
--enable-static
--enable-monolithic
--enable-constraints
--enable-intl
--disable-shared
--disable-gtk2
--disable-gtktest
--enable-threads
--disable-joystick
--disable-exceptions
--enable-no_exception
--disable-xrc
--disable-unicode
--disable-compat24
--disable-dynlib
--disable-dynamicload
--disable-debugreport
----------------------------------------------------------------------
>Comment By: Vadim Zeitlin (vadz)
Date: 2007-06-29 03:52
Message:
Logged In: YES
user_id=71618
Originator: NO
This was due to applying an incorrect patch for CJK support, it's now
reverted (it would be, of course, better to have good support for IM and
normal key events but if we must choose it's better to have the latter...)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1724916&group_id=9863
More information about the wx-dev
mailing list