Ah, odd. Sounds more like some kind of race condition then. Perhaps if imv loads the image faster the curl provides it, imv handles waiting on stdin poorly?
Thanks for the update though. I'll close this for now since it's not reproducible.
I don't think there's a straightforward way to run the command after the image has loaded, since image loading is somewhat asynchronous in imv. An option to keep the image centered as the window is resized would be a welcome addition to imv though.
That's really strange indeed. Can you capture the output of using
stracewhen doing this in your home directory and in a subdirectory? I can't think of what would differ between those two cases.
Thanks for the report, I hadn't noticed this. That's definitely broken.
Thanks for the report primalmotion, and also for the advice emersion. It was very helpful in fixing this quickly.
I've pushed a fix to master (c7306a63). I've also applied the fix to the latest stable release and have pushed v4.3.1 as a hotfix.