Summary: | Expert config dialog accepts letters in numeric keys edit fields | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Gabor Kelemen (allotropia) <kelemeng> |
Component: | UI | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | minor | CC: | caolan.mcnamara, samuel.mehrbrodt, stephane.guillou |
Priority: | low | Keywords: | bibisected, regression |
Version: | 24.2.0.0 alpha0+ | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | Samuel Mehrbrodt | |
Bug Depends on: | |||
Bug Blocks: | 120063 | ||
Attachments: |
Before editing some int type keys value
Typing letters is accepted After moving focus the letters become 0 |
Description
Gabor Kelemen (allotropia)
2024-01-15 01:32:10 UTC
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 |