SUMMARY Krita automatically selects layers that start with certain alphabets, when I press the alphabet keys on the keyboard. It's extremely annoying and leads to mistakes when using shortcuts. So far, it happens with layer names starting with V and A for me (and possibly other alphabets, but I haven't tested them all) STEPS TO REPRODUCE 1. Make layers, including layers that have names starting with A, V 2. Make sure that the layers docker is in focus 3. Press A, V on the keyboard OBSERVED RESULT Krita automatically selects(or activates) layers that have names starting with A or V, depending on what key you press. EXPECTED RESULT The selected layer should remain unchanged. SOFTWARE/OS VERSIONS Windows: Win10 macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
I think this is automatic Qt behaviour if a listbox is in focus, not something we've coded ourselves. There might even be people who depend on this behaviour so we should really take our time considering whether we should try to override that.
https://krita-artists.org/t/how-to-disable-layer-activation-when-pressing-key-thats-also-the-first-character-in-layers-name/114361 Found a discussion on the topic.
I guess the main inconsistency is that some of the shortcuts work on the canvas and some are caught by the docker. We should make sure that all the keys are captured by the docker when it is active. Like we do with input boxes (we have a special exception for them)
(In reply to Dmitry Kazakov from comment #3) > I guess the main inconsistency is that some of the shortcuts work on the > canvas and some are caught by the docker. We should make sure that all the > keys are captured by the docker when it is active. Like we do with input > boxes (we have a special exception for them) Are you sure it should work on the Layers docker, not canvas? I only use shortcuts on canvas, and I couldn't care less about selecting layers by keyboard. (A lot of them have the same default names anyway.) It'd be so annoying that random layers are accidentally and forcefully autoselected. (Note that accidentally painting on a wrong layer is the most common mistake in digital painting.) It would make users lose control, not give them more control, in my opinion. Maybe you can run a poll on KA forum or something.