Save All Changes To Current Set of Shortcuts - is this button broken?

  • 1
  • Question
  • Updated 8 months ago
When I'm in the Edit Keyboard Shortcuts dialog, and I click the "Save all Changes to current set of shortcuts" button, this is what I expect to happen:

It updates the currently selected workspace ( called "2 Monitors only" in this case), possibly with a confirmation dialog that says "are you sure you want to overwrite the existing set?". This would allow me to save the new shortcuts to the workspace so that they don't disappear the next time the workspace is loaded. 

But this is what does happen:

it opens a dialog that prompts me to save a copy of the shortcuts. And not even in a particularly useful format (eg. PSP or PSW file in C:\Users\Dave\AppData\Roaming\Adobe\Adobe Photoshop CC 2019\Adobe Photoshop CC 2019 Settings that Photoshop will use in the future), but as a KYS file in in whichever folder I last happened to use. 

This is exactly what happens if I click the the button next to it (the one with 3 dots, called "create a new set based on the current set of shortcuts").

Is this what is supposed to happen? If so, how are the two buttons different? 



Photo of David Bleja

David Bleja

  • 66 Posts
  • 9 Reply Likes

Posted 8 months ago

  • 1
Photo of Mink

Mink

  • 1 Post
  • 0 Reply Likes
The default location for saving the set of  custom shortcuts is under C:\Users\UserAccount\AppData\Roaming\Adobe\Adobe Photoshop CC 2019\Presets\Keyboard Shortcuts . And the default extension is .KYS which is correct. 

Please note the first save option will save the custom shortcuts to your active workspace (in this case 2 monitors Only). And the second option will also give you the same dialog box to save these shortcuts but you can edit the name in the File Name field and enter a new name. This will entirely create a new shortcut set. 

Basically by default it picks up the name of the default set selected and adds the word copy to create a new set when you select the save icon with three dots.


Photo of David Bleja

David Bleja

  • 66 Posts
  • 9 Reply Likes
Don't take offence, Mink, but almost everything you said is untrue...at least not on my machine. Hence my confusion, as almost everything you said is how I would expect things to work*, but they don't. 

The default location is not in AppData\Roaming. As you can see in my initial post, it defaults to whatever my last used folder was (Desktop\TEMP in my case)

Sadly, the first save option doesn't save the new shortcuts to my active workspace. As soon as I activate the workspace again from the Window>Workspace menu, the new shortcuts disappear. The only way to save them is to re-save the workspace using Window>Workspace>New Workspace (and type in "2 Monitors only" in the resulting dialog, clicking yes to overwrite)

Your third paragraph is true, but as mentioned, both buttons do this - not just the one with 3 dots.



*Except the .KYS part. I would expect it to save it into a format that Photoshop actually uses itself, like Keyboard Shortcuts.PSP (or perhaps [workspaceName].PSW). This is the file I've used for decades to successfully copy shortcuts from one Windows installation to another. I'm sure KYS files are good for something, but they don't seem to have anything to do with saving shortcuts that Photoshop will actually read. The fact that they open in Adobe Premiere Pro when I double click them doesn't elucidate the matter either :/
(Edited)
Photo of David

David, Official Rep

  • 3285 Posts
  • 525 Reply Likes
Howdy David,

Okay, let me try and sort this all out for you...

Yes, on initial launch, when you save a .KYS file, it will default to C:\Users\UserAccount\AppData\Roaming\Adobe\Adobe Photoshop CC 2019\Presets\Keyboard Shortcuts BUT Photoshop remembers everything you do, so if you, as the user, save to a different location, we assume that's what you want to do and we'll default to that new location.  One person's bug is another's feature -- I believe this change was made several years ago, actually, in response to a user request.  Whatever the case, that is how it works.  If you want to go to the correct location, you can a) manually save to that location or b) trash your prefs and the default will return.

Keyboard shortcuts may or may not be saved with your Workspaces.  It depends on your settings and if there's already a shortcut set associated with it.  I'd need more info about your setup to comment further about your situation.

