Bug 160102 - Items in the field type drop-down in design view of tables should be sorted alphabetically
Summary: Items in the field type drop-down in design view of tables should be sorted a...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Windows (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Database-Tables
  Show dependency treegraph
 
Reported: 2024-03-08 19:44 UTC by xlsupreme
Modified: 2024-12-23 14:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xlsupreme 2024-03-08 19:44:43 UTC
Description:
As it is presented in the UI now, there doesn't seem to be a logical order. With an alphabetical order, it will at least be easier to select from the list.

Steps to Reproduce:
1. Open a base database (.odb) file
2. Select 'Create Table in Design View' from tasks
3. Enter a field name
4. Open the field type drop-down list

Actual Results:
a 21 item drop-down list is presented in the order: Tiny Integer [TINYINT], BigInt [BIGINT], Image [LONGVARBINARY], Binary [VARBINARY], Binary (fix) [BINARY], Memo [LONGVARCHAR], Text (fix) [CHAR], Number [NUMERIC], Decimal [DECIMAL], Integer [INTEGER], Small Integer [SMALLINT], Float [FLOAT], Real [REAL], Double [DOUBLE], Text [VARCHAR], Text [VARCHAR IGNORECASE], Yes/No [BOOLEAN], Date [DATE], Time [TIME], Date/lime [TIMESTAMP], OTHER [OTHER]


Expected Results:
a drop-down list with the items sorted in some order. e.g. alphabetically (BigInt [BIGINT], Binary (fix) [BINARY], Binary [VARBINARY], Date [DATE], Date/lime [TIMESTAMP], Decimal [DECIMAL], Double [DOUBLE], Float [FLOAT], Image [LONGVARBINARY], Integer [INTEGER], Memo [LONGVARCHAR], Number [NUMERIC], OTHER [OTHER], Real [REAL], Small Integer [SMALLINT], Text (fix) [CHAR], Text [VARCHAR IGNORECASE], Text [VARCHAR], Time [TIME], Tiny Integer [TINYINT], Yes/No [BOOLEAN]), or in order of size.


Reproducible: Always


User Profile Reset: No

Additional Info:
as the list is quite long, it's hard to find the desired type. personally i think the alphabetical sort is the easiest to navigate
Comment 1 Robert Großkopf 2024-03-09 07:28:39 UTC
There seems to be no logical order in the list of field types. Might be we should order the fields by "numeric", "date and time", "text" and others. Also alphabetical order will be better than the order in list box of the editor now.

This behavior is as old as OpenOffice Base exists.

I will set this one to NEW.