Open xard-dev opened 2 years ago
OK this isn't a problem on mac but i happen to be in linux now so let me look
oh and confirmed that on linux it does happen. and it is annoying.
hmm i have no idea how to fix this it's super annoying but i don't think i would block on it. I thought it might be our custom focus handlers but it isn't.
Oh @xard-dev I'm also interested if that , as . works properly with the parsing?
For my regional settings decimal separator comma , works as expected but period . is ignored and the values after period are discarded.
And If I temporarily change to LC_ALL=C the period . is used instead of comma , as expected.
great thanks!
I came here to report this bug. What might help: While the 'edit value' box is being displayed, I can right-click again and again select the edit icon in the context menu. If I can get the value to focus, then repeated attempts will always be in focus. However, if the 'edit value' box is not focused, then it might, or might not focus next time. I suspect a race condition between display and focus.
Yeah it’s all single threaded but I wonder if I need a show message to get a cycle before the focus message. Excellent observation
Bug Description: Keyboard is not focused to value input when editing modulation values from context menu and the field needs to be clicked before a value can be written.
Surge Version:
Reproduction Steps:
Expected Behavior: A value can be inserted directly.
Screenshots:![image](https://user-images.githubusercontent.com/65303522/149224995-fc6945de-2e86-4b07-b0be-4d92b1d2cb3b.png)
Computer Information (please complete the following information):
Additional Information: When opening context menu for a control and choosing Edit value the keyboard focus is in the popup field and the value can be inserted directly.