37

So I'm running Ubuntu 22.04, my main browser is Brave which is chromium based but I have replicated this issue successfully in Chrome as well:

  1. Browser runs fine.
  2. Download content - this opens up a window asking where you would like to download.
  3. I save the file, the download window closes.
  4. I'm back on the browser but frozen, I can't click anything. No bookmarks, address bar, tabs etc can be clicked.
  5. I shut down browser and restart and everything is fine.

This happens only after the download box appears.

So far I have tried:

  1. Turn off Sync feature in Brave
  2. Turn off hardware acceleration
  3. Uninstall and reinstall
  4. There was a broken file in the config directory that had to be manually removed according to Brave support, which I did but it did not help.

It happens every time on browsers but I can sometimes replicate the issue on PDF reader applications like Okular or Foxit as well. The condition being that a window has to open in FRONT of the window I'm working on, when the front window is close the original window freezes.

I'm new to linux so if I left anything out please let me know.

3 Answers3

30

I experienced the same problem after Ubuntu 22.04 had been released. I had installed during the final week of the beta and upgraded to the release version before discovering the same problem.

After a number of unsuccessful solutions, research revealed this thread: bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1970148 . The suggested fix, running sudo apt install xdg-desktop-portal-gnome and restarting the system resolved the problem for me and a number of people who responded to the thread. You might try it if you're still experiencing the problem.

Edit, Nov 2022. Should this not work for you, Stefan's solution below may resolve the issue (turn off hardware acceleration in your chrome based browser, then please give him a tick). FWIW, finding settings can be hard so I open settings then search for hardware acceleration which takes you to this page & you can try turning it off.

enter image description here

John 9631
  • 877
21

I had problems with Chrome - it was working fine on 20.04, but right after the upgrade to 22.04 it started to freeze temporarily, which was very annoying.

The top answer did not solve my problem (I already had the xdg-desktop-portal-gnome package installed and it was the latest version), but the Launchpad link did help. One of the comments suggested disabling hardware acceleration in Chrome settings - I tried it and voila, problem solved.

enter image description here

0

In some cases this issue can be caused by a wrong graphic card driver. This is especially common with some Nvidia cards, for which the official driver are incompatible with newer Linux kernels (see this, for example).

In my case, installing the legacy Nvidia driver from this repo, fixed the issue.

Note that none of the other solutions proposed here worked for me.

FedFranz
  • 158