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

Clipboard tracking halts for unknonw reason(s) #106

Closed amadeusp closed 1 year ago

amadeusp commented 1 year ago

Describe the bug For unknown reasons the clipboard tracking of Pano sometimes halts for no obvious reason. At that point I can copy whatever I want from wherever and nothing actually can be copied/pasted anymore. Nothing that is copied lands in Pano anymore.

Expected behavior Clipboard tracking works without interruption. Basically everything that is copied from somewhere would land in Pano.

To Reproduce

Steps to reproduce, if applicable:

  1. Use Pano for a while to copy stuff between apps.
  2. All of a sudden it will not be possible anymore to paste things as clipboard tracking suddenly stops.
  3. Disable and re-enable the extension and it will work again for an hour or so until the process repeats itself.

Log data

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

Okt 08 07:06:44 amadeus-3 gnome-shell[1875]: Removing a network device that was not added
Okt 08 07:10:05 amadeus-3 gnome-shell[1875]: Window manager warning: WM_TRANSIENT_FOR window 0x2c03e9e for 0x2c03fce window override-redirect is an override-redirect window and this is not correct according to the standard, so we'll fallback to the first non-override-redirect window 0x2c00006.
Okt 08 07:10:06 amadeus-3 gnome-shell[1875]: Window manager warning: WM_TRANSIENT_FOR window 0x2c03e9e for 0x2c04020 window override-redirect is an override-redirect window and this is not correct according to the standard, so we'll fallback to the first non-override-redirect window 0x2c00006.
Okt 08 07:10:07 amadeus-3 gnome-shell[1875]: Window manager warning: WM_TRANSIENT_FOR window 0x2c03e9e for 0x2c04072 window override-redirect is an override-redirect window and this is not correct according to the standard, so we'll fallback to the first non-override-redirect window 0x2c00006.
Okt 08 07:10:07 amadeus-3 gnome-shell[1875]: Window manager warning: WM_TRANSIENT_FOR window 0x2c03e9e for 0x2c03fce window override-redirect is an override-redirect window and this is not correct according to the standard, so we'll fallback to the first non-override-redirect window 0x2c00006.
Okt 08 07:10:09 amadeus-3 gnome-shell[1875]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0x2c00008 specified for 0x2c04118.
Okt 08 07:10:11 amadeus-3 gnome-shell[1875]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0x2c00008 specified for 0x2c0424a.
Okt 08 07:24:13 amadeus-3 gnome-shell[1875]: Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
Okt 08 07:25:51 amadeus-3 gnome-shell[1875]: Called enable_unredirect_for_display while unredirection is enabled.
Okt 08 07:36:35 amadeus-3 gnome-shell[1875]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Okt 08 07:40:33 amadeus-3 gnome-shell[1875]: Window manager warning: last_user_time (42447325) is greater than comparison timestamp (42447324).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Okt 08 07:40:33 amadeus-3 gnome-shell[1875]: Window manager warning: W751 appears to be one of the offending windows with a timestamp of 42447325.  Working around...
Okt 08 07:53:18 amadeus-3 gnome-shell[1875]: Window manager warning: last_user_time (43211465) is greater than comparison timestamp (43211464).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Okt 08 07:53:18 amadeus-3 gnome-shell[1875]: Window manager warning: W751 appears to be one of the offending windows with a timestamp of 43211465.  Working around...
Okt 08 07:59:37 amadeus-3 gnome-shell[1875]: Window manager warning: last_user_time (43590394) is greater than comparison timestamp (43590393).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Okt 08 07:59:37 amadeus-3 gnome-shell[1875]: Window manager warning: W754 appears to be one of the offending windows with a timestamp of 43590394.  Working around...
Okt 08 08:04:31 amadeus-3 gnome-shell[1875]: Timelines with detached actors are not supported. <unnamed>[<Gjs_ui_search_ListSearchResult>:0x55a150d377f0] in animation of duration 200ms but not on stage.
Okt 08 08:04:31 amadeus-3 gnome-shell[1875]: Timelines with detached actors are not supported. <unnamed>[<Gjs_ui_search_ListSearchResult>:0x55a151d6b180] in animation of duration 200ms but not on stage.
Okt 08 08:13:16 amadeus-3 gnome-shell[1875]: Called enable_unredirect_for_display while unredirection is enabled.
Okt 08 08:19:59 amadeus-3 gnome-shell[1875]: Window manager warning: last_user_time (44812961) is greater than comparison timestamp (44812958).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Okt 08 08:19:59 amadeus-3 gnome-shell[1875]: Window manager warning: W1 appears to be one of the offending windows with a timestamp of 44812961.  Working around...
Okt 08 08:24:36 amadeus-3 gnome-shell[1875]: Timelines with detached actors are not supported. <unnamed>[<Gjs_ui_search_ListSearchResult>:0x55a1509fd9a0] in animation of duration 200ms but not on stage.
Okt 08 08:28:26 amadeus-3 gnome-shell[1875]: Timelines with detached actors are not supported. <unnamed>[<Gjs_ui_iconGrid_BaseIcon>:0x55a151765170] in animation of duration 200ms but not on stage.
Okt 08 08:28:26 amadeus-3 gnome-shell[1875]: Timelines with detached actors are not supported. <unnamed>[<Gjs_ui_search_ListSearchResult>:0x55a1510fec40] in animation of duration 200ms but not on stage.
Okt 08 08:30:54 amadeus-3 gnome-shell[1875]: Window manager warning: last_user_time (45467978) is greater than comparison timestamp (45467948).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Okt 08 08:30:54 amadeus-3 gnome-shell[1875]: Window manager warning: W780 appears to be one of the offending windows with a timestamp of 45467978.  Working around...
Okt 08 08:32:34 amadeus-3 gnome-shell[1875]: Window manager warning: last_user_time (45568021) is greater than comparison timestamp (45568020).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Okt 08 08:32:34 amadeus-3 gnome-shell[1875]: Window manager warning: W763 appears to be one of the offending windows with a timestamp of 45568021.  Working around...
Okt 08 08:39:04 amadeus-3 gnome-shell[1875]: [pano] [extension] extension is disabled
Okt 08 08:39:04 amadeus-3 gnome-shell[1875]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
Okt 08 08:39:04 amadeus-3 gnome-shell[1875]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Okt 08 08:39:04 amadeus-3 gnome-shell[1875]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Okt 08 08:39:04 amadeus-3 gnome-shell[1875]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Okt 08 08:39:04 amadeus-3 gnome-shell[1875]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Okt 08 08:39:04 amadeus-3 gnome-shell[1875]: Window manager warning: Overwriting existing binding of keysym ff54 with keysym ff54 (keycode 74).
Okt 08 08:39:04 amadeus-3 gnome-shell[1875]: Window manager warning: Overwriting existing binding of keysym ff52 with keysym ff52 (keycode 6f).
Okt 08 08:39:17 amadeus-3 gnome-shell[1875]: [pano] [extension] extension is enabled
Okt 08 08:39:17 amadeus-3 gnome-shell[1875]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Okt 08 08:39:17 amadeus-3 gnome-shell[1875]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
Okt 08 08:39:17 amadeus-3 gnome-shell[1875]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Okt 08 08:39:17 amadeus-3 gnome-shell[1875]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Okt 08 08:39:17 amadeus-3 gnome-shell[1875]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Okt 08 08:39:17 amadeus-3 gnome-shell[1875]: Window manager warning: Overwriting existing binding of keysym ff54 with keysym ff54 (keycode 74).
Okt 08 08:39:17 amadeus-3 gnome-shell[1875]: Window manager warning: Overwriting existing binding of keysym ff52 with keysym ff52 (keycode 6f).
Okt 08 08:39:23 amadeus-3 gnome-shell[1875]: Timelines with detached actors are not supported. <unnamed>[<Gjs_ui_search_ListSearchResult>:0x55a152528320] in animation of duration 200ms but not on stage.
Okt 08 08:42:14 amadeus-3 gnome-shell[1875]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
Okt 08 08:43:16 amadeus-3 gnome-shell[1875]: Window manager warning: last_user_time (46209843) is greater than comparison timestamp (46209840).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Okt 08 08:43:16 amadeus-3 gnome-shell[1875]: Window manager warning: W122 appears to be one of the offending windows with a timestamp of 46209843.  Working around...
Okt 08 08:45:58 amadeus-3 gnome-shell[1875]: Window manager warning: last_user_time (46371984) is greater than comparison timestamp (46371954).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Okt 08 08:45:58 amadeus-3 gnome-shell[1875]: Window manager warning: W122 appears to be one of the offending windows with a timestamp of 46371984.  Working around...
Okt 08 08:46:08 amadeus-3 gnome-shell[1875]: Window manager warning: last_user_time (46381976) is greater than comparison timestamp (46381945).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Okt 08 08:46:08 amadeus-3 gnome-shell[1875]: Window manager warning: W122 appears to be one of the offending windows with a timestamp of 46381976.  Working around...
Okt 08 08:47:08 amadeus-3 gnome-shell[1875]: Window manager warning: last_user_time (46441978) is greater than comparison timestamp (46441947).  This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying to work around...
Okt 08 08:47:08 amadeus-3 gnome-shell[1875]: Window manager warning: W122 appears to be one of the offending windows with a timestamp of 46441978.  Working around...
amadeusp commented 1 year ago

I just noticed that this only happens with GNOME's Text Editor as the Flatpak version. If you have a tip for me on how I could narrow this down, I would be happy to help get this fixed.

amadeusp commented 1 year ago

I noticed something else. It seems like the issue is indeed located with GNOME's Text Editor. Specifically it is only the keyboard shortcut (ctrl+c) that stops working after some time. Context menu > "Copy" still results in the clipboard being tracked by Pano.

oae commented 1 year ago

I have the gnome text editor as flatpak installed. I cannot reproduce this. Logs don't show anything weird. When this problem occurs, can you paste the text to another program directly with ctrl+v?

amadeusp commented 1 year ago

No, pasting with ctrl+v does not work. journalctl is not revealing anything for me as well. :(

oae commented 1 year ago

I believe this is not related to pano.