The two patches seem a bit big (with all that refactoring), but I guess
I didn't see any follow up changes to this code upstream. Also, with the
regression potential well defined, I'm inclined to accept it.
** Changed in: qtbase-opensource-src (Ubuntu Bionic)
Status: New => Fix Committed
** Tags added: verification-needed verification-needed-bionic
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1831505
Title:
Qt5 incorrectly interpret keypresses from remote VNC keyboard
Status in qtbase-opensource-src package in Ubuntu:
Fix Released
Status in qtbase-opensource-src source package in Bionic:
Fix Committed
Status in qtbase-opensource-src package in Debian:
Fix Released
Bug description:
[Impact]
Qt applications incorrectly interpret keyboard input when running over some
VNC clients such as TightVNC.
[Test Case]
1. Have Ubuntu 18.04 LTS installed with VNC server
2. Connect to Ubuntu 18.04 LTS from other machine with VNC client
3. Launch any Qt5 based application such as `assistant`, `kate` or `retext`
4. Press keyboard combination on VNC client
Expected results:
all keypresses are recognized successfully
Actual results:
* <Shift> produces `1`
* <Alt> produces `5`
* <`> produces `p`
* <Delete> and <Backspace> are not working
* all letters are messed
[Proposed Fix]
The proposed fix is a backport of two upstream commits: the second being the
actual fix, the first one is some refactoring of the code to make it easier to
write the second. The commits are:
- https://code.qt.io/cgit/qt/qtbase.git/commit/?id=f8b164e1c37ca901
- https://code.qt.io/cgit/qt/qtbase.git/commit/?id=3edcd9420e3ad661
[Regression Potential]
Most of the new code is triggered only when the keymap is missing rules,
models, or layout (i.e. rmlvo_is_incomplete == true). This minimizes the risk
of regressions when working with simple X11 server. In any case, the potential
regressions will be related to input handling.
[Other Info]
Note:
only Qt applications are affected, the GTK-based work as expected (including
Chromium from which I write this bug-report)
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: qt5-assistant 5.9.5-0ubuntu1
Uname: Linux 4.4.78-perf+ aarch64
NonfreeKernelModules: wlan exfat
ApportVersion: 2.20.9-0ubuntu7
Architecture: armhf
CurrentDesktop: MATE
Date: Tue Jun 4 00:46:55 2019
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: qttools-opensource-src
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1831505/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp