oae / gnome-shell-pano

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

Pano paste the latest item from the clipboard on login #269

Open MartinHeywang opened 3 months ago

MartinHeywang commented 3 months ago

Description

The title is quite self-explanatory : whenever I login to my session (after suspend, log out or reboot), Pano paste the most recent item from the clipboard in a focused textarea. If there is no such textarea, then the text is pasted in the "Overview" search bar.

Problem Explanation

The bug happens whenever I log in.

Expected Behavior

Pano should start normally without pasting any content anywhere.

Reprodution

Steps To Reproduce

Steps to reproduce, if applicable:

  1. Make sure Pano is activated from the Extension Manager
  2. Copy some text
  3. (optional) Focus on a text zone in any application
  4. Suspend, log out, or reboot your computer, then log back in again
  5. See the bug happening

Details

Mark with [ ] all that applies:

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

Fill in all information that applies:

Environment

Output and Logs

Gnome

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

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

nothing in particular related to pano

Pano Configuration

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

$ dconf dump /org/gnome/shell/extensions/pano/
--- file is empty, nothing printed out ---
$

Enabled Extensions

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

$ dconf read /org/gnome/shell/enabled-extensions | tr ' ' '\n'
['caffeine@patapon.info',
'Hide_Activities@shay.shayel.org',
'background-logo@fedorahosted.org',
'launch-new-instance@gnome-shell-extensions.gcampax.github.com',
'rectangle@acristoffers.me',
'user-theme@gnome-shell-extensions.gcampax.github.com',
'quick-settings-tweaks@qwreey',
'logomenu@aryan_k',
'monitor@astraext.github.io',
'paperwm@paperwm.github.com',
'top-bar-organizer@julian.gse.jsts.xyz',
'gnome-ui-tune@itstime.tech',
'Battery-Health-Charging@maniacx.github.com',
'hidetopbar@mathieu.bidon.ca',
'forge@jmmaranan.com',
'trayIconsReloaded@selfmade.pl',
'quick-settings-avatar@d-go',
'pano@elhan.io']
nooraibk commented 2 months ago

I'm on fedora 39 and having same issue. Its particularly concerning because it can paste sensitive information if you have setup other apps to launch on startups.

DAPOTTIS commented 2 months ago

same problem here

OsoRojo commented 2 months ago

Same. And it doesn't happen just on login. It also does it resume from suspend.

Totto16 commented 2 months ago

I could reproduce that finally, I always used x11 (because of an NVIDIA graphics card 😓 ) but under Wayland this appareas to be an issue, I'm looking into this soon ™️

OsoRojo commented 2 months ago

@Totto16 Lately I've tried to be better about noting the 'pure wayland' nature of my setup for exactly that reason, but I forgot when I chimed. This is a good reminder to always note specifics like that. Glad you were able to reproduce it!!

Tuba2 commented 2 months ago

@MartinHeywang, is it the same issue from #244 , which was related to the "Paste on select" feature?

You can test this by disabling "Paste on select" and trying to reproduce the bug.

I believe this was patched, but I don't know for sure.

MartinHeywang commented 2 months ago

I don't know if it is exactly the same issue, but the problem does disappear when I disable "Paste on select". I have enabled and disabled the feature and they do seem correlated.