Is there a way to automatically edit new layers name?

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
Daxel
Posts: 1088
Joined: Wed Mar 27, 2019 8:34 pm

Is there a way to automatically edit new layers name?

Post by Daxel »

Every time I create a new layer, Moho automatically names it for me with something like "Layer 27". I have to click it, wait and click it again to be able to rename it.

Is there a way to make Moho enter that renaming state right after creating a new layer?

Do you know any shortcuts to this? I tried F2 but didn't work.

Trying things I noticed that right after creating a new layer, Moho actually do enter the renaming state, but I have like half of a second to write something like "asd" before the renaming state is turned off automatically and I can't write anymore. Why does this happen? It looks like some functionality I am not understanding.

By the way, I think we already talked about this but I don't remember. Do you guys also have this bug that makes Moho activate the shift-letter shortcuts when you are writing on a layer's name? Sometimes I forget about it and randomly activate a bunch of nuclear weapons in my basement.
User avatar
SimplSam
Posts: 1218
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: Is there a way to automatically edit new layers name?

Post by SimplSam »

This was discussed before, but can't find the post...

If you create a new Layer whilst the first Layer is selected - it goes straight to name edit mode.

-or-

If you use a keyboard shortcut to Create New Vector Layer (for example) - it used to go straight to name edit, but on my 13.5.4 it is not doing that unless I use the shortcut twice (i.e. create 2 new layers)!
Moho 14.3 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
User avatar
Greenlaw
Posts: 10466
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Is there a way to automatically edit new layers name?

Post by Greenlaw »

Which version of Moho are you using? I seem to recall there was an issue with the name field not staying highlighted for editing but that was quite a long time ago. In Moho 12.5 and 13.5.4 layer name editing stays active after I create a new layer until I click elsewhere or press Enter.

If you enable Inline Layer Naming in Preferences, you should be able to edit a layer name by simply clicking on the text. It's actually a two click process: Click once to select the layer, wait a moment, then click again to edit the text.

If you click twice too quickly (a double-click), that will open the Layer Properties and you can edit the layer name there too. (Inline editing is easier of course.)

If this isn't working correctly for you and you have a tablet, try working with Windows Ink enabled or disabled. That's not really a solution, just checking to see where the problem might be.

If you're using a mouse, I wonder if you need to update the mouse driver? Try a different mouse if you have one and see if this makes any difference. FWIW, a while back I had to change my mouse when I had a similar problem with a different program.

Hope this helps.
Last edited by Greenlaw on Fri May 20, 2022 2:22 am, edited 1 time in total.
User avatar
SuperSGL
Posts: 381
Joined: Wed Mar 11, 2015 2:55 am
Location: New Hampshire
Contact:

Re: Is there a way to automatically edit new layers name?

Post by SuperSGL »

It's not as consistent as I would like, if it's a new layer at the top of the stack it stays highlighted (selected text so you can edit the name) but if your creating a new layer in the middle ie. above a layer in the middle of the stack you have to click on it to edit the text.
I have 13.5 pro
"Animation is not the art of drawings that move but the art of movements that are drawn."
Norman McLaren


My Animations
User avatar
Greenlaw
Posts: 10466
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Is there a way to automatically edit new layers name?

Post by Greenlaw »

SuperSGL wrote: Fri May 20, 2022 12:43 am ...but if your creating a new layer in the middle ie. above a layer in the middle of the stack you have to click on it to edit the text.
I have 13.5 pro
Oh geez, you guys are right. I checked this in Moho 12.5 too and it's the same there. I guess I never paid attention to this before because I must just automatically click on the name without thinking about it. :oops:

Anyway, I agree, the edit mode should behave the way it does when the new layer is at the top of the stack. I'll put in a bug report for this after work.
Daxel
Posts: 1088
Joined: Wed Mar 27, 2019 8:34 pm

Re: Is there a way to automatically edit new layers name?

Post by Daxel »

Thank you all for your answers. As you said, it looks like a bug that automatically closes the edit name mode when the new layer is not created a the top. Thanks for reporting it GreenLaw.

And what do you know about the shift-letter shortcuts being activated while editing a layer's name? Does that happen to you too?
User avatar
SuperSGL
Posts: 381
Joined: Wed Mar 11, 2015 2:55 am
Location: New Hampshire
Contact:

Re: Is there a way to automatically edit new layers name?

Post by SuperSGL »

I looked through the short cuts and only found one Shift-Z (Activate previous tool) I tested the naming a layer and couldn't recreate your problem. Unless you added your own all the other shortcuts with Shift in it are either with a symbol or Ctrl key and a few Alt Shift. But I've never seen this happen on my system.
"Animation is not the art of drawings that move but the art of movements that are drawn."
Norman McLaren


My Animations
User avatar
SimplSam
Posts: 1218
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: Is there a way to automatically edit new layers name?

Post by SimplSam »

