Every key is pressed twice on the desktop

Bug #1451554 reported by Sam Segers
56
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Canonical Pocket Desktop
Fix Released
High
kevin gunn
Canonical System Image
Fix Released
High
Unassigned
qtdeclarative-opensource-src (Ubuntu)
Fix Released
Undecided
Unassigned
qtdeclarative-opensource-src (Ubuntu RTM)
Fix Released
Undecided
Unassigned
ubuntu-keyboard (Ubuntu)
Fix Released
High
Unassigned

Bug Description

If I launch an app with QT_IM_MODULE=MaliitPhablet system-settings, every key is pressed twice.
Pressing h - a - l - l -o - <space> gives me:
'Hhaalllloo. '

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: ubuntu-keyboard 0.99.trunk.phablet2+15.04.20150326-0ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Mon May 4 21:43:00 2015
InstallationDate: Installed on 2014-10-10 (206 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140922)
SourcePackage: ubuntu-keyboard
SystemImageInfo:
 current build number: 0
 device name:
 channel: daily
 last update: Unknown
UpgradeStatus: Upgraded to vivid on 2015-01-02 (122 days ago)

Related branches

Revision history for this message
Sam Segers (sam-sgrs) wrote :
description: updated
Changed in ubuntu-keyboard (Ubuntu):
status: New → Confirmed
Changed in ubuntu-keyboard (Ubuntu):
importance: Undecided → High
Revision history for this message
Jason Daborn (mtx-lives) wrote :

Hi I just upgraded to OTA8 on Mako and successfully connected a bluetooth mouse (Logitech M557) and an external screen. I forgot to bring a keyboard but luckily when I clicked on the login to enter the password an on-screen keyboard appeared. But when using the mouse to key in my numeric password it failed until I realised that it was doing a double keypress each time. If I press the back key after each digit I enter I can successfully login, proving the double digit input for each on-screen mouse keypress, thx

kevin gunn (kgunn72)
Changed in canonical-pocket-desktop:
importance: Undecided → High
assignee: nobody → kevin gunn (kgunn72)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Getting a new duplicate report for this every week. Maybe we should raise priority.

Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

This looks like it's an upstream Qt bug, the release signal is sent twice when clicking a MultiPointTouchArea with a mouse, there's a bug report for this here: https://bugreports.qt.io/browse/QTBUG-44370 which also includes a patch against 5.6 that's currently still in review.

Would the qtdeclarative-opensource-src maintainers be willing to backport that patch and apply it against 5.5? Or should I attempt to work around it in the keyboard?

Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

Sorry, the above should say 5.4 not 5.5.

I've linked a work around branch that we can land in the mean time.

Revision history for this message
kevin gunn (kgunn72) wrote :

We've reached out about a backport.
And small correction, this would be needed for 5.4 to effect our current images.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

The patch is small and probably no problem applying it. The current problem is that it hasn't been reviewed and accepted in upstream, ie it's still open https://codereview.qt-project.org/#/c/127898/

kevin gunn (kgunn72)
Changed in canonical-pocket-desktop:
status: New → In Progress
Changed in qtdeclarative-opensource-src (Ubuntu):
status: New → In Progress
Changed in ubuntu-keyboard (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Please test the fix for this from silo https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-025/ - it includes a fix for both this and bug #1521917

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-keyboard - 0.99.trunk.phablet2+16.04.20151201.1-0ubuntu1

---------------
ubuntu-keyboard (0.99.trunk.phablet2+16.04.20151201.1-0ubuntu1) xenial; urgency=medium

  [ CI Train Bot ]
  * New rebuild forced.

  [ Michael Sheldon ]
  * Work around upstream QT bugs 41692 and 44370 which cause incorrect
    touch point events when using a mouse (LP: #1451554)

 -- Michael Sheldon <email address hidden> Tue, 01 Dec 2015 15:42:37 +0000

Changed in ubuntu-keyboard (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

This bug was fixed in the package qtdeclarative-opensource-src 5.4.1-1ubuntu11~overlay2 in https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay

---------------

qtdeclarative-opensource-src (5.4.1-1ubuntu11~overlay2) vivid; urgency=medium

  * debian/patches/Flickable-avoid-perturbing-the-timeline-further-whil.patch:
    - Avoid infinite velocity during release, after a drag. (LP: #1521917)
  * debian/patches/MultiPointTouchArea-Fixed-released-duplication-on-mo.patch:
    - Fix every key being pressed twice on desktop (LP: #1451554)

 -- Timo Jyrinki <email address hidden> Mon, 14 Dec 2015 07:07:01 +0000

Changed in qtdeclarative-opensource-src (Ubuntu RTM):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtdeclarative-opensource-src - 5.5.1-2ubuntu3

---------------
qtdeclarative-opensource-src (5.5.1-2ubuntu3) xenial; urgency=medium

  * debian/patches/Flickable-avoid-perturbing-the-timeline-further-whil.patch:
    - Avoid infinite velocity during release, after a drag. (LP: #1521917)
  * debian/patches/MultiPointTouchArea-Fixed-released-duplication-on-mo.patch:
    - Fix every key being pressed twice on desktop (LP: #1451554)

 -- Timo Jyrinki <email address hidden> Mon, 14 Dec 2015 07:02:00 +0000

Changed in qtdeclarative-opensource-src (Ubuntu):
status: In Progress → Fix Released
kevin gunn (kgunn72)
Changed in canonical-pocket-desktop:
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
importance: Undecided → High
milestone: none → ww02-2016
status: New → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.