screenshot icon indicating copy to clipboard operation
screenshot copied to clipboard

Failed to take screenshot via portal: Screenshot failed

Open deafboy opened this issue 1 year ago • 9 comments

What Happened?

The initial window opens, although it has sharp corners instead of standard rounded corners. The screenshot type selection works, and correctly attempts to capture desktop / window / area as requested. After clicking the "Take Screenshot" button the screen flashes briefly, and the app exits. Nothing is saved in the screenshot folder, nor the clipboard.

Flatseal shows X11 windowing system permission enabled and "Session Bus" talks to "org.gnome.Shell.Screenshot"

[deafboy@latitude7420 ~]$ flatpak run io.elementary.screenshot 

** (process:12366): WARNING **: 19:20:56.513: Error writing credentials to socket: Error sending message: Broken pipe
MESA: error: Failed to query drm device.
libEGL warning: egl: failed to create dri2 screen
libEGL warning: DRI2: could not open /dev/dri/card1 (No such file or directory)
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen

** (io.elementary.screenshot:2): WARNING **: 19:21:05.318: Application.vala:117: Failed to take screenshot via portal: Screenshot failed
[deafboy@latitude7420 ~]$ 
[deafboy@latitude7420 ~]$ flatpak permission-show io.elementary.screenshot
Table      Object     App                      Permissions Data
background background io.elementary.screenshot yes         0x00
[deafboy@latitude7420 ~]$

Steps to Reproduce

  1. Open the flatpak version 8.0.1 of Screenshot app
  2. Click "Take Sreenshot"
  3. App exits

Expected Behavior

  1. Open the flatpak version 8.0.1 of Screenshot app
  2. Click "Take Sreenshot"
  3. App captures the screenshot and offers what to do with it

OS Version

7.x (Horus)

Session Type

Classic Session (X11, This is the default)

Software Version

Latest release (I have run all updates)

Log Output

** (process:12366): WARNING **: 19:20:56.513: Error writing credentials to socket: Error sending message: Broken pipe
MESA: error: Failed to query drm device.
libEGL warning: egl: failed to create dri2 screen
libEGL warning: DRI2: could not open /dev/dri/card1 (No such file or directory)
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen

** (io.elementary.screenshot:2): WARNING **: 19:21:05.318: Application.vala:117: Failed to take screenshot via portal: Screenshot failed

Hardware Info

No response

deafboy avatar Dec 04 '24 18:12 deafboy