Public bug reported:

The on screen keyboard is too low and partially clipped or completely
off the bottom of the screen.

On a laptop with a 2000 pixel high built-in screen with the lid closed
and connected to a 1080p hdmi tv.

Replication steps

1) Turn on the on screen keyboard and log in using it
2) Logout or reboot
3) Lightdm remembers that the on screen keyboard is on and tries to display it

= Lightdm displays the on screen keyboard using the size of the unused
2000 pixel high screen for alignment instead of the 1080 high screen in
use.  Only the top of the keyboard is visible at the bottom of the
screen.  If lightdm is configured to use 720p then the on screen
keyboard is completely clipped and invisible.

The problem only occurs when lightdm remembers that the on screen
keyboard is on.  Turning it on manually correctly displays it at the
bottom of the screen.  Toggling a misplaced keyboard off and back on
unfortunately doesn't fix the problem.

Workaround 1

When logging in, after typing password, turn off the on screen keyboard
and click the small login arrow instead of clicking the on screen enter
key.  Each time logging in you'll need to turn the on screen keyboard on
and off again.  Turning off an invisible/clipped keyboard and rebooting
will temporarily fix the problem.

Workaround 2

Dangerous hack.  Run a script to turn off the on screen keyboard in
lightdm's dconf database.  To make this script run as a startup
application the sudo commands need to be removed and the lightdm group
membership given to the user running it as well as r/w access to
/var/lib/lightdm/.config/dconf/user.

#!/bin/bash
sudo cp /var/lib/lightdm/.config/dconf/user ~/.config/dconf/lightdm
printf %s\\n "user-db:lightdm" > ~/db_profile_lightdm
export ONSCREEN_KBD=$(DCONF_PROFILE=~/db_profile_lightdm dconf read 
/com/canonical/unity-greeter/onscreen-keyboard)
#echo 'ONSCREEN_KBD=' $ONSCREEN_KBD
if [ "$ONSCREEN_KBD" != "false" ]; then
   DCONF_PROFILE=~/db_profile_lightdm dconf write 
/com/canonical/unity-greeter/onscreen-keyboard false
   sudo cp ~/.config/dconf/lightdm /var/lib/lightdm/.config/dconf/user
fi
rm -f ~/db_profile_lightdm ~/.config/dconf/lightdm
exit 0

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lightdm 1.10.6-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
Uname: Linux 3.13.0-37-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Dec  3 09:16:31 2016
InstallationDate: Installed on 2014-07-09 (877 days ago)
InstallationMedia: sonar 13.10 - Release amd64
SourcePackage: lightdm
UpgradeStatus: Upgraded to trusty on 2014-07-09 (877 days ago)

** Affects: lightdm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug third-party-packages trusty

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

Title:
  On screen keyboard partially clipped or completely off screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1647059/+subscriptions

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

Reply via email to