Can't move window by drag and drop by using touch screen

Bug #1994027 reported by Bin Li
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Released
Critical
Bin Li
XServer
Fix Released
Unknown
xorg-server (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
Users using touch screen could not move windows with 'Drag-n-drop'.
This SRU fixes the issue.

[Test Plan]
1. Install the 22.04
2. Boot and login
3. Open a folder or terminal
4. Drag-n-drop the title bar of nautilus or terminal windows with finger touch
5. Drag-n-drop the title bar of nautilus or terminal windows with the Wacom Pen

Expected: Both finger touch and wacom pen work normally.

Actual: Wacom Pen works normally, finger touch can not move the windows.

[Where problems could occur]
It's a regression of upstream packages, https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/866

It reverts f682e0563f736ed2c2c612ed575e05b6e3db945e.

[Version]
xserver-xorg-core 2:21.1.3-2ubuntu2.2

Revision history for this message
Bin Li (binli) wrote :

Switch to wayland, this issue is gone.

Revision history for this message
Bin Li (binli) wrote :

The touch screen works fine on 20.04 image.

description: updated
Bin Li (binli)
tags: added: oem-priority originate-from-1991363 sutton
Revision history for this message
Bin Li (binli) wrote :

It looks like related to mutter and gtk3.

https://gitlab.gnome.org/GNOME/mutter/-/issues/2057

Changed in mutter:
status: Unknown → New
Rex Tsai (chihchun)
Changed in oem-priority:
importance: Undecided → High
Bin Li (binli)
description: updated
description: updated
Bin Li (binli)
no longer affects: gtk+3.0 (Ubuntu)
Changed in oem-priority:
status: New → In Progress
assignee: nobody → Bin Li (binli)
affects: mutter → xserver
Changed in xserver:
status: New → Unknown
Bin Li (binli)
description: updated
Revision history for this message
Bin Li (binli) wrote :

Here is the patch from upstream.

Revision history for this message
Bin Li (binli) wrote :
Revision history for this message
Bin Li (binli) wrote :

Built a new packages for testing in my ppa. This issue is fixed with xserver-xorg-core 2:21.1.3-2ubuntu2.2binli1.

https://launchpad.net/~binli/+archive/ubuntu/gnome/

Changed in oem-priority:
status: In Progress → Triaged
Rex Tsai (chihchun)
Changed in oem-priority:
importance: High → Critical
status: Triaged → Won't Fix
status: Won't Fix → Fix Committed
Changed in xserver:
status: Unknown → Fix Released
Revision history for this message
Bin Li (binli) wrote :

Our OEM project would like this to be included in -proposed before this weekend(2022-11-25).

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

this is fixed in 21.1.4, kinetic has that

affects: xorg (Ubuntu) → xorg-server (Ubuntu)
Changed in xorg-server (Ubuntu):
status: New → Fix Released
Timo Aaltonen (tjaalton)
Changed in xorg-server (Ubuntu Jammy):
status: New → In Progress
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Bin, or anyone else affected,

Accepted xorg-server into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/xorg-server/2:21.1.3-2ubuntu2.4 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in xorg-server (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Bin Li (binli) wrote :

After upgraded to 2:21.1.3-2ubuntu2.4, I could move window by drag and drop with touch screen on ThinkPad P1 Gen 3. Thanks!

Start-Date: 2022-11-28 20:27:46
Commandline: apt install xserver-xorg-core
Requested-By: binli (1000)
Upgrade: xserver-xorg-core:amd64 (2:21.1.3-2ubuntu2.3, 2:21.1.3-2ubuntu2.4), xserver-common:amd64 (2:21.1.3-2ubuntu2.3, 2:21.1.3-2ubuntu2.4)
End-Date: 2022-11-28 20:27:48

tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (xorg-server/2:21.1.3-2ubuntu2.4)

All autopkgtests for the newly accepted xorg-server (2:21.1.3-2ubuntu2.4) for jammy have finished running.
The following regressions have been reported in tests triggered by the package:

apport/2.20.11-0ubuntu82.2 (arm64)
pandas/1.3.5+dfsg-3 (armhf)
bambam/1.1.2+dfsg-3 (amd64)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/jammy/update_excuses.html#xorg-server

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

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

This bug was fixed in the package xorg-server - 2:21.1.3-2ubuntu2.4

---------------
xorg-server (2:21.1.3-2ubuntu2.4) jammy; urgency=medium

  * patches: Remove some merge cruft.
  * re-calculate-the-clock-and-refresh-rate.diff: Fix modes on 2.5k@90Hz
    panels. (LP: #1996490)
  * patches: Don't send touch end to clients that do async grab without
    touches. (LP: #1994027)

 -- Timo Aaltonen <email address hidden> Thu, 24 Nov 2022 14:21:14 +0200

Changed in xorg-server (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for xorg-server has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Andy Chi (andch)
tags: added: originate-from-1998423 somerville
Bin Li (binli)
Changed in oem-priority:
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.