Not possible to open .png file saved by Flameshot (Snappy Edition) app
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pinta |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After an attemt to open the .png file by a right button + "Open With Other Application, Pinta is not able to open the .png file and shows this error: Could not find a part of the path "/run/user/
Details of the error:
System.
at System.
at System.
at System.
at (wrapper remoting-
at Pinta.Core.
at Pinta.Core.
I have Ubuntu 20.04.2 LTS.
Version of Flameshot app: v0.9.0.
I don't know if it helps, but Flameshot is not able to save the capture in a folder of my choice. If I pick a folder where I want to save the .png file, it doesn't save it there, but in its "e72e1ab3" folder. And if I want to change the folder in the settings, it somehow doesn't allow me.
Changed in pinta: | |
status: | Fix Committed → Fix Released |
Assuming they're both installed as snaps, you should contact Flameshot upstream to tell them that the xdg-desktop-portals are interfering with the save functionality, having just tried it myself it is legitimately impossible to save in the expected folder right now, even though it should be capable of saving in $HOME.
As for what can be done Pinta side, the Pinta snap is also heavily sandboxed and can't access arbitrary filesystem locations, including these private directories of other snaps. In Pinta 1.8, it'll be able to access arbitrary locations when you use the file > open dialogue in Pinta itself. Until then, the only thing I can recommend is to reinstall Pinta in dev mode, which disables a lot of the sandboxing (and also automatic updates).
> sudo snap install pinta --devmode
Dev mode doesn't make a snap act entirely like a classic application, so it still might not allow access to absolutely every location on the system, and if it doesn't have the desired effect then I'd have to suggest trying another package such as the PPA installation or the Flatpak (but the Flatpak is likely to have similar problems since it's sandboxed too).