Created attachment 191934 [details] Before editing some int type keys value If the value of an int type key is edited, the edit box accepts non-numeric input and resets it to 0 value. In 7.6 only numbers were accepted. 1. Go to Tools - Options - Advanced 2. Press the Open Expert Configuration button 3. Edit any key with a type of int 4. Type some letters into the Edit box, press TAB to focus out of the field -> value changes to 0, this can be acknowledged by the OK button In 7.6, letters were not accepted int such cases. Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 84a3401c28135735c7bbe324eb3642b31c7f26f5 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: hu-HU (hu_HU.UTF-8); UI: en-US Calc: threaded Seems to have started in: https://git.libreoffice.org/core/+/ee4eb828fbf7ead62fca85239d78c48003bbc41e author Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> Thu Nov 09 12:56:30 2023 +0100 committer Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> Mon Nov 13 10:38:37 2023 +0100 Use SvxNameDialog for editing config values
Created attachment 191935 [details] Typing letters is accepted
Created attachment 191936 [details] After moving focus the letters become 0
That's a side effect of converting the widget to a proper number dialog. The number dialog accepts non-numeric input, probably because one could also enter units. Not sure how/if this is fixable. @Caolan: Any idea here?
Personally I wouldn't "fix" it, let them enter what they want while editing as long as it turns into a number in the end, even if that's 0. Otherwise its probably back to using "connect_key_press" to filter what is entered
This is pretty common behaviour in many dialogs, allow typing letters then promptly replacing them by a value. So I'd tend to agree with "won't fix", as long as the replacement value is sensible. One side note, Samuel: the dialog's Help button leads to nowhere, with HID=cui/ui/numberdialog/box1