The buttons work pretty much exactly as Mink described.  The first button saves to the CURRENT set of shortcuts.  Default cannot be overwritten, so in that case, the two buttons behave the same.

I hope that sufficiently clarifies things.  Please let me know if you have more questions.

Thanks,
David
Photo of David Bleja

David Bleja

  • 66 Posts
  • 9 Reply Likes
Thanks for your time, David, though unfortunately the matter isn't any clearer. Partly because some of the information you've presented appears to be incorrect (at least on my PC...more on that in a moment).

And partly because of Photoshop's arcane file structure - wailing and gnashing of teeth is pretty much guaranteed for anyone who tries to wrap their mind around anything in there. This next section is admittedly little more than a rant, but I feel it's necessary to point out why the issue is more complicated than the answers so far have appreciated. 

Looking at the current situation, how is it possible to not get confused? From what you've said, the "correct" location for a KYS file is C:\Users\UserAccount\AppData\Roaming\Adobe\Adobe Photoshop CC 2019\Presets\Keyboard Shortcuts. 

But as you rightly point out, Photoshop points to a different location if you've previously saved to a different location. But we're not talking about saving a KYS file to a different location. We're talking about saving anything to a different location (try it yourself if need be). What this means is that Photoshop will reveal the correct location for a KYS file only to users who have never saved so much as a PSD or JPG file, ever. 

So, effectively, 99.99% of users are left to guess where to save their KYS file. But that's hardly self-evident. Sure, one reasonable guess is 

C:\Users\Dave\AppData\Roaming\Adobe\Adobe Photoshop CC 2019\Presets\Keyboard Shortcuts


...but then so is 

C:\Program Files\Adobe\Adobe Photoshop CC 2019\Presets\Keyboard Shortcuts


...and since we're trying to save something to a workspace, these also seem like likely candidates:

C:\Users\Dave\AppData\Roaming\Adobe\Adobe Photoshop CC 2019\Adobe Photoshop CC 2019 Settings\WorkSpaces

C:\Users\Dave\AppData\Roaming\Adobe\Adobe Photoshop CC 2019\Adobe Photoshop CC 2019 Settings\WorkSpaces (Modified)


...not to mention the only actual keyboard shortcuts file that's lying around by default, in a fifth location:

C:\Users\Dave\AppData\Roaming\Adobe\Adobe Photoshop CC 2019\Adobe Photoshop CC 2019 Settings\Keyboard Shortcuts.psp


But wait, if keyboard shortcuts are stored in a .PSP file, then what the heck is this .KYS file anyway? Perhaps we'll get some clue as to what it does if we double-click it and see what Photoshop does with it.......oh great, it opens up in Adobe Premiere Pro by default. 

And none of this addresses the question of why am I being prompted to save a separate KYS file in the first place? I just want to update my workspace so that my new shortcuts are saved with it! For Pete's sake, why isn't there a menu item or a button that simply does that?

[end of rant]. OK, I'll get on with it. 




"Keyboard shortcuts may or may not be saved with your Workspaces. It depends on your settings and if there's already a shortcut set associated with it. I'd need more info about your setup to comment further about your situation."

Yes, my workspace in question does have shortcuts associated with it, by which I mean that all 3 of these checkmarks are set when I create it and/or update it:





As I outlined in my previous post, I can, and do, save shortcuts to this workspace successfully, by bringing up this New Workspace window, retyping the name of the workspace, hitting Save, and hitting Yes to overwrite.

