Honestly, when you see that a file has been generated with a file name automatically by geany you don't think it will get deleted on reboot.
Why not change the default path to anything other than /tmp?
I've just lost some notes and it will happen to other users for sure