Bug 164210 - Option to disable pointer security to allow login with on screen keyboard (tablet PC)
Summary: Option to disable pointer security to allow login with on screen keyboard (ta...
Status: RESOLVED FIXED
Alias: None
Product: kdm
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
: 188148 232464 234363 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-16 12:47 UTC by talei
Modified: 2010-04-29 00:58 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kdm patch (976 bytes, patch)
2009-06-29 21:31 UTC, Lubos Lunak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description talei 2008-06-16 12:47:54 UTC
Version:            (using KDE 4.0.5)
Installed from:    Fedora RPMs
OS:                Linux

Hi,

I have recently installed Fedora 9 on a Fujitsu ST5110 tablet PC. (This was a fresh install on a machine that was previously running Fedora 7). Fedora 9 includes KDE 4.(I have tried both version 4.0.1 and 4.0.5)

There is a problem with KDM and its greeter. I have edited /etc/X11/xdm/Xsetup_0 to launch xvkbd (virtual keyboard) so that I have a keyboard to enter username and password into the greeter login box. (This is what I did in Fedora 7 and KDE3 and this worked perfectly).

However, on KDE4 the greeter login box comes to the foreground and my keyboard is hidden.

If I launch xvkbd with the option "always-on-top" I can now see the keyboard but I can't press any buttons with the pen/mouse. I can only login using external usb keyboard.

Once I have logged in, I can use xvkbd normally - it is just during the greeter login that it won't work.

I have tried running kdm without themes and backgrounds, but this made no difference.

Any suggestions ????

(I know I can configure autologin - but I wish to be able to use the login box).

Thankyou.

Talei
Comment 1 Oswald Buddenhagen 2008-07-20 00:57:54 UTC
this is likely to have something to do with the keyboard grab done by kdm.
Comment 2 Murz 2008-12-09 11:50:24 UTC
Same problem here: I using Tablet PC and can't enter a password with virtual keyboard (kvkbd 0.6) because it's windows goes backward than background image and I can't switch to it.
Comment 3 talei 2009-01-02 14:16:27 UTC
This bug is still in version 4.1.3 (Fedora 10).

For over 6 months it has not been possible to properly use KDE with a tablet PC !
Please, can someone take a look at this problem.
Comment 4 Gabor Körber 2009-03-14 16:17:08 UTC
Just got a tablet PC and I can confirm this on Ubuntu Interprid 8.10 / KDE 4.2.1

I wonder why this is still UNCONFIRMED.

Since this is a general accessibility issue I recommend making it high level.
Comment 5 Murz 2009-03-17 07:25:59 UTC
Confirm this bug on Kubuntu Interprid 8.10 / KDE 4.2.1 too!
Comment 6 Oswald Buddenhagen 2009-04-05 19:36:35 UTC
*** Bug 188148 has been marked as a duplicate of this bug. ***
Comment 7 Rich 2009-05-13 16:53:03 UTC
Not sure if I should create a new bug but I use the /etc/kde4/kdm/Xsetup with xmessages to create a pre-login banner, basically to inform users of being monitored etc. I have noticed with Kubuntu 8.10 running kde4.1 the Xsetup is not posting my pre-login banner. In older versions of kde3 this was happening and I removed the /etc/kde3/kdm/kdm.options and it started to work again. I again tried it in kde4 but still no pre-login banner. What makes it even stranger just out of curiosity I uncommented the xconsole just to see if I could get some type of messaging to show pre login and it worked.
Comment 8 Lubos Lunak 2009-06-29 20:40:44 UTC
Not keyboard grab, mouse grab. We have disabled the securePointer() code for openSUSE, as this conflicts with onscreen keyboard.
Comment 9 Christoph Feck 2009-06-29 21:21:47 UTC
Lubos, do I understand you correctly, that openSUSE packages do not have this bug? If yes, where would one find the patch needed, as I run KDE from svn.
Comment 10 Lubos Lunak 2009-06-29 21:31:41 UTC
Created attachment 34919 [details]
kdm patch
Comment 11 Christoph Feck 2009-06-29 21:43:17 UTC
Thanks Lubos for patch.

So this bug is actually the result of additional security considerations, so reverting the commit is not an option. However, as the comments indicate, the new behaviour makes it useless for Tablet PC users.

I am turning this bug report into a wish to make the (old) behaviour configurable, at least using some KConfig entry or otherwise hidden option for Tablet PC users. A GUI option would of course be preferred :)
Comment 12 Morten Sjoegren 2009-07-19 03:34:20 UTC
Could this be solved by integrating kvkbd into kdm, so that's not a separate window but a part to the login dialog?
Comment 13 Oswald Buddenhagen 2009-10-17 16:59:46 UTC
SVN commit 1036653 by ossi:

make input grabbing optional

it doesn't add any real security on most systems anyway, but
it breaks input aids running in separate x clients.

FEATURE: 164210

 M  +4 -0      ChangeLog  
 M  +22 -0     config.def  
 M  +5 -0      kfrontend/kdmconfig.cpp  
 M  +2 -0      kfrontend/kdmconfig.h  
 M  +14 -6     kfrontend/kfdialog.cpp  
 M  +24 -20    kfrontend/kgapp.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1036653
Comment 14 Oswald Buddenhagen 2010-03-28 14:20:15 UTC
*** Bug 232464 has been marked as a duplicate of this bug. ***
Comment 15 Oswald Buddenhagen 2010-04-29 00:58:53 UTC
*** Bug 234363 has been marked as a duplicate of this bug. ***