Menu

#1726 Add shortcut to trigger Revert (without confirmation dialog)

All
closed
nobody
None
5
2024-11-07
2024-11-07
bordaigorl
No

Problem:
When one iterates on a document that generates the PDF shown by Skim, it would be convenient to have Skim reload the PDF from disk whenever it changes.
At the moment one can go to File > Revert than click on Revert on the dialog that appears if the file actually changed.
This is very cumbersome.

Ideally:
There should be an option to watch changes of the PDF and reload on change.

Pragmatically:
There should at least be a way to associate a keyboard shortcut to the Revert menu so that one can quickly manually refresh.
It is important that:

  • the shortcut should be consistent with the refresh shortcuts of the os so cmd+R, or should be configurable
  • the revert triggered by the shortcut should avoid asking for confirmation (this might be controlled via an option, or by providing a new "Reload" menu which skips the check)

Discussion

  • Christiaan Hofman

    You can set the "Check for file changes" option in the Sync preferences, and also add "Reload automatically".

    As for the Revert action, the action is normally handled by the system, and this always shows a dialog. In that case we cannot change that, this is up to Apple. And when we handle the Revert, we will be consistent with the system, and won't do it differently. This is important, as any edits can be lost, and we won't do that without user input.

    As for a shortcut, you can always add a shortcut for a menu action in the System preference. But the once you mention ae not available, because it is already in use (and it is also not standard for the Revert action).

     
  • Christiaan Hofman

    • status: open --> closed
     

Log in to post a comment.