Daxel wrote: Fri May 20, 2022 9:46 am ...
And what do you know about the shift-letter shortcuts being activated while editing a layer's name? Does that happen to you too?
This is defo an issue which has also been discussed before, and does relate to user added shortcuts and the use of capital letters in Layer names. The easiest workaround was to use Cap Locks for the affected capital letters, or to use Layer properties or Layer quick settings for the naming / capitalisation.
Moho 14.3 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
Daxel
Posts: 1088
Joined: Wed Mar 27, 2019 8:34 pm

Re: Is there a way to automatically edit new layers name?

Post by Daxel »

Thank you for your answers. Yeah I do use a lot of custom shortcuts with shift, since I use a "only left hand" approach to custom shortcuts. Now that I read your comments I realise I have talked about this before. Sorry about that. I hope this can be fixed soon as it looks like an easy thing to fix.
User avatar
Greenlaw
Posts: 10466
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Is there a way to automatically edit new layers name?

Post by Greenlaw »

Hmm...that's an issue I haven't seen but I tend to use camelCase for everything in the Layers window (i.e., armR, armUp, armLo), so I wonder if this only happens with initial capitalization (Arm R, etc.)?

Are there any particular shortcuts that get triggered when text editing? I'd like to see if that happens here.
Daxel
Posts: 1088
Joined: Wed Mar 27, 2019 8:34 pm

Re: Is there a way to automatically edit new layers name?

Post by Daxel »

Greenlaw wrote: Fri May 20, 2022 4:05 pm Hmm...that's an issue I haven't seen but I tend to use camelCase for everything in the Layers window (i.e., armR, armUp, armLo), so I wonder if this only happens with initial capitalization (Arm R, etc.)?

Are there any particular shortcuts that get triggered when text editing? I'd like to see if that happens here.
It doesn't only happen with initial capitalization. For example if I write "arm L" it activates a custom shortcut that I have for shift-L, that is "delete animation from document". Imagine my horror each time that happens, even if I can simply undo it. This shift-L in particular is not a left hand shortcut to make it harder to activate by accident, but sadly I can still activate it by accident while renaming a layer. I am used to use block mayus now, but is annoying and sometimes I forget it and use shift.

It happens with shift-Q to set the point curvature to curved, shift-X to set cuvature to peak, shift-S to show/hide paths, shift-F to create shape... yeah, every shift-letter custom shortcut basically.

It looks like something that can be fixed with a line of code that has already been written, since this problem doesn't happen on any other text edit boxes like the naming of styles, shapes, actions, the filter for actions, or even layers inside the layer settings panel.

I just tested all the text edit boxes I saw and this problem only happens on the layer name and the filter for the layers on the layers panel. So it looks like the layer's panel needs a copy-paste of that line of code that says "hey Moho don't activate shortcuts here, thank you".
User avatar
Greenlaw
Posts: 10466
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Is there a way to automatically edit new layers name?

Post by Greenlaw »

Ah, I think I see why I never ran into the Shift-Letter issue.

I checked my Moho shortcuts and where I use the Shift key as a modifier key, it's always in combination with Ctrl or Alt. In other words, I never used Shift-Letter by itself for a shortcut because I need that for regular typing. I probably avoid using Shift-Letter for keyboard commands by habit because it can confuse some programs with text input (like Moho I guess.) :)

I'm not sure it should work differently in Moho, but I can ask about it. Maybe they can make Moho ignore all command shortcuts while the text edit mode is active. (Except for the ones related to text editing of course, like Shift-Letter to type a capital letter and copy/cut/paste.) For now, I would just avoid using Shift-only + Letter for custom keyboard commands and always combine Shift with with Alt or Ctrl.
User avatar
Greenlaw
Posts: 10466
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Is there a way to automatically edit new layers name?

Post by Greenlaw »

Ok, both issues have been reported, and I referred the devs to this thread. :)
Last edited by Greenlaw on Fri May 20, 2022 9:50 pm, edited 2 times in total.
Daxel
Posts: 1088
Joined: Wed Mar 27, 2019 8:34 pm

Re: Is there a way to automatically edit new layers name?

Post by Daxel »

Greenlaw wrote: Fri May 20, 2022 8:02 pm Ok, both issues have been reported. :)
Thank you!

The shift modifier is super useful for an only left hand workflow, as the shift is very easy to use and on the left hand rest pose. I didn't have problems with any other software so far, I think it's common practice to desactivate these shortcuts on the text fields. Even in Moho it doesn't happen on the rest of the text fields, only on the layer names and layer filter.
User avatar
Greenlaw
Posts: 10466
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Is there a way to automatically edit new layers name?

Post by Greenlaw »

I did a quick test using a Note layer and a Text layer and you're right, these fields ignored the Shift+P shortcut I assigned to open Preferences. This does seem like a bug. I'll update my report for this.
Post Reply