I think it _is_ a good idea to use a hardcoded path here. After all we are evading saving to /tmp, when another app (Firefox) put a file there. As tempdirs in configured in LibreOffice and Firefox might differ, you end up SOL in that case anyway. So keeping the current heuristic and just being caring about the "tmp" case should be the best we can do anyway.
resolving
I think it _is_ a good idea to use a hardcoded path here. After all we are evading saving to /tmp, when another app (Firefox) put a file there. As tempdirs in configured in LibreOffice and Firefox might differ, you end up SOL in that case anyway. So keeping the current heuristic and just being caring about the "tmp" case should be the best we can do anyway.
resolving