Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying to clipboard does not work on sway #3601

Open
Freemason-12 opened this issue May 11, 2024 · 2 comments
Open

Copying to clipboard does not work on sway #3601

Freemason-12 opened this issue May 11, 2024 · 2 comments
Labels
Unconfirmed Bug The bug is not confirmed by anyone else.

Comments

@Freemason-12
Copy link

Flameshot Version

Flameshot 12.1.0

Installation Type

Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)

Operating System type and version

Ubuntu 24.04

Description

When try to copy a screenshot section to clipboard these errors appear:

qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

and the journal logs say:

May 11 14:03:19 ThinkPad-T460 org.flameshot.Flameshot[7692]: qt.qpa.xcb: could not connect to display
May 11 14:03:19 ThinkPad-T460 org.flameshot.Flameshot[7692]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
May 11 14:03:19 ThinkPad-T460 org.flameshot.Flameshot[7692]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
May 11 14:03:19 ThinkPad-T460 org.flameshot.Flameshot[7692]: Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Steps to reproduce

  1. run flameshot gui
  2. get some arbitrary portion of the screen
  3. press a "Copy to Clipboard" button

Screenshots or screen recordings

No response

System Information

System:
  Host: ThinkPad-T460 Kernel: 6.8.0-31-generic arch: x86_64 bits: 64
  Desktop: Sway v: 1.9 Distro: Ubuntu 24.04 LTS (Noble Numbat)
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] driver: i915 v: kernel
  Device-2: Bison ThinkPad P50 Integrated Camera driver: uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.6
    compositor: Sway v: 1.9 driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: iris gpu: i915 resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: iris,swrast
    platforms: wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.5-1ubuntu1
    renderer: Mesa Intel HD Graphics 520 (SKL GT2)
@Freemason-12 Freemason-12 added the Unconfirmed Bug The bug is not confirmed by anyone else. label May 11, 2024
@wait-what
Copy link

wait-what commented May 23, 2024

+1, just wanted to add that this isn't a recent regression. It's been broken for months now (I'm using aur/flameshot-git). It saves the screenshot just fine, but nothing gets copied to the clipboard, as in, it doesn't even overwrite the current clipboard contents.

@Freemason-12
Copy link
Author

@wait-what I wish there was an Ubuntu package for the git version though (I'm using Ubuntu 24.04)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Unconfirmed Bug The bug is not confirmed by anyone else.
Projects
None yet
Development

No branches or pull requests

2 participants