1. Insert - Field - More Fields (Ctrl+F2) - Document tab
2. Select type "Chapter"
Actual: "Level" appears with a spinbox
Proposed: spinbox should be a combobox, with values 1-10.
Reasons: - Faster/easier to select desired value.
- Indicates quickly the entire space of possible choices.
Probably an EasyHack
I agree that it would be an improvement, but copying UX team in to double-check.
If done, other parts of the UI should follow, for example Insert > Table of Contents or Index > Table of Contents, Index or Bibliography > Type.
Was already a spinbox in OOo 3.3.
(Note that in LO 7.6, "Chapter" was renamed to "Heading".)
The spinedit is a very efficient control to change numerical values within a defined range. You can edit the value directly, what is not possible on dropdown controls. And the range of 1..10 is not a surprise for experienced users (nor you see all items with an expanded dropdown showing 8 items by default).
Don't see much benefit in changing it. But also no big issue. Other opinions?
(In reply to sdc.blanco from comment #0)
> 1. Insert - Field - More Fields (Ctrl+F2) - Document tab
> 2. Select type "Chapter"
There is no such type in the Document Tab of the Fields dialog. Do you mean "Heading" ?
Version: 126.96.36.199.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5cd9de202765e243e41416802f3e4486b8a96f16
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US
Anyway, the spin box lets you type a value; if that is maintained, then ok. If it's not, then I'm not sure it's a sound enough tradeoff, but I don't mind that much either way.
We discussed the topic in the design meeting. Since the level is a fix list with always the exact same (low) number of entries the proposed dropdown indeed fits better.
Code pointer: sw/uiconfig/swriter/ui/flddocumentpage.ui and sw/source/ui/fldui/flddok.cxx
(see also sw/uiconfig/swriter/ui/fldvarpage.ui resp. Variables > Number Range in the dialog where the same information is realized per dropdown)