popey / shutter-snap

7 stars 3 forks source link

Re: [sShutter saves to incorrect location when installed via snap #11

Open M1ke opened 3 years ago

M1ke commented 3 years ago

Originally reported at https://github.com/shutter-project/shutter/issues/297 but I was asked to report here instead.

Brief summary of issue

Choosing to save screenshots to /tmp/ causes them to instead be saved to /tmp/snap.shutter/tmp/

Steps to reproduce the issue

  1. Install via Snap (0.94.3 rev1306)
  2. Open preferences
  3. Choose /tmp/ as directory to save in

Error output

The file path at the top of the window states /tmp/Selection_001.png

However the file is in /tmp/snap.shutter/tmp/.

Right clicking the image in Shutter and clicking "copy filename" copies the /tmp/Selection_001.png path

Trying to use show in folder failes with an "xdg-open:3" error, presumably as the file does not exist at the path Shutter thinks it is at.

Furthermore the directory and files are owned by root and not accessible in the file manager. Using "save as" the browser shows Shutter files in /tmp but using nautlius, ls or other file listing tools does not show them there. It is like Shutter believes it's saving to that directory but there's some translation layer mapping paths into snap.shutter/