On screen keyboard partially clipped or completely off screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-greeter (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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. The built-in screen is turned off in the display settings in case that's relevant.
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/
#!/bin/bash
sudo cp /var/lib/
printf %s\\n "user-db:lightdm" > ~/db_profile_
export ONSCREEN_
#echo 'ONSCREEN_KBD=' $ONSCREEN_KBD
if [ "$ONSCREEN_KBD" != "false" ]; then
DCONF_
sudo cp ~/.config/
fi
rm -f ~/db_profile_
exit 0
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lightdm 1.10.6-0ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-37-generic x86_64
NonfreeKernelMo
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)
The bug is in the unity-greeter package not in lightdm.