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.07k stars 57 forks source link

Disappears and reappears at random when opened via keyboard shortcut on another monitor #246

Open blanknam3d opened 10 months ago

blanknam3d commented 10 months ago

Description

Pano seems to not stay on screen on other monitors, unless it is actively animated/interacted with.

Problem Explanation

Pano seems to only be consistently visible on my main monitor, when opened by any means. When opened on other monitors by keyboard shortcut, it's only visible as long as some sort of animation or interaction is happening - while it fades in or out or while I scroll through the list of copied items, it's visible, but when standing still for any period of time it vanishes. While it's invisible I can still interact with it as if I can see it, clicking where an item should be if it was visible will paste that item.

Expected Behavior

Pano stays visible on screen instead of randomly disappearing

Reproduction

Steps To Reproduce

  1. Connect another display to PC
  2. Copy a few things so there's something there
  3. Invoke Pano on the not-primary display

Details

It happens with any application?

I think it primarily happens with Chromium-based (or Electron-based) applications? When Pano is invoked while focused on a native app, it doesn't seem to happen.

It happens only on one computer?

It happens only with some specific gnome configuration?

It happens only with some specific extension installed?

Diagnostics

Under what conditions does it happen?

Fill in all information that applies:

Environment

Screenshots

If applicable, add screenshots to help explain your problem:

https://github.com/oae/gnome-shell-pano/assets/25239471/8b327f16-68a7-4eeb-987d-0ea357bf0ab7

Also demonstrated: Somehow, it's visible to OBS via PipeWire just fine, but it's not visible on the actual monitor itself.

Application Details

Output and Logs

Gnome

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

Could not get any output from this command whatsoever.

Pano Configuration

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

[/]
active-item-border-color='rgb(255,120,0)'
global-shortcut=['<Super>v']
history-length=30
hovered-item-border-color='rgba(255,102,0,0.6875)'
keep-search-entry=false
link-previews=false
open-links-in-browser=false
play-audio-on-copy=true
send-notification-on-copy=false
session-only-mode=true
window-background-color='rgba(39,18,0,0.826667)'
window-height=342

[code-item]
header-bg-color='rgb(145,65,172)'

[color-item]
header-bg-color='rgb(220,138,221)'

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

[image-item]
header-bg-color='rgb(255,120,0)'

[link-item]
body-bg-color='rgb(255,120,0)'
header-bg-color='rgb(198,70,0)'
metadata-bg-color='rgba(39,18,0,0.826667)'

[text-item]
header-bg-color='rgb(198,70,0)'

Enabled Extensions

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

['emoji-selector@maestroschan.fr',
'pano@elhan.io',
'user-theme@gnome-shell-extensions.gcampax.github.com',
'transparent-top-bar@zhanghai.me',
'gnome-extension-brightness@bruno.englert.gitlab.com',
'smile-extension@mijorus.it',
'simple-message@freddez',
'drive-menu@gnome-shell-extensions.gcampax.github.com',
'gsconnect@andyholmes.github.io',
'dash-to-panel@jderose9.github.com',
'custom-accent-colors@demiskp',
'monitor-brightness-volume@ailin.nemui',
'blur-my-shell@aunetx',
'appindicatorsupport@rgcjonas.gmail.com']
blanknam3d commented 10 months ago

Just checked again on GNOME 45.2, updated from 45.1 - same issue with newer GNOME version.

ojpro commented 9 months ago

thanks @blanknam3d for creating this issue was willing to report it as well,

I am facing the same problem on ubuntu 22.04.03 LTS, Gnome 42.9

kzhe2059 commented 8 months ago

Can confirm I face the same issue on GNOME 45.

MaoMaoCake commented 8 months ago

I'm on ubuntu 22.04 Gnome 42.9, I managed to somewhat recreate the intended behavior.

option 1:

  1. Focus a tab on the main monitor
  2. move mouse over to other monitor but DONT CLICK/FOCUS ANYTHING
  3. shortcut

option 2:

  1. focus a non fullscreen app
  2. shortcut

The selection menu should still be there visible. This looks like the full screen window on the non main screen acts differently than its counterpart

KelvinNovais commented 7 months ago

I report the same behavior:

kzhe2059 commented 6 months ago

Still happening on GNOME 46

nooraibk commented 5 months ago

I'm on fedora 39 and having same issue with secondary display.

moiiiiit commented 4 months ago

Same issue, makes it unusable for me as I mostly work multi monitor!

moiiiiit commented 4 months ago

Weird thing I found is that when I switched primary display to external monitor (built in monitor is laptop screen), everything is working as expected.

ojpro commented 4 months ago

It working fine for me now, on Ubuntu 24.04 LTS.

Note: I built it from source as the extension is not supported yet for gnome 46: https://github.com/oae/gnome-shell-pano?tab=readme-ov-file#build