#1051179 flameshot: Flameshot Wayland Bookworm doesn't work, vendor stock version works out of the box

Package:
flameshot
Source:
flameshot
Description:
Powerful yet simple-to-use screenshot software
Submitter:
Jonathan Kamens
Date:
2023-09-05 14:12:09 UTC
Severity:
normal
#1051179#5
Date:
2023-09-04 01:54:08 UTC
From:
To:
Dear Maintainer,

The version of flameshot included in Bookworm is incapable of taking
screenshots in Wayland. When you tell it to take a screenshot it just
hangs.

I cloned https://github.org/flameshot-org/flameshot, ran "apt
build-dep flameshot", and then followed the instructions in README.md
to build and install in /usr/local, and it works just fine. This is
probably just a matter of upgrading the Debian repository to match the
current Flameshot codebase.

#1051179#10
Date:
2023-09-05 13:46:47 UTC
From:
To:
This is more complicated than I thought.

It turns out that the flameshot that gets launched on startup in Waldn
if I have it configured to do that doesn't work, but if I close and
relaunch flameshot from the terminal it is able to capture screenshots.

So the problem seems to be that flameshot processes that aren't launched
interactively don't work properly under Wayland.

I've posted about this at
https://github.com/flameshot-org/flameshot/issues/3326 .