DO12 - Image Viewer: Refresh after In-Place Conversion

Playing around with the new image viewer. So far I like it a lot!

I've added buttons to convert the current image with a shortcut, rotating it to the left or right, for instance:
Image ROTATE=90 HERE REPLACE PRESERVEDATE

The button and shortcut work, but after pressing it the display does not refresh, i.e. the file data has changed, but the viewer does not show it. If I exit and restart the viewer, the new file is shown.

Am I missing a trick?

You could try to add "Go REFRESH=source" to your command.

Thank you for the nice thought, abr.
Sadly, that didn't work (it opened the lister on the file, but didn't refresh the image viewer's display.)

By the way, this option is selected:


Does that mean that the image should indeed refresh (bug), or am I misunderstanding?

I'm really keen to switch back to the internal viewer with DO12. Custom shortcuts is just what I was waiting for.

The option only affects the Lister View Pane not the Standalone Viewer.

Apart from deletion, the standalone viewer doesn't respond to file changes (at least currently).

With rotation, you could combine the command to rotate the image in the viewer with the one to rotate the file on disk.

Yep, I'd had that same thought but wondered if it was a bug.
Thank you for letting me know that it's expected behavior... Adopted!

We'll add Show VIEWERCMD=refresh in 12.0.10 as a better way to modify the file and then re-display the results.

Thanks, I'll put those in the buttons now and wait. :slight_smile: