It most likely copies the file you want to work with to /home/user/QubesIncoming in the dispvm it launches, and then uses your tool to work with the file. Your tool is not “aware” its in Qubes and just saves to /home/user/QubesIncoming. When you are done editing it, open a shell in that dispvm and use qvm-copy to copy the file back to the original VM.
Oi! I am very sorry then! I did not know that xD Thank you for correcting me, I’ll update this from my post so the next person doesn’t stumble over it.
As to your original question, “What am I doing wrong”, I dont know.
Despite the number of comments you havent provided sufficient
information.
I can tell you that the process works exactly as expected with Debian
templates.
What template is used for the sender?
What template is used for the edit-dvm qube?
Is edit-dvm set as the default_dvm for the sender?
How have you configured xdg-mime in the edit-dvm?
What is the result of qvm-open-in-vm edit-dvm PDF_FILE ?
What is the result of qvm-open-in-dvm PDF_FILE ?
If you configure mc to process PDF with Open=(qvm-open-in-vm test %f) what is the result?
I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.