It works fine (And it doesn't create any .KYS files by the way). But it's a silly and time-consuming method; hence I wanted to try the Save All Changes To Current Set of Shortcuts method instead.


"The buttons work pretty much exactly as Mink described. The first button saves to the CURRENT set of shortcuts."

Are you sure? Because that's not what happens on this end. For the sake of clarity, could you physically try this on your PC and verify that it actually works as you say? Because either there's a bug on my installation of Photoshop, or I'm doing something wrong, or there's a bug in the current version of Photoshop that you're not aware of, or else we're not actually talking about the same thing (quite possible, given the Byzantine nature of the whole thing, as I ranted about  outlined earlier)

This is what happens on my end:

I'm using a workspace called 2 Monitors only:





I load the keyboard shortcuts window and make a new shortcut for Window>3D. Incidentally, I notice that the top-right of the dialog says that I'm editing 2 Monitors only (Modified), which strikes me as weird, as it said that even before I'd modified anything. But anyway...




I hit OK. As we can see in the Window menu, the new shortcut is alive and well:





Please note that I haven't hit the Save All Changes to Current Set of Shortcuts button. All I've done is hit OK. And by doing that, my current set of shortcuts seems to have the new shortcut saved to it just fine. 

But that's my current set of shortcuts. What about the workspace itself? Perhaps if I exit the 2 Monitors Only workspace, I'll lose the new shortcut? Let's try. 

First, I switch to another workspace:




Next, I quit and restart Photoshop




And I switch back to the 2 Monitors only workspace. Will the shortcut still be there, even though I didn't explicitly save it? Yes, it's still there:




OK, so my new shortcut:
-is active in the current set of shortcuts that Photoshop is using
-is saved somehow, as it reappears even after a restart
-is tied to my workspace, as it disappears when I change to a different workspace, and reappears when I change back.

So my new shortcut has quite a lot of lasting power, even without me touching the Save All Changes to Current Set of Shortcuts button. Presumably, if I do click that button, it'll make the shortcut even more secure somehow, right? Let's try:





Clicking the button brings up this Save As dialog. I navigate to the correct folder that you specified. But notice the name of the file it defaults to. Even though there were no .kys files in either the first folder it pointed to, or this Appdata\Roaming folder I navigated to, it appends Copy to the filename (this is exactly what happens if I click the 3-dot button - they seem functionally identical). 





According to Mink, me clicking that button should "...save the custom shortcuts to your active workspace (in this case 2 monitors Only)". That's certainly what I would hope the button does too. It seems that you also agree, David, as you said "The buttons work pretty much exactly as Mink described".

But it seems unlikely that a file with "Copy" in it will affect the original 2 Monitors only workspace. But anyway, let's give it a go. I now go to the Window>Arrange menu and reset the 2 Monitors only workspace. 

If you and Mink are right, then by me saving this KYS file, in what you, David, called the "correct" folder, this should somehow update the workspace with the new shortcut, right? Which means that if I hit "reset workspace", it should reload the 2 Monitors only workspace, which will now contain the newly saved shortcuts, right?




Well, it doesn't. I've reset the workspace, and my new shortcut for 3D has disappeared:





 So, considering all of the above, I guess I have three questions:

1. What the heck is the point of this button, and the .kys file that it creates? Because from what I can ascertain:
    -It's not necessary to save to the currently used set of shortcuts (hitting OK is enough)
    -It's not necessary to keep the shortcut saved for the next Photoshop session
    -It's not necessary to keep the shortcut tied to the current workspace, even if switching between different workspaces
    -It's not even necessary to make backups of shortcuts or to migrate them to different computers (I've been successfully migrating my shortcuts since about version CC 2015 using just keyboard shortcuts.psp and the workspace .psw files
    -It doesn't even save to a format that Photoshop particularly cares about, since Photoshop uses keyboard shortcuts.psp, while double-clicking on a .kys file will open it in Premiere Pro. 
    -It doesn't actually save your keyboard shortcuts into your current workspace, since they are lost as soon as you reset the workspace. 

2. Why does it add "Copy" to the file name, exactly as its neighbouring 3-dot button does? Seems like a bug to me.

3.You say the "correct" location for .KYS files is ...Roaming\Adobe\Adobe Photoshop CC 2019\Presets\Keyboard Shortcuts. But why? Putting a file in there doesn't seem to do anything. How are these KYS files supposed to be used, anyway?

3. The only way I've found to save shortcuts to a workspace is to select Windows>New Workspace and type the name of your current workspace perfectly, then hit Yes to overwrite. This strikes me as a dumb and time-consuming method, and I was hoping that the Save All Changes to Current Set of Shortcuts would be a more sensible method, but it seems not. Is there really no other method?