My wife and I just tried to do a screenshot since the last major upgrade and Flameshot fails to allow us to select the screen or any rectangle portion of a screen. It seems to be broke since the last major upgrade.
Solution as described in github “use deprecated version” : sudo downgrade flameshot
I chose flameshot-13.3.0-2 version
You may need to install downgrade package !
Well, even if that works, it’s worth the time to mention where the problem comes from, because that solution doesn’t seem to be a temporal one. From the page you linked:
The issue arises from the way Flameshot will work starting from v14, as it is utilises portals for screenshotting To quote:
Additionally, on Linux the primary way to take a screenshot is using the xdg-desktop-portal calls. This is the only way to screenshot on Wayland, and many X11 DE’s also support this. I reccomend looking at this Arch Wiki page to see if your DE supports it. If not there is a “deprecated” option that can be enabled that will fall back to the legacy method for capturing. (See below)
So, if the user’s desktop environment doesn’t support these “portals”, the program is not going to work. The legacy method that is mentioned can be seen in the release notes for this version:
For users on minimal window managers (i3, xmonad, etc.) without xdg-desktop-portal, there is now a Settings → General → “Use legacy X11 screenshot method” option that bypasses the portal. This is marked as deprecated but ensures Flameshot works in more environments.
To summarize, this “error” is not present in all installations (I don’t have problems in KDE Plasma). It is not even an error itself, so it is not going to be fixed in the future. As Flameshot v14 uses a new way to take screentshots that depends on xdg-desktop-portal to support it. If the user’s graphical environment doesn’t support it, the best action is to enable the legacy X11 screenshot method.
The alternative is to be stuck in v13, without any new features, until some point in the future it doesn’t work anymore (but for now is going to work). This last option also requires to block updates for flameshot. If not, every time the system updates, this program is also to be updated.