That would explain it. With focus-follows-mouse Onboard sends keystrokes
at best to itself.

I wonder if a simple XSetInputFocus() on the password entry would help.
"It causes keyboard input to go to the selected window regardless of the 
position of the pointer. When the root window is selected, keyboard events are 
distributed normally according to the position of the pointer (this is the 
default situation)." [1]

I would try it with unity-greeter, but I don't know how to call xlib
from vala.

FWIW, I had a quick look at the sources of GDM and KDM. GDM actually starts 
either metacity or compiz for a click-to-focus policy.
KDM seems to do without a window manager. It appears to hold a keyboard grab 
and manually creates fake focus events into the Qt library as needed.

[1] "Changing Keyboard Focus",
http://www.sbin.org/doc/Xlib/chapt_16.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/851565

Title:
  Onscreen Keyboard cannot be used to input password

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-greeter/+bug/851565/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to