Bug 129564 - Insert Picture default directory should be a more relevant location (e.g. home Pictures directory)
Summary: Insert Picture default directory should be a more relevant location (e.g. hom...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 132734 135474 140946 145045 (view as bug list)
Depends on:
Blocks: File-Dialog Images
  Show dependency treegraph
 
Reported: 2019-12-23 09:44 UTC by Paul Connacher
Modified: 2023-10-09 15:26 UTC (History)
8 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 Paul Connacher 2019-12-23 09:44:49 UTC
The Edit -> Insert Image dialog defaults to C:\Users\Paul Connacher\AppData\Roaming\LibreOffice\4\user\gallery.

This behavior is very unfriendly.

This dialog should point to the default where the user saves pictures on his/her machine e.g. the Pictures folder on Windows and Linux.

The dialog remembers that I changed to the Pictures folder each and every time I reuse it even if I close and restart writer.

Please fix and allow this dialog to default to the default save location for the users pictures.
Comment 1 Paul Connacher 2019-12-23 09:48:14 UTC
I meant Insert --> Insert Image NOT Edit --> Insert Image.
Comment 2 Xisco Faulí 2019-12-26 11:33:58 UTC
This is only reproducible with a clean profile

Reproduced back to

Version: 4.2.0.0.alpha1+
Build ID: fc8f44e82de4ebdd50ac5fbb9207cd1a59a927e3
Comment 4 QA Administrators 2021-12-26 04:21:17 UTC Comment hidden (obsolete)
Comment 5 Stéphane Guillou (stragu) 2023-01-04 13:35:40 UTC
*** Bug 132734 has been marked as a duplicate of this bug. ***
Comment 6 Stéphane Guillou (stragu) 2023-01-04 13:35:57 UTC
*** Bug 135474 has been marked as a duplicate of this bug. ***
Comment 7 Buovjaga 2023-10-09 15:18:20 UTC
*** Bug 145045 has been marked as a duplicate of this bug. ***
Comment 8 Buovjaga 2023-10-09 15:25:15 UTC
On Linux: XDG_PICTURES_DIR. Relevant source file: shell/source/backends/desktopbe/desktopbackend.cxx
On Windows (from duplicate bug 145045): CSIDL_MYPICTURES (it can be retrieved with SHGetFolderPath)
On macOS it should be hardcoded as ~/Pictures

There is even an MIT-licensed library just for finding special folders: https://github.com/sago007/PlatformFolders
Comment 9 Buovjaga 2023-10-09 15:26:13 UTC
*** Bug 140946 has been marked as a duplicate of this bug. ***