New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External editor, not writing to temporary file #512
Comments
@dantleech Hm, do you use systemd - might be the tmp file is not created direct in /tmp but in private systemd tmp directory. Can you please provide some information about you system helping to near down the issue? |
Hmm it seems to work with
but:
or
Causes the reported problem. (I'm using neovim on another laptop, and couldn't get any of the GTK clients working, so wanted to use the console version, and that's why I encountered this issue). |
@dantleech |
Yeah, very odd. I tried with the suckless terminal (
Using quotes around Will update if I find a solution |
@dantleech I assume that the issue is related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=434863. The xfce termina forks itselft at startup. |
Sounds exactly like my issue - I'll close this ticket then, as guess theres nothing we should do about here/ Thanks for investigating :) |
Version: 3.2.0
Steps to reproduce
Invoke the external editor on a text area
Expected behaviour
Writes contents of text area to temporary file, opens external editor.
Actual behaviour
Temporary file does not exist, external editor opened with a new file.
I debugged this and in
gboolean util_create_tmp_file
the correct number ofbytes
are being returned fromwrite
- no error is raised but the file does not exist at the path and the newly opened editor reports that it is editing a "new file".The text was updated successfully, but these errors were encountered: