oae / gnome-shell-pano

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

Bug: Every selection is logged into history #243

Closed username0136 closed 7 months ago

username0136 commented 7 months ago

Description

Whatever I select or highlight with my mouse is logged into Pano's history even when i am not copying. Happens with both Keyboard and Mouse selections.

Expected Behavior

Pano should only log items into history that i copy as it's a clipboard manager and not my mouse logger.

Steps To Reproduce

  1. Select any text, DONT COPY IT!, Just select
  2. Open Pano, and see the selection is present in the history bloating it

Details

It happens with any application?

It happens only on one computer?

It happens only with some specific gnome configuration?

[/] global-shortcut=['v'] history-length=100 hovered-item-border-color='rgb(221,221,221)' icon-pack=uint32 0 incognito-shortcut=['v'] is-in-incognito=false item-date-font-family='Roboto' item-date-font-size=11 item-size=280 item-title-font-family='Roboto' item-title-font-size=20 open-links-in-browser=false play-audio-on-copy=false search-bar-font-family='Roboto' search-bar-font-size=14 send-notification-on-copy=false show-indicator=false sync-primary=true wiggle-indicator=false window-background-color='rgba(0,0,0,0.836667)' window-position=uint32 2

[color-item] header-bg-color='rgb(128,11,255)' metadata-font-family='Roboto' metadata-font-size=16

[emoji-item] emoji-size=45 header-bg-color='rgb(230,97,0)'

[file-item] body-font-family='Roboto' body-font-size=13

[image-item] header-bg-color='rgb(224,27,36)' metadata-font-family='Roboto' metadata-font-size=12

[link-item] header-bg-color='rgb(28,113,216)' metadata-description-font-family='Roboto' metadata-description-font-size=12 metadata-link-font-family='Roboto' metadata-link-font-size=10 metadata-title-font-family='Roboto' metadata-title-font-size=13

[text-item] body-bg-color='rgb(32,33,39)' body-color='rgb(255,255,245)' body-font-family='Roboto' body-font-size=14 header-bg-color='rgb(28,113,216)'

</details>

#### It happens only with some specific extension installed?

- [x] I don't think that the installed extensions affect the bug/behavior.

## Diagnostics

### Environment

- GNOME Shell version: 45
- Distro: Fedora Workstation
- Distro version: 39

### Video Demo
[Screencast from 2023-11-25 09-25-07.webm](https://github.com/oae/gnome-shell-pano/assets/102938585/eea2179a-d774-4097-afbc-2085aebdcfca)

### Output and Logs

<details>
  <summary>GNOME</summary>

╰─>$ journalctl --since=now --follow /usr/bin/gnome-shell

^C⏎

 empty :(
</details>

<details>
  <summary>Pano Configuration</summary>

─>$ dconf dump /org/gnome/shell/extensions/pano/

[/] global-shortcut=['v'] history-length=100 hovered-item-border-color='rgb(221,221,221)' icon-pack=uint32 0 incognito-shortcut=['v'] is-in-incognito=false item-date-font-family='Roboto' item-date-font-size=11 item-size=280 item-title-font-family='Roboto' item-title-font-size=20 open-links-in-browser=false play-audio-on-copy=false search-bar-font-family='Roboto' search-bar-font-size=14 send-notification-on-copy=false show-indicator=false sync-primary=true wiggle-indicator=false window-background-color='rgba(0,0,0,0.836667)' window-position=uint32 2

[color-item] header-bg-color='rgb(128,11,255)' metadata-font-family='Roboto' metadata-font-size=16

[emoji-item] emoji-size=45 header-bg-color='rgb(230,97,0)'

[file-item] body-font-family='Roboto' body-font-size=13

[image-item] header-bg-color='rgb(224,27,36)' metadata-font-family='Roboto' metadata-font-size=12

[link-item] header-bg-color='rgb(28,113,216)' metadata-description-font-family='Roboto' metadata-description-font-size=12 metadata-link-font-family='Roboto' metadata-link-font-size=10 metadata-title-font-family='Roboto' metadata-title-font-size=13

[text-item] body-bg-color='rgb(32,33,39)' body-color='rgb(255,255,245)' body-font-family='Roboto' body-font-size=14 header-bg-color='rgb(28,113,216)'

</details>

<details>
  <summary>Enabled Extensions</summary>

['dash-to-panel@jderose9.github.com', 'appindicatorsupport@rgcjonas.gmail.com', 'AlphabeticalAppGrid@stuarthayhurst', 'blur-my-shell@aunetx', 'compiz-alike-magic-lamp-effect@hermes83.github.com', 'steal-my-focus-window@steal-my-focus-window', 'pano@elhan.io']


</details>
username0136 commented 7 months ago

THE HECK, Just realised after posting that I misunderstood the "Sync Primary" setting.