• Bugs
  • Delete Keyboard shortcut bug

Related Discussions
...

Hi,
I think there is a bug in the keyboard remapping system or something, cause when I keep pressing A and D back and forth, sometimes it deletes a keyframe (without prompt) and sometimes is wants to delete an animation (but prompt it).

In the keyboard shortcuts file, there is no other shortcut using D so i can only suspect it uses the first letter of all command using "DELETE", like this:
Delete: DELETE

Are you aware of this? Can it be fixed, it's a bit annoying 🙂

Thanks!

Hey nicmar!
That's very weird. I use these shortcuts a lot and I never had this issue. I tried to repro it but with no luck. Can you tell me the Spine version you are using?

I have the latest non beta. Are you on mac too? I saw that i forgot to mention that. I’m on Catalina.

I noticed you can enable keystrokes to display so i could try record a video to show it happening.

Thanks!

That could be very helpful, thanks!

4달 후

Hi, i tried to enable it using:

~$ /Applications/Spine.app/Contents/MacOS/Spine keys

But it didn't work, what is the correct command on Mac to start it with keyboard shortcut display on screen?

All I got was this..?

~$ /Applications/Spine.app/Contents/MacOS/Spine keys
Spine Launcher 4.0.08
Esoteric Software LLC (C) 2013-2020 | http://esotericsoftware.com
Mac OS X x86_64 10.15.6

Usage:
  Editor: Spine [-hvlft] [-x <host:port>] [-u <version>] [<path>]
  Export: Spine [-i <path>] [-m] [-o <path>] -e <path>
  Import: Spine -i <path> [-s <scale>] -o <path> -r [<name>]
Clean up: Spine -i <path> -m
    Pack: Spine -i <path> [-j <path>]... -o <path> -p <name>
          Spine -i <path> [-j <path>]... -o <path> [-n <name>] -p <path>
    Info: Spine -i <path>

Editor:
-h, 

---

help      Print basic CLI help and exit.


---

advanced      Print advanced CLI help and exit.
-v, 

---

version   Print version information and exit.
-l, 

---

logout    Logout, removing activation code.
-u, 

---

update    The version number of the Spine update to load.
-f, 

---

force     Force download of the Spine update.
-x, 

---

proxy     Proxy server to use when checking for and downloading updates.
-t, 

---

notimeout Disable timeout when checking for and downloading updates.
project.spine   Path to a Spine project file to open.

Export JSON, binary, images, or video:
-i, 

---

input   Path to a folder, project, or data file. Overrides export JSON.
-m, 

---

clean   Animation clean up is performed before export.
-o, 

---

output  Path to write export file(s). Overrides export JSON.
-e, 

---

export  Path to export settings JSON file.

Import JSON, binary, or a project's skeletons into another project:
-i, 

---

input   Path to a folder, project, or data file to be imported.
-o, 

---

output  Path to project file to import into. Created if nonexistent.
-s, 

---

scale   Scale the project being imported.
-r, 

---

import  Perform a skeleton import. The skeleton name may be omitted.

Animation clean up:
-i, 

---

input   Path to project file or folder.
-m, 

---

clean   Animation clean up is performed and the project is saved.

Texture atlas packing:
-i, 

---

input   Path to folder of images to be packed.
-o, 

---

output  Path to write texture atlas and PNG files.
-j, 

---

project Path to a project to determine which images are used by meshes.
-n, 

---

name    Texture atlas name, the prefix for the atlas and PNG files.
-p, 

---

pack    Texture atlas name or path to pack settings JSON file.

Texture atlas unpacking:
-i, 

---

input   Path to folder of atlas images.
-o, 

---

output  Path to write unpacked image files.
-c, 

---

unpack  Path to texture atlas file.

Project information:
-i, 

---

input   Path to project or data file.


I still have the issue (Version is 3.8.99 Pro) on Mac 10.15.6.
This maybe only happens on mac.

I deleted the line in hotkeys.txt that said:

Delete: DELETE

That fixed it, but now I can't delete things with the delete key, I still have the Backspace key to delete things.

So my guess is as before, there is a bug reading the hotkeys.txt somehow, that assigns both the D key and the DELETE key when typing the shortcut above.

Here's what the bug looks like. After I deleted it, it's like this:
1) D: Starts playing
2) D: Stops playing
3) D: Nothing happens
4) D: Back to 1, but then as i keep pressing D, it keeps stop/starting without the "nothing happens" between.

Before it was at step 3 it was wanting to delete the bones.

It would be awesome it this could be fixed. 🙂

20일 후

Very sorry we missed your last posts!

You can enable key popups using cmd+shift+K or using `


keysat the command line (using justkeys` won't work).

I tried it on macOS, but I couldn't see the behavior you got. D always does play/stop for me with Delete: DELETE in the hotkeys.txt. If I delete that line, D continues to behave exactly the same.

I'm not sure what to say. Have you tried deleting the hotkeys.txt file, then run Spine and see if you have the problem? Spine will recreate the file if it is gone. You could also try running the latest beta and see if it also gives you the problem.