Bug 149947 - Select Address List file dialog has erratic filter list
Summary: Select Address List file dialog has erratic filter list
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Mike Kaganski
URL:
Whiteboard: target:7.5.0
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-11 09:33 UTC by Mike Kaganski
Modified: 2022-07-12 05:23 UTC (History)
1 user (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 Mike Kaganski 2022-07-11 09:33:54 UTC
Using Writer's Mail Merge Wizard, on step 3 "Select Address List"/"Insert Address Block", use the "Select Address List" button, then click [ Add ] button to open File Open dialog.

The filter list in that dialog has (on Windows, using native dialogs):

- All files (*)
- Address lists(*.*)
- LibreOffice Base (*.odb)
- LibreOffice Calc (*.ods;*.sxc)
- LibreOffice Writer (*.odt;*.sxw)
- LibreOffice dBase (*.dbf)
- LibreOffice Microsoft Excel (*.xls;*.xlsx)
- LibreOffice Microsoft Word (*.doc;*.docx)
- LibreOffice Plain text (*.txt)
- LibreOffice Text Comma Separated (*.csv)
- LibreOffice Microsoft Access (*.mdb;*.mde)
- LibreOffice Microsoft Access 2007 (*.accdb,*.accde)

The problems with this list:

1. Note absent space between text and opening parenthesis in "Address lists" entry, which is inconsistent.
2. The "Address lists" entry shows the "everything" mask *.*, but only shows some file types from the entries below it (e.g., selecting it will not show myfile.ABC);
3. The "Address lists" entry doesn't list ODB, MDB, MDE, ACCDB, and ACCDE present in the entries below it.
Comment 1 Roman Kuznetsov 2022-07-11 13:25:06 UTC
Should those items

- LibreOffice dBase (*.dbf)
- LibreOffice Microsoft Excel (*.xls;*.xlsx)
- LibreOffice Microsoft Word (*.doc;*.docx)
- LibreOffice Plain text (*.txt)
- LibreOffice Text Comma Separated (*.csv)
- LibreOffice Microsoft Access (*.mdb;*.mde)
- LibreOffice Microsoft Access 2007 (*.accdb,*.accde)

be like

- dBase (*.dbf)
- Microsoft Excel (*.xls;*.xlsx)
- Microsoft Word (*.doc;*.docx)
- Plain text (*.txt)
- Text Comma Separated (*.csv)
- Microsoft Access (*.mdb;*.mde)
- Microsoft Access 2007 (*.accdb,*.accde)

???
Comment 2 Mike Kaganski 2022-07-11 13:48:28 UTC
(In reply to Roman Kuznetsov from comment #1)

He, ignore the LibreOffice in the beginning (my mistake, I copy-pasted carelessly :))
Comment 3 Commit Notification 2022-07-12 05:23:37 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/faa88099d842b83365fa86a661dc56f0031a9b29

tdf#149947: simplify filter list creation

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.