slipshow icon indicating copy to clipboard operation
slipshow copied to clipboard

hot reload truncates presentation requiring full refresh

Open chris-armstrong opened this issue 4 months ago • 3 comments

Thanks for slipshow, it was really useful for my ICFP presentation.

One repetitive problem I had while working is that the hot reload feature would present a number of issues on my system:

  • truncate my presentation about halfway. This was really annoying as I was tweaking speaker notes and was beyond the point it would truncate, meaning I'd have to hard refresh, sometimes losing my slide position
  • when speaker notes are open, hot reload would break the speaker notes, such that I'd have to close and reopen them
  • if I had been advancing my slides in the speaker notes view, the main view URL is not kept up-to-date with the slide number, so my position could be lost on a hard reload

I've attached a copy of the presentation I was using for your reference

slipshow.md

chris-armstrong avatar Oct 21 '25 22:10 chris-armstrong

Thanks for using it! I was watching the ICFP recording, and pleased to see you using it for your interesting presentation!

And thanks for the report. It seems the truncation problem comes from vim, see #184: are you are using vim, too?

About point 3., I think #154 fixes it. It's not released unfortunately, many bugfixes are piling because I wanted to include a bigger feature I'm working on before the release...

About the speaker notes, what exactly is broken with hot reload? What's supposed to happen, is that when changing the input file the window is closed and reopened at the right step. (Which is actually pretty annoying, since the window often reopen elsewhere, and so could be considered broken...) ideally the same window would be used, which is possible but not so easy to do...

panglesd avatar Oct 22 '25 13:10 panglesd

I think this might be unrelated to #184. In that issue I also mention the same problem as this (that I don't know how to reproduce) but that was before I understood the cause of my first problem in #184 (that I can reproduce) being vim.

Lysxia avatar Oct 22 '25 15:10 Lysxia

I am using vim - I’ll give it a try with another editor.

Its possible the second issue i was experiencing is a combination with either 1 (where the presentation is cut off and no position is kept) or 3 (where advancing the slides using the speaker view does not update the url in the presentation view) or sometimes i just get a broken speaker view with an error.

chris-armstrong avatar Oct 23 '25 21:10 chris-armstrong