|
From: Christian S. <Chr...@cp...> - 2012-09-24 07:26:42
|
Good morning Tz-Huan,
I've tried it again (checked out the development branch), but I'm afraid it still does not work. Below you find the gtk code I used for testing this.
Thanks
Christian
window.h:
#include<gtkmm/window.h>
#include<gtkmm/entry.h>
#include<gtkmm/box.h>
class Window1:public Gtk::Window
{
public:
Window1();
virtual ~ Window1();
protected:
void on_button1_clicked();
bool on_entry_keystroke(GdkEventKey *key);
private:
Gtk::Entry entry1;
Gtk::VBox vbox1;
};
window.cc
#include "window.h"
#include <iostream>
#include<gtkmm/main.h>
Window1::Window1()
{
set_size_request(200, 100);
add(vbox1);
entry1.signal_key_release_event().connect(sigc::mem_fun(*this,&Window1::on_entry_keystroke));
vbox1.add(entry1);
show_all();
}
Window1::~Window1()
{
std::cout << "Say goodbye" << std::endl;
}
bool
Window1::on_entry_keystroke(GdkEventKey *key)
{
std::cout << "*** Keystroke\n";
}
Am 23.09.2012 12:23, schrieb Tz-Huan Huang:
> Hi Christian,
>
> On Thu, Aug 23, 2012 at 3:24 PM, Christian Schaubschlaeger
> <Chr...@cp...> wrote:
>> Good morning,
>>
>>> It seems that the key-release-event is masked by the gtk-im-module of scim.
>>> I'll try to find the problem and fix it as soon as I can.
>>> Before the fix, could you please try the following environment variables
>>> setting when running your program?
>>>
>>> export XMODIFIERS="@im=SCIM"
>>> export GTK_IM_MODULE="xim"
>>>
>>> In my test, the xim module doesn't have this problem.
>> Just tried this. With xim I don't have this problem here either.
> I have committed the fix, could you please try it again?
> Please get the latest source codes from our git repository:
>
> https://github.com/scim-im/scim
>
> Thanks,
> Tz-Huan
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Scim-devel mailing list
> Sci...@li...
> https://lists.sourceforge.net/lists/listinfo/scim-devel
>
--
Dipl.-Ing. Christian Schaubschläger
Senior Developer
security coding factory GmbH
Wildbergstrasse 32
4040 Linz
Austria
web: www.cpsd.at
fon: +43 732 781 584-83
fax: +43 732 781 584-99
|