focus_in function question.

2 messages Options
Embed this post
Permalink
marslee_suc

focus_in function question.

Reply Threaded More More options
Print post
Permalink
HI all,

I am working about gtk im module. I found a method called foucs_in() in 
GtkImContext class, I think this method will runing when your cusor focus in an
editable widget, it works well in all application execpt firefox. when I open firefox the
 focus_in method run frequently even in none editable widget, example when I open 
a new tab focus_in will run but there is no edit line or edit view? when should I do to 
jude the focus widget is editable?
Thank you in advance.

BR,

Edward.


网易邮箱,中国第一大电子邮件服务商

------------------------------------------------------------------------------

_______________________________________________
Scim-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scim-devel
Ryo Dairiki-2

Re: focus_in function question.

Reply Threaded More More options
Print post
Permalink
Hi marslee_suc.

marslee_suc wrote:

> HI all,
>
> I am working about gtk im module. I found a method called foucs_in() in
> GtkImContext class, I think this method will runing when your cusor
> focus in an
> editable widget, it works well in all application execpt firefox. when
> I open firefox the
> focus_in method run frequently even in none editable widget, example
> when I open
> a new tab focus_in will run but there is no edit line or edit view?
> when should I do to
> jude the focus widget is editable?
> Thank you in advance.
>
> BR,
>
> Edward.
It's an infamous bug of gecko framework.
It sometimes forgets to emit focus events, and sometimes sends you fake
events.
So, you cannot distinguish that by focusing events.

Please, ask Mozilla developers for the detailed information. :)

Regards,
Ryo Dairiki <[hidden email]>


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Scim-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scim-devel