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.04k stars 55 forks source link

Stuttering on copy #79

Open lijamez opened 1 year ago

lijamez commented 1 year ago

Describe the bug When something is copied, there is a stutter on the desktop which freezes whatever is being displayed for around 0.1 seconds (common) up to 1 second (rare). The stuttering occurs regardless of the content I have copied. I have tested copying text, files/folders, and images.

Stutters do not occur when Pano is running in Incognito mode.

Expected behavior Stutters should not occur.

Screenshots Screenshots would not demonstrate the problem.

To Reproduce

Log data Output from journalctl /usr/bin/gnome-shell:

Aug 22 18:38:46 fedora gnome-shell[1188]: Running GNOME Shell (using mutter 42.0) as a Wayland display server
Aug 22 18:38:46 fedora gnome-shell[1188]: Device '/dev/dri/card0' prefers shadow buffer
Aug 22 18:38:46 fedora gnome-shell[1188]: Added device '/dev/dri/card0' (amdgpu) using atomic mode setting.
Aug 22 18:38:46 fedora gnome-shell[1188]: Created gbm renderer for '/dev/dri/card0'
Aug 22 18:38:46 fedora gnome-shell[1188]: Boot VGA GPU /dev/dri/card0 selected as primary
Aug 22 18:38:46 fedora gnome-shell[1188]: Using public X11 display :1024, (using :1025 for managed services)
Aug 22 18:38:46 fedora gnome-shell[1188]: Using Wayland display name 'wayland-0'
Aug 22 18:38:47 fedora gnome-shell[1188]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
Aug 22 18:38:47 fedora gnome-shell[1188]: Will monitor session c1
Aug 22 18:38:47 fedora gnome-shell[1188]: Extension apps-menu@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/apps-menu@gnome-shell-extensions.gcampax.github.com will not be loaded
Aug 22 18:38:47 fedora gnome-shell[1188]: Extension background-logo@fedorahosted.org already installed in /usr/share/gnome-shell/extensions/background-logo@fedorahosted.org. /usr/share/gnome-shell/extensions/background-logo@fedorahosted.org will not be loaded
Aug 22 18:38:47 fedora gnome-shell[1188]: Extension launch-new-instance@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.>
Aug 22 18:38:47 fedora gnome-shell[1188]: Extension places-menu@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com will not be loaded
Aug 22 18:38:47 fedora gnome-shell[1188]: Extension window-list@gnome-shell-extensions.gcampax.github.com already installed in /usr/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com. /usr/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com will not be loaded
Aug 22 18:38:47 fedora org.gnome.Shell.desktop[1188]: Window manager warning: Failed to parse saved session file: Failed to open file “/run/gnome-initial-setup/.config/mutter/sessions/10bf28441740eb01616612187263057900000011800000.ms”: No such file or directory
Aug 22 18:38:48 fedora gnome-shell[1188]: Registering session with GDM
Aug 22 18:38:48 fedora gnome-shell[1188]: ATK Bridge is disabled but a11y has already been enabled.
Aug 22 18:38:51 fedora gnome-shell[1188]: JS ERROR: Gio.IOErrorEnum: The connection is closed
                                          _promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:425:45
                                          ### Promise created here: ###
                                          _initEngines@resource:///org/gnome/shell/misc/ibusManager.js:156:34
                                          _onConnected@resource:///org/gnome/shell/misc/ibusManager.js:149:14
Aug 22 18:38:51 fedora gnome-shell[1188]: JS ERROR: Gio.IOErrorEnum: The connection is closed
                                          _promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:425:45
                                          ### Promise created here: ###
                                          _onConnected@resource:///org/gnome/shell/misc/inputMethod.js:55:46
Aug 22 18:38:51 fedora gnome-shell[1188]: JS ERROR: Gio.IOErrorEnum: The connection is closed
                                          _promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:425:45
                                          ### Promise created here: ###
                                          _initPanelService@resource:///org/gnome/shell/misc/ibusManager.js:173:30
                                          _onConnected@resource:///org/gnome/shell/misc/ibusManager.js:150:14
