flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
24.52k stars 1.57k forks source link

Copy via clipboard only working to some applications #3300

Open CEHitchens opened 1 year ago

CEHitchens commented 1 year ago

Flameshot Version

Flameshot v12.1.0 () Compiled with Qt 5.11.3 (The same phenomenon with the Linux Mint's 21.2 Cinnamon repository version, which made me get the *.deb from https://github.com/flameshot-org/...

Installation Type

Using the ready-made package from Github Releases

Operating System type and version

Linux Mint 21.2 Cinnamon

Description

Pasting a Flameshot screenshot into Signal messenger is not working. Pasting via the clipboard also doesn't work to websites such as imgur.com using Mozilla Firefox, LibreWolf and Vivaldi (yes, I know about Flameshot's built-in imgur upload function). Those used to work without any issues before, i.e. Linux Mint 20.3 Cinnamon.

What does work, though, is pasting to GIMP, Pinta, Thunderbird, LibreOffice.

Cinnamon desktop notificaitons are enabled and I do see a notification that Flamshot copied something to the clipboard. However, as said above, it only works with some 'destination' applications.

In other issue reports on here I saw mentions of enabling/disabling "use jpg format for clipboard option" somewhere. I don't have such an option. The only thing that I found coming close to that is setting file formats on the "General" tab > "Save Path" section. I tried it with jpeg and png.

This issue may be related to #3107, also using X.Org, but KDE instead of Cinnamon.

Steps to reproduce

  1. Flamshot is being launched with "flameshot gui"
  2. Select area
  3. Click the copy to clipboard icon (these two overlapping sheets) or use ctrl+c
  4. Desktop environment notification informs that Flameshot copied something to the clipboard
  5. Switch to Signal messenger, Firefox, Librewolf, Vivaldi and visit imgur.com
  6. Use ctrl+v to paste, which should create a new post
  7. No paste happening
  8. [Pasting to GIMP and Pinta first, then performing another ctrl+c from there to then paste to Signal messenger, Firefox, LibreWolf and Vivaldi works]

Screenshots or screen recordings

No response

System Information

  1. Linux Mint 21.2 Cinnamon
  2. xrandr info: Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 32767 x 32767 DVI-D-0 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 546mm x 352mm 1920x1200 59.95*+ 1920x1080 60.00
    1680x1050 59.95
    1600x1200 60.00
    1440x900 59.89
    1280x1024 60.02
    1280x960 60.00
    1024x768 60.00
    800x600 60.32
    640x480 59.94
    HDMI-0 disconnected (normal left inverted right x axis y axis) DP-0 disconnected (normal left inverted right x axis y axis) DP-1 disconnected (normal left inverted right x axis y axis) DP-2 disconnected (normal left inverted right x axis y axis) DP-3 disconnected (normal left inverted right x axis y axis) DP-4 disconnected (normal left inverted right x axis y axis) DP-5 disconnected (normal left inverted right x axis y axis)`

inxi -Gxxx info: Graphics: Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Micro-Star MSI driver: nvidia v: 535.86.05 pcie: speed: 2.5 GT/s lanes: 16 ports: active: none off: DVI-D-1 empty: DP-1, DP-2, DP-3, HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1b81 class-ID: 0300 Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia display-ID: :0 screens: 1 Screen-1: 0 s-res: 1920x1200 s-dpi: 90 s-size: 542x350mm (21.3x13.8") s-diag: 645mm (25.4") Monitor-1: DVI-D-0 res: 1920x1200 hz: 60 dpi: 89 size: 546x352mm (21.5x13.9") diag: 650mm (25.6") OpenGL: renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 535.86.05 direct render: Yes`

  1. X.Org, WM: Mutter (Muffin), Cinnamon 5.8.4
QasimAbbasi9497 commented 1 year ago

I am also facing the same issue, but in my case, the copy to clipboard feature is not working. I am using Flameshot on Arch + i3.

The-Compiler commented 1 year ago

The copy to clipboard functionality started to break today for me on Arch as well (mostly tried with Discord). Weird. Worked fine before!

Can't really see any changes here that would be relevant: Commits · kde/5.15 · Qt Project / qt / qtbase · GitLab

graevy commented 1 year ago

also experiencing this on arch

Dellrall commented 10 months ago

Im expriencing the same issue, but its weirder that it would froze once I press Ctrl+C or the copy button.

I have tried to reinstall it or deleting the configuration file, and did a clean install still wouldn't work.

I found it while using the flameshot status tray icon to copy it, and it wouldn't copy it and the icon none functional for a couple of seconds. Im using OpenSUSE Tumbleweed, x11, KDE Plasma.

NikolozCh commented 7 months ago

Facing same issue and came here to see if someone fixed it. Apparently not. I can only paste the image in Telegram but other apps like Google Chrome, Dicsord, etc can't recognize anything in my clipboard. Moreover, I checked Windows Key + V nothing in the clipboard history as well.