LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-03-2012, 10:55 AM   #1
seraf8
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
Keyboard input not possible within firefox plugin on linux


Here is my environnement :

openSUSE 11.3
Firefox 3.6.4
java Plugin 1.0.6 u21 ( libnpjp2.so )

Java applet is loading without trouble. Mouse event are well compute by applet, but it is not possible to edit text (for example within an EditText).

It seems there is a problem with the keyboard focus.
If our application opens a separate modal dialog it is possible to edit within such a dialog.

I try to run xwininfo -all in order to understand where is keyboard focus and it seems keyboard focus is keep by another windows created by firefox.

Code:
 xwininfo -all

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x80007c "test"

  Root window id: 0x5a (the root window) (has no name)
  Parent window id: 0x5a (the root window) (has no name)
     2 children:
     0x80016c (has no name): ()  1260x664+0+0  +3+167
        1 child:
        0x800122 (has no name): ()  1260x664+0+0  +3+167
           3 children:
           0x801a5d (has no name): ()  1260x551+0+89  +3+256
              1 child:
              0x801a62 (has no name): ()  1276x1000+0+0  +3+256
                 1 child:
                 0x801a63 (has no name): ()  1276x1000+0+0  +3+256
                    1 child:
                    0x1200006 "JavaEmbeddedFrame": ("sun-awt-X11-XEmbeddedFramePeer" "java-lang-Thread")  1276x1000+0+0  +3+256
                       2 children:
                       0x1200014 "FocusProxy": ("Focus-Proxy-Window" "FocusProxy")  1x1+-1+-1  +2+255
                       0x1200012 "Content window": ("sun-awt-X11-XContentWindow" "java-lang-Thread")  1276x1000+0+0  +3+256
                          1 child:
                          0x1200029 "sun-awt-X11-XPanelPeer": ("sun-awt-X11-XPanelPeer" "java-lang-Thread")  1276x1000+0+0  +3+256
                             1 child:
                             0x120002c "sun-awt-X11-XCanvasPeer": ("sun-awt-X11-XCanvasPeer" "java-lang-Thread")  1276x1000+0+0  +3+256
                                1 child:
                                0x1400025 (has no name): ()  1276x1000+0+0  +3+256
                                   2 children:
                                   0x1400145 (has no name): ()  1x1+0+0  +3+256
                                   0x1400034 (has no name): ()  1276x999+0+0  +3+256
                                      2 children:
                                      0x140012e (has no name): ()  1266x821+3+50  +6+306
                                      0x1400040 (has no name): ()  1266x821+3+50  +6+306
                                         2 children:
                                         0x14000cc (has no name): ()  1160x680+0+0  +6+306
                                         0x140004f (has no name): ()  94x680+1168+0  +1174+306
           0x8010dc (has no name): ()  1260x551+0+89  +3+256
           0x800191 (has no name): ()  1260x551+0+89  +3+256
     0x80007d (has no name): ()  1x1+-1+-1  +2+166
0x80007d get keyboard focus whereas i expected 0x1400040 to have keyboard focus.
(I use xev -id , to find out which windows hold keyboard focus)

In addition to that, i try to reproduce this problem with export display on a windows using Xming. In this configuration, there is any trouble with keyboard ...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Repeated "input: AT Translated Set 2 keyboard as /class/input/input" messages AcerKev Mandriva 2 09-16-2007 08:35 AM
How to get keyboard input from C in Linux yanming Linux - Software 4 07-27-2007 01:51 AM
Linux and trapping keyboard input jantman Programming 1 07-26-2007 06:08 AM
Firefox does not take keyboard input. simjii SUSE / openSUSE 5 02-28-2007 12:38 AM
my mouse input is takes as keyboard input in BASH e1000 Slackware 5 12-08-2003 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration