Skip to main content
Participating Frequently
February 23, 2020
Question

File>Revert (F12) greyed out at random

  • February 23, 2020
  • 4 replies
  • 1827 views

I'm running a fully updated PS & Win10 x64, and have recently added hitting F12 periodically in my workflow and toggling-last-state to not "lose my bearings" from the original file on my photoedits. 

 

I'm confounded by the fact that at total random, the option is greyed out and unavailable.  I can't seem to tie it to any particular state: 8bit vs 16bit, background or regular layer selected, different tools selected, freshly opened file with a couple edits vs one I've been doing for an hour, etc. etc.  Sometimes if it's greyed out I can run some random command, undo, and then it's available at the spot it previously wasn't. 

 

Couldn't find anything on any of the forums, anyone got any ideas?  Thanks..

This topic has been closed for replies.

4 replies

D Fosse
Community Expert
Community Expert
February 24, 2020

I can only think of two scenarios where revert is unavailable. One is that you have made no changes since last save - not by autorecovery, but by actual saving - and the other is that you're saving to the cloud. Are you? Just needs to be ruled out.

 

If it's a bug, I'm not seeing it.

 

Could I suggest that instead of Revert, you keep the original as a separate layer on top? That's very quickly turned off or on.

Bojan Živković11378569
Community Expert
Community Expert
February 24, 2020

Perhaps snapshot can do the job?

Participating Frequently
March 2, 2020

Hey Bojan, I wanted to thank you for that idea!  I'd somehow never used snapshots before and I'm glad to have been acquainted with the function.  Sorry for late response, had a busy week before I could try this out.

 

Whatever the cause of this Revert problem, for anyone else who might want their F12 key to under any and all circumstances show you the unedited file you're working on, able to be undo-toggled, here's what I did:

 

Ctrl-Alt-Shift-K to find and disable F12 revert shortcut key.

 

Take a screenshot of my photoshop workspace, paste into new document, zoom into the base Snapshot item on the History panel, and note its screen coordinates. 

 

Add the following to my AutoHotkey general shortcuts script that I have load with Windows:

 

CoordMode, Mouse, Screen

#IfWinActive ahk_exe Photoshop.exe

F12::
Click, WheelUp, 1725, 480, 100
Click, 1725, 480
return
#IfWinActive

 

This instructs F12 to only do this when Photoshop is the active window.  The mouse WheelUp command is activated 100 times and then a click is done at coordinates 1725 horizontal, 480 vertical (where the base snapshot item appears in my History panel).

 

Happy expediting to any other nerds out there, and thanks for responses all.

Chuck Uebele
Community Expert
Community Expert
February 24, 2020

Just tried to see if save in background would affect the revert. It didn't on my computer.

Participating Frequently
February 24, 2020

Thanks for checking into this Chuck I appreciate it.  I'll keep poking at it, I like to be able to have keyboard methods of expediting things I do 1000 times a day.  Of course I can alt-click the eye on the base layer to have the same effect, or keep a copy of the original open in irfanview to alt-tab back and forth to although it's much less ideal since it's not positionally synced.  I think I'll set up an AutoHotkey script to make a key command alt-click the baselayer visibility for now.  Thanks again.

Chuck Uebele
Community Expert
Community Expert
February 24, 2020

I'm not sure what is going on. I do know that the auto dave now save Cloud docs, so maybe there's a link/bug that informs PS that the file has been auto saved, but it also messes with the normal save flags. I'll have to run some test to see if that is the case.

Chuck Uebele
Community Expert
Community Expert
February 23, 2020

Do you have auto save enabled? Perhaps you file has been auto saved, so there is no previous state to revert to.

Participating Frequently
February 23, 2020

Hi Chuck thanks for the response.  Interesting idea, but it raises more questions. 

 

I do have "automatically save recovery information" set to every 5 minutes, from a time before some computer upgrades I did, when I was having issues with PS crashing pretty frequently.

 

It seems possible, but I don't really want to disable the option, losing work is bad for my blood pressure even though PS hasn't been crashing hardly ever for me anymore.  Also though I'm confused now because I thought this setting just maintained a temp file on the scratch disk in case of crash, and didn't affect the original file unless a deliberate save command has been given?  The tooltip over the preference option seems to agree.