Flameshot can't take screenshots, 22.04, wayland

Bug #1952555 reported by Jonathan Kamens
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
flameshot (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

With all current packages from Jammy, Flameshot does nothing when I click on the top bar icon and select "Take screenshot". If, after doing that, I click on the icon again and select "Quit", *then* as Flameshot is exiting it pops up a notification that says "Unable to capture screen".

There's some discussion that seems relevant at https://github.com/flameshot-org/flameshot/issues/1910, but that discussion claims screenshots work in Flameshot 10.2, and that appears to be the version currently in Jammy, so I'm not sure why it's not working.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: flameshot 0.10.2+ds1-1
ProcVersionSignature: Ubuntu 5.13.0-21.21-generic 5.13.18
Uname: Linux 5.13.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu73
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sun Nov 28 11:02:58 2021
InstallationDate: Installed on 2019-08-16 (834 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
SourcePackage: flameshot
UpgradeStatus: Upgraded to jammy on 2021-11-09 (19 days ago)
modified.conffile..etc.apport.crashdb.conf: [modified]
mtime.conffile..etc.apport.crashdb.conf: 2021-10-16T09:30:38.992726

Revision history for this message
Jonathan Kamens (jik) wrote :
Revision history for this message
Jonathan Kamens (jik) wrote :

Screenshots work in Xorg session.

Revision history for this message
Boyuan Yang (hosiet) wrote :

You have to have xdg-desktop-portal-gnome installed on your system. This requirement is listed as recommendation and should be pullin in automatically, but I don't know why your system did not have it installed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in flameshot (Ubuntu):
status: New → Confirmed
Revision history for this message
lotuspsychje (lotuspsychje) wrote :

Also tested this bug on ubuntu 22.04 development branch

by default apt policy says xdg-desktop-portal-gnome is not installed neither here

i can reproduce what Jonathan described

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package flameshot - 0.10.2+ds1-2

---------------
flameshot (0.10.2+ds1-2) unstable; urgency=medium

  * debian/control: Recommend xdg-desktop-portal-* installation.
    (LP: #1952555)
  * debian/patches/0003-Bump-version-to-10.2.patch: Force version string
    to be 0.10.2.

 -- Boyuan Yang <email address hidden> Sun, 28 Nov 2021 13:29:56 -0500

Changed in flameshot (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.