Description of problem: In Fedora 35 Workstation (so Gnome 41), ksnip is unable to capture any screenshots. When I select something from the New combobox, the ksnip window quickly jumps around the screen a little and end up in a position very close to its original position. No screenshot is captured. If I try to capture a rectangular area, ksnip lets me to choose the area, but no screenshot is captured. Starting ksnip from the command line, I am able to get some logs. Apart from some warnings about missing translations, the only log entries are one row like this for each attempted screenshot: Critical: Invalid reply from DBus: Screenshot is not allowed Version-Release number of selected component (if applicable): 1.9.1-1.fc35.x86_64 How reproducible: Always Steps to Reproduce: 1. Start ksnip (from the command line, to see logs: $ ksnip) 2. Take a screenshot Actual results: No screenshot is saved, the following error is logged: Critical: Invalid reply from DBus: Screenshot is not allowed Expected results: Screenshot is saved, no errors. Additional info: I also reported this upstream: https://github.com/ksnip/ksnip/issues/727
To recap upstream discussion, the new security features in Gnome 41 prevent application access to screen contents, leading to this problem. The only way to take screenshots is to go through xgd-desktop-portal. This can be enabled in ksnip settings ("Force Generic Wayland screenshot"), though the experience will not be very good, since the portal prompts user for allowing access, and replaces ksnip controls for window/area capture and so on with portal's own system. The best that can be done before xdg-desktop-portal gets improved support for external screenshot apps is to automatically enable the "Generic Wayland screenshot" for Gnome >= 41. Upstream master branch already has this.
FEDORA-2021-b5ad309d1f has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-b5ad309d1f
FEDORA-2021-b5ad309d1f has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-b5ad309d1f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-b5ad309d1f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-b5ad309d1f has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.