The mouse stops working after trying to take an area screenshot in some apps on Xorg

Bug #1910235 reported by Andrey Plaksin
46
This bug affects 6 people
Affects Status Importance Assigned to Milestone
GNOME Shell
Fix Released
Unknown
gnome-shell (Ubuntu)
Fix Released
Medium
Unassigned
Groovy
Fix Released
Undecided
Unassigned

Bug Description

[ Impact ]

Mouse stops working after taking an area screenshot

[ Test case ]

1. Open Chromium browser.
2. Go to the page with the form in which there is a standard browser drop-down menu (form select)
3. Open it
4. Try to take a screenshot with the keyboard shortcut: Ctrl+Shift+PrintScreen
5. Try to switch between applications using the panel and check the operation of the mouse in other applications besides browser (in my case Slack)

[ Regression potential ]

Grab events don't happen or pointer isn't ungrabbed when required.

---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DisplayManager: gdm3DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-10-26 (71 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
NonfreeKernelModules: nvidia_modeset nvidia
Package: gnome-shell 3.36.4-1ubuntu1~20.04.2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 5.4.0-58.64-generic 5.4.73
RelatedPackageVersions: mutter-common 3.36.6-1ubuntu0.20.04.2
Tags: focal
Uname: Linux 5.4.0-58-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip docker lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

  apport-collect 1910235

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Andrey Plaksin (danteif) wrote : Dependencies.txt

apport information

tags: added: apport-collected focal
description: updated
Revision history for this message
Andrey Plaksin (danteif) wrote : GsettingsChanges.txt

apport information

Revision history for this message
Andrey Plaksin (danteif) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Andrey Plaksin (danteif) wrote : ProcEnviron.txt

apport information

Revision history for this message
Andrey Plaksin (danteif) wrote : ShellJournal.txt

apport information

Revision history for this message
Andrey Plaksin (danteif) wrote : monitors.xml.txt

apport information

information type: Public → Public Security
information type: Public Security → Private Security
information type: Private Security → Public
summary: - The mouse stops working after taking a screenshot
+ The mouse stops working after trying to take a screenshot while Chrome
+ menus are open in Xorg sessions
Changed in gnome-shell (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → Medium
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: The mouse stops working after trying to take a screenshot while Chrome menus are open in Xorg sessions

Let's assume this is https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2869 which was just fixed upstream.

affects: gnome-shell-extensions → gnome-shell
Changed in gnome-shell:
importance: Undecided → Unknown
status: New → Unknown
tags: added: fixed-upstream
Changed in gnome-shell (Ubuntu):
status: Confirmed → Fix Committed
tags: added: fixed-in-40
summary: - The mouse stops working after trying to take a screenshot while Chrome
- menus are open in Xorg sessions
+ The mouse stops working after trying to take an area screenshot in some
+ apps on Xorg
tags: added: fixed-in-3.38.4
Changed in gnome-shell (Ubuntu):
importance: Medium → Low
importance: Low → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 3.38.3-2ubuntu1

---------------
gnome-shell (3.38.3-2ubuntu1) hirsute; urgency=medium

  * Merge with debian, containing new upstream release (LP: #1915089)
  * debian/patches: Correctly handle login cancellation and failures.
    Ensure the GDM workers are terminated before restarting a new auth
    request, allowing fingerprint authentication to be restarted.
    (LP: #1915066)
  * debian/patches: Show errors on fingerprint failures and limit retries.
    (LP: #1865838)
  * debian/control: BD on gstreamer and pipewire, depend on gstreamer1.0-pipewire.
    Enable building with pipewire now that is in main and add runtime
    dependency on gstreamer-pipewire to gnome-shell (LP: #1901391).

gnome-shell (3.38.3-2) unstable; urgency=medium

  * Team upload
  * d/patches: Update to 3.38.3-3-ge3dc4401d from gnome-3-38 branch
    - Fix opening Extensions app from notification
    - Fix workspace layout in right-to-left locales
    - Don't break window focusing if trying to take an area screenshot while
      an application such as a game has an X11 grab (LP: #1910235)

gnome-shell (3.38.3-1) unstable; urgency=medium

  * Team upload
  * d/watch: Only watch for 3.38.x versions
  * New upstream release

 -- Marco Trevisan (Treviño) <email address hidden> Tue, 09 Feb 2021 05:16:10 +0100

Changed in gnome-shell (Ubuntu):
status: Fix Committed → Fix Released
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Andrey, or anyone else affected,

Accepted gnome-shell into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-shell/3.38.3-2ubuntu0.20.10.2 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-groovy to verification-done-groovy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-groovy. 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 gnome-shell (Ubuntu Groovy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-groovy
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

No hang reported with

$ apt-cache policy gnome-shell
gnome-shell:
  Installed: 3.38.3-2ubuntu0.20.10.2
  Candidate: 3.38.3-2ubuntu0.20.10.2
  Version table:
 *** 3.38.3-2ubuntu0.20.10.2 500
        500 http://us.archive.ubuntu.com/ubuntu groovy-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     3.38.2-1ubuntu1~20.10.1 500
        500 http://us.archive.ubuntu.com/ubuntu groovy-updates/main amd64 Packages
     3.38.1-1ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu groovy/main amd64 Packages

tags: added: verification-done verification-needed-done
removed: verification-needed verification-needed-groovy
tags: added: verification-done-groovy
removed: verification-needed-done
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 3.38.3-2ubuntu0.20.10.2

---------------
gnome-shell (3.38.3-2ubuntu0.20.10.2) groovy; urgency=medium

  * d/p/gdm-Don-t-try-to-retry-authenticating-when-the-service-is.patch:
    - gdm: Don't try to retry authenticating when the service is unavailable
      (Related to lp:1915570, regression in 3.38.3-2ubuntu0.20.10.1)

gnome-shell (3.38.3-2ubuntu0.20.10.1) groovy; urgency=medium

  * Merge with debian, containing new upstream release (LP: #1915089)
  * debian/patches: Correctly handle login cancellation and failures.
    Ensure the GDM workers are terminated before restarting a new auth
    request, allowing fingerprint authentication to be restarted.
    (LP: #1915066)
  * debian/patches: Show errors on fingerprint failures and limit retries.
    (LP: #1865838)

gnome-shell (3.38.3-2) unstable; urgency=medium

  * Team upload
  * d/patches: Update to 3.38.3-3-ge3dc4401d from gnome-3-38 branch
    - Fix opening Extensions app from notification
    - Fix workspace layout in right-to-left locales
    - Don't break window focusing if trying to take an area screenshot while
      an application such as a game has an X11 grab (LP: #1910235)

gnome-shell (3.38.3-1) unstable; urgency=medium

  * Team upload
  * d/watch: Only watch for 3.38.x versions
  * New upstream release

 -- Marco Trevisan (Treviño) <email address hidden> Tue, 16 Feb 2021 05:23:21 +0100

Changed in gnome-shell (Ubuntu Groovy):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for gnome-shell 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.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It looks like we forgot to fix focal so there are still bug reports there.

tags: added: rls-ff-incoming
Changed in gnome-shell:
status: Unknown → 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.