oae / gnome-shell-pano

Next-gen Clipboard Manager for Gnome Shell
https://extensions.gnome.org/extension/5278/pano/
GNU General Public License v2.0
1.08k stars 59 forks source link

GNOME freeze on large text copy #183

Open busybox11 opened 1 year ago

busybox11 commented 1 year ago

Description

GNOME sometimes freezes on a still image for a couple seconds after copying something, but the sounds still works. It seems like the size of the content does impact the amount of freeze.

Problem Explanation

While copying the entire USA constitution from this page, I had around 5-10 seconds of freeze with the sound still working - I was watching a livestream. I am using Wayland.

Expected Behavior

Reprodution

Steps To Reproduce

  1. Open a Wayland GNOME session with Pano
  2. Copy the USA constitution from this page by hand
  3. The desktop should freeze with the clipboard notification appearing with a delay.

Details

It happens with any application?

It happens only on one computer?

It happens only with some specific gnome configuration?

It happens only with some specific extension installed?

Diagnostics

Environment

Screenshots

N/A

Application Details

What is pasted, if applicable

The entire USA constitution, from Google Chrome, Firefox and gedit.

Output and Logs

Gnome

Command: journalctl --since=now --follow /usr/bin/gnome-shell

Apr 18 20:17:22 powerbox gnome-shell[1372]: Window manager warning: Ping serial 10096011 was reused for window W36, previous use was for window W54.

Pano Configuration

Command: dconf dump /org/gnome/shell/extensions/pano/

[/]
history-length=30

Enabled Extensions

Command: dconf read /org/gnome/shell/enabled-extensions | tr ' ' '\n'

['gestureImprovements@gestures',
'caffeine@patapon.info',
'noannoyance@daase.net',
'gnome-fuzzy-app-search@gnome-shell-extensions.Czarlie.gitlab.com',
'weeks-start-on-monday@extensions.gnome-shell.fifi.org',
'quick-settings-tweaks@qwreey',
'asusctl-gex@asus-linux.org',
'gsconnect@andyholmes.github.io',
'mediacontrols@cliffniff.github.com',
'Move_Clock@rmy.pobox.com',
'user-theme@gnome-shell-extensions.gcampax.github.com',
'pano@elhan.io',
'bluetooth-quick-connect@bjarosze.gmail.com',
'TwitchLive_Panel@extensions.maweki.de',
'dash-to-dock@micxgx.gmail.com',
'search-light@icedman.github.com',
'rounded-window-corners@yilozt',
'blur-my-shell@aunetx',
'supergfxctl-gex@asus-linux.org',
'hass-gshell@geoph9-on-github']

Also

['pano@elhan.io']
nozwock commented 1 year ago

Not just on large text copy, I had to disable pano as it freezes my system when I'm simply trying to make the clipboard show up with Super+Shift+V.

Pano version is 19, I don't remember this happening in previous version but also haven't tested it after this freeze issue.

I'm not able to do anything when it's frozen, TTY, etc nothing works. I've to force restart the system.

busybox11 commented 1 year ago

@nozwock I just discovered another problematic behavior - I will be creating a new issue right after this reply. Basically copying the URL to a file download target will download the entire file and can freeze the entirety of the UI while it tries to parse it (? idk what's going on but that's my guess).

UPDATE: #188

sandikata commented 1 year ago

The same problem occurs for me again... There's nothing changed AFAIK.

Commenter25 commented 1 month ago

This is still an issue. Notably, it seems the system does not actually freeze. Audio still works, my music plays and switches songs just as always, and my Mumble calls work just the same, and I still hear notification sounds from apps. It appears to be purely a visual freeze, as if the graphical GNOME Shell's rendering is hanging, but still processing the backend alongside everything else.

I believe it is related to the notification itself, as the freeze happens again upon hovering the notification. It's likely the entire text is being flooded into the notification, and GNOME never expects to handle this much text. Since it only shows about 5 lines anyway, trimming the text length is a likely solution.