Aug 22 18:40:24 fedora gnome-shell[2186]: Running GNOME Shell (using mutter 42.0) as a Wayland display server
Aug 22 18:40:24 fedora gnome-shell[2186]: Device '/dev/dri/card0' prefers shadow buffer
Aug 22 18:40:24 fedora gnome-shell[2186]: Added device '/dev/dri/card0' (amdgpu) using atomic mode setting.
Aug 22 18:40:24 fedora gnome-shell[2186]: Created gbm renderer for '/dev/dri/card0'
Aug 22 18:40:24 fedora gnome-shell[2186]: Boot VGA GPU /dev/dri/card0 selected as primary
Aug 22 18:40:25 fedora gnome-shell[2186]: Using public X11 display :0, (using :1 for managed services)
Aug 22 18:40:25 fedora gnome-shell[2186]: Using Wayland display name 'wayland-0'
Aug 22 18:40:25 fedora gnome-shell[2186]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
Aug 22 18:40:25 fedora gnome-shell[2186]: Will monitor session 2
Aug 22 18:40:25 fedora gnome-shell[2186]: Telepathy is not available, chat integration will be disabled.
Aug 22 18:40:26 fedora gnome-shell[2186]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
Aug 22 18:40:27 fedora gnome-shell[2186]: GNOME Shell started at Mon Aug 22 2022 18:40:26 GMT-0700 (PDT)
Aug 22 18:40:27 fedora gnome-shell[2186]: Registering session with GDM
Aug 22 18:40:50 fedora gnome-shell[2186]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Aug 22 18:46:04 fedora gnome-shell[2186]: ATK Bridge is disabled but a11y has already been enabled.
Aug 22 18:47:54 fedora gnome-shell[2186]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Aug 22 18:50:13 fedora gnome-shell[2186]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Aug 22 18:50:31 fedora gnome-shell[2186]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Aug 22 18:50:55 fedora gnome-shell[2186]: Received error from D-Bus search provider firefox.desktop: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
Aug 22 18:50:55 fedora gnome-shell[2186]: Received error from D-Bus search provider firefox.desktop: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
Aug 22 18:50:55 fedora gnome-shell[2186]: Received error from D-Bus search provider firefox.desktop: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
Aug 22 18:50:55 fedora gnome-shell[2186]: Received error from D-Bus search provider firefox.desktop: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
Aug 22 18:50:56 fedora gnome-shell[2186]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Aug 22 18:51:14 fedora gnome-shell[2186]: st_widget_get_theme_node called on the widget [0x55f8fc327ef0 StLabel.vitals-panel-label:insensitive ("…")] which is not in the stage.
Aug 22 18:51:14 fedora gnome-shell[2186]: st_widget_get_theme_node called on the widget [0x55f8fc706ec0 StLabel.vitals-panel-label:insensitive ("…")] which is not in the stage.
Aug 22 18:51:14 fedora gnome-shell[2186]: st_widget_get_theme_node called on the widget [0x55f8fc8b0ce0 StLabel.vitals-panel-label:insensitive ("…")] which is not in the stage.
Aug 22 18:51:22 fedora gnome-shell[2186]: Some code accessed the property 'SecondaryMonitorDisplay' on the module 'workspacesView'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module mus>
Aug 22 18:51:22 fedora gnome-shell[2186]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
Aug 22 18:51:25 fedora gnome-shell[2186]: (../clutter/clutter/clutter-actor.c:12430):clutter_actor_event: runtime check failed: (retval == CLUTTER_EVENT_PROPAGATE)
Aug 22 18:51:29 fedora gnome-shell[2186]: Can't update stage views actor <unnamed>[<ClutterActor>:0x55f8fa0478e0] is on because it needs an allocation.
Aug 22 18:51:29 fedora gnome-shell[2186]: Can't update stage views actor <panelBox>[<StBoxLayout>:0x55f8fd405a40] is on because it needs an allocation.
Aug 22 18:51:29 fedora gnome-shell[2186]: Can't update stage views actor <unnamed>[<Gjs_dash-to-panel_jderose9_github_com_panel_Panel>:0x55f8fd4098c0] is on because it needs an allocation.
Aug 22 18:51:29 fedora gnome-shell[2186]: Can't update stage views actor <panel>[<Gjs_dash-to-panel_jderose9_github_com_panel_SecondaryPanel>:0x55f8fd40a930] is on because it needs an allocation.
Aug 22 18:51:29 fedora gnome-shell[2186]: Can't update stage views actor <unnamed>[<StBin>:0x55f8fd6f4de0] is on because it needs an allocation.
Aug 22 18:51:29 fedora gnome-shell[2186]: Can't update stage views actor <dashtopanelTaskbar>[<Gjs_dash-to-panel_jderose9_github_com_taskbar_TaskbarActor>:0x55f8fd6e0920] is on because it needs an allocation.
Aug 22 18:51:29 fedora gnome-shell[2186]: Can't update stage views actor <dashtopanelScrollview>[<StScrollView>:0x55f8fd6e12c0] is on because it needs an allocation.
Aug 22 18:51:29 fedora gnome-shell[2186]: Can't update stage views actor <unnamed>[<StBoxLayout>:0x55f8fd6df620] is on because it needs an allocation.
Aug 22 18:51:29 fedora gnome-shell[2186]: Can't update stage views actor <unnamed>[<Gjs_dash-to-panel_jderose9_github_com_taskbar_TaskbarItemContainer>:0x55f8fdcdbca0] is on because it needs an allocation.
Aug 22 18:51:29 fedora gnome-shell[2186]: Can't update stage views actor <unnamed>[<Gjs_dash-to-panel_jderose9_github_com_appIcons_TaskbarAppIcon>:0x55f8fdbd2bc0] is on because it needs an allocation.
MrSnugglesGH commented 1 year ago

Same here on Ubuntu 22.04

Edit: In my case, everytime I open a new app or a new window of already opened app, and copy something for the first time my mouse freezes for 1s. There are no more freezes after that.

Edit2: Actually, I think there are stutters on second, third and so on copy within an app/window. Although they don't last as long as the first stutter does.

lepa22 commented 1 year ago

I have also noticed this issue. It happens when the Play an Audio on Copy option is enabled. When the option is disabled there is no noticeable stuttering on my machine.

Conobi commented 1 year ago

Same here, on Manjaro Linux, GNOME Shell 42.5 running on Wayland. Pano freezes my entire screen and mouse, the pop sound is freezing too (plays in loop) for maybe 300 ms. This issue makes Pano unusable!

TheOPtimal commented 1 year ago

It gets even worse:

When sound isn't available, it freezes for around 7 seconds. For some reason, the sound playing is a blocking operation.

ser commented 1 year ago

Still freezes, it's really annoying and affects work. It freezes even without sound enabled.