After looking through other processes that use CPU while selecting text, I noticed clipit there as well. Closing clipit seems to improve things a lot. I still see gnome-shell go to 25% CPU but the UI is responsive now.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1894225 Title: Blocked UI and 100% cpu in gnome-shell when selecting text Status in gnome-shell package in Ubuntu: New Bug description: After upgrading from ubuntu-18.04 to 20.04 I noticed that selecting text via shift-rightarrow in any app (gedit, chrome, firefox) makes X11 stop updating all apps' window contents while gnome-shell jumps to 100% cpu in top. This is on an idle DELL e7440 laptop (i5-4210U with 8 GB of RAM) and a fresh ubuntu install. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: gnome-shell 3.36.4-1ubuntu1~20.04.2 ProcVersionSignature: Ubuntu 5.4.0-45.49-generic 5.4.55 Uname: Linux 5.4.0-45-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.8 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Fri Sep 4 15:44:00 2020 DisplayManager: gdm3 InstallationDate: Installed on 2020-08-26 (9 days ago) InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731) RelatedPackageVersions: mutter-common 3.36.4-0ubuntu0.20.04.2 SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1894225/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp