Shell freeze after right click on the app in the dock

Bug #1949572 reported by giorgi shengelaia
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-shell-extension-appindicator (Ubuntu)
Invalid
High
Unassigned
Impish
Invalid
High
Unassigned
gnome-shell-extension-dashtodock (Ubuntu)
Won't Fix
High
Daniel van Vugt
gnome-shell-extension-ubuntu-dock (Ubuntu)
Fix Released
High
Marco Trevisan (Treviño)
Impish
Fix Released
High
Marco Trevisan (Treviño)

Bug Description

[ Impact ]

When you click the icon of the app in the dock to open it for the first time and then immediately right click to see options, everything freezes and you are forced to reboot.

[ Test case ]

- Under wayland, open an application and immediately right-click its icon
- The shell should show the application window that has just been opened in
  the windows submenu, and continue working

[ Regression potential]

No windows previews are showing in the application menu

---

I'm using Ubuntu 21.10. I installed it today.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CurrentDesktop: ubuntu:GNOMEDistroRelease: Ubuntu 21.10
InstallationDate: Installed on 2021-11-03 (0 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
Package: gnome-shell-extension-ubuntu-dock 70~ubuntu3
PackageArchitecture: all
ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
Tags: impish wayland-session
Uname: Linux 5.13.0-20-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True

Revision history for this message
lotuspsychje (lotuspsychje) wrote :

Thank you to report this bug and make Ubuntu better!

In order to be able to debug your better, please use apport-collect 1949572 from a terminal
to pull relevant info into your bug.

Thank you!

Revision history for this message
giorgi shengelaia (g-shengelaia2001) wrote : Dependencies.txt

apport information

tags: added: apport-collected impish wayland-session
description: updated
Revision history for this message
giorgi shengelaia (g-shengelaia2001) wrote : HookError_ubuntu.txt

apport information

Revision history for this message
giorgi shengelaia (g-shengelaia2001) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
giorgi shengelaia (g-shengelaia2001) wrote : ProcEnviron.txt

apport information

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I can reproduce the bug now using jedit (instructions from duplicate bug 1951879).

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → High
tags: added: jammy
summary: - freeze after back-to-back left and right click on the app in the dock
+ Shell freeze after right click on the app in the dock
tags: added: rls-ii-incoming
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

So far 'jedit' is the only affected app I can find. And I can unfreeze the shell by logging in remotely and killing the 'java' process.

Annoyingly, building gnome-shell manually (even from Ubuntu source) doesn't exhibit the bug. I'm missing something.

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

Found it. The problem is caused by having both:

  Ubuntu Dock
  Ubuntu AppIndicators

enabled AND an app like jEdit that uses AppIndicators.

Changed in gnome-shell-extension-appindicator (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Changed in gnome-shell-extension-appindicator (Ubuntu):
status: Confirmed → Invalid
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
status: Confirmed → Triaged
Changed in gnome-shell-extension-dashtodock (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
tags: removed: rls-ii-incoming
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

These are two different bugs actually, as the right-click one on startup isn't due to missing texture but to private window to have a size yet.

However, the handling can be similar.

Changed in gnome-shell-extension-appindicator (Ubuntu Impish):
importance: Undecided → High
status: New → Invalid
Changed in gnome-shell-extension-dashtodock (Ubuntu Impish):
assignee: nobody → Daniel van Vugt (vanvugt)
importance: Undecided → High
status: New → In Progress
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu Impish):
assignee: nobody → Daniel van Vugt (vanvugt)
importance: Undecided → High
status: New → Triaged
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

This was fixed in gnome-shell-extension-ubuntu-dock_72~ubuntu1

no longer affects: gnome-shell-extension-dashtodock (Ubuntu Impish)
Changed in gnome-shell-extension-dashtodock (Ubuntu):
status: In Progress → Won't Fix
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
assignee: Daniel van Vugt (vanvugt) → Marco Trevisan (Treviño) (3v1n0)
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu Impish):
assignee: Daniel van Vugt (vanvugt) → Marco Trevisan (Treviño) (3v1n0)
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu):
status: Triaged → Fix Released
Changed in gnome-shell-extension-ubuntu-dock (Ubuntu Impish):
status: Triaged → In Progress
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello giorgi, or anyone else affected,

Accepted gnome-shell-extension-ubuntu-dock into impish-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/70~ubuntu3.21.10.1 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-impish to verification-done-impish. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-impish. 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-extension-ubuntu-dock (Ubuntu Impish):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-impish
Revision history for this message
Sebastien Bacher (seb128) wrote :

Using 70~ubuntu3.21.10.1 there is no freeze and the previews are correct

tags: added: verification-done verification-done-impish
removed: verification-needed verification-needed-impish
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for gnome-shell-extension-ubuntu-dock 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
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell-extension-ubuntu-dock - 70~ubuntu3.21.10.1

---------------
gnome-shell-extension-ubuntu-dock (70~ubuntu3.21.10.1) impish; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * locations: Do not manually dispose objects (LP: #1949352, #1951599)
  * windowPreview: Try generating previews clones on meta later only if have valid size
    (LP: #1949572)
  * locations: Use native GIcon as location Apps-icons (LP: #1874578)
  * debian: Update branch info for impish

  [ nename0 ]
  * Cleanup nautilus listeners (LP: #1949352)

  [ Pepijn Bogaard ]
  * appIcons: Fixed logic on handling preview click actions (LP: #1947445)

 -- Marco Trevisan (Treviño) <email address hidden> Tue, 25 Jan 2022 01:08:43 +0100

Changed in gnome-shell-extension-ubuntu-dock (Ubuntu Impish):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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