Godot: typing ">" or "<" cycles active scripts in editor

Created on 13 Jun 2017  路  12Comments  路  Source: godotengine/godot

Arch Linux, Godot 3.0 master, German keyboard layout(qwertz)

If there are multiple scripts (or help windows) opened, whenever I type ">" or "<" the script editor changes to the next or previous script after typing the actual character, which is really annoying. This is probably due to conflicting keybindings, but I haven't changed any of the default bindings myself.

Cycling through scripts with a shortcut seems to be intended. However, "<" and ">" are not a good choice, because they are often used while coding.

steps to reproduce:

  1. open a script
  2. open another script
  3. try to type ">" or "<" in any of them
bug editor usability

All 12 comments

Am I really the only one with this issue? Maybe it's really a problem on my end somewhere. Here's a gif in case my description wasn't clear:
godot_script_editor

it happened to me too, maybe some recent commit did it?
Anyway, I disabled those shortcuts in the editor settings and now its fine :)

Certainly not the best choice as a default shortcut. I have disabled them for now, too. Didn't think of this earlier because confusingly, the shortcut settings don't show the current bindings (only "None" or nothing, which might also be a bug?) so I assumed it wasn't bound there but somehow hardcoded.

This issue is a product of #5419, on which no one thought they would create problems (since all that commented seem to have been QWERTY users).
Can you suggest better shortcuts?

If it's related to user's keyboard layout, is @nunodonato also not a qwerty user?

Can Godot somehow detect the user's layout? Keeping the shortcut on QWERTY (EN, PL are both unaffected, I'm not sure about ES and AR) but disabling it on DE (and any others :P)...

yes, qwerty here

Well, the shortcuts are "ctrl + <" and "ctrl + >" which is fine IMO.
The problem is that it ignores the modifiers here when the event isn't pressed (and the script editor explicitly ignores pressed events here).
The workaround would be simple, but I'd prefer to fix the action matching logic instead.

@bojidar-bg this pr was merged almost a year ago, but the shortcut only started causing problems a couple of days back. i've been using godot3 for some time now and never had any issues before and wasn't even aware of this shortcut.

QWERTY/ES, Debian 9 user here, same issue.

@Hinsbart there's definitely some issue with the modifier keys. ctrl+shift+f11 now enables distraction free mode + fullscreen (which should only be enabled by shift+f11) at the same time

This might be fixed now, please test!

Fixed for me!

Was this page helpful?
0 / 5 - 0 ratings