dshoreman / nextshot

A simple tool for taking screenshots on Linux and sharing via Nextcloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Files without extensions don't get recognised by Nextcloud

boppy opened this issue · comments

If the entered filename is not ending in dot+format (so .png by default), the ext should be appended, because unrecognized images will not get displayed in the webview, nor do they get a preview (/preview in this case just renders []).

PR incoming...

Please try #82 and check that it still resolves the issues, I've updated it so that it will always default to the original name.

Before, it would only do it if rename was disabled or Yad was unavailable. That then led to mv Screenshots/somefile.png Screenshots/ and the error you saw.

Sorry again for nuking the original PR! I accidentally pushed develop instead of boppy/develop 🤦

PR merged, thanks!

If I don't find anything else to add then I'll probably release it as 1.4.4 soon