Bug 166022 - Regression: libo exports to PDF in the wrong directory
Summary: Regression: libo exports to PDF in the wrong directory
Status: RESOLVED DUPLICATE of bug 165917
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
25.2.2.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-03 09:42 UTC by Callegar
Modified: 2025-04-03 14:32 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 Callegar 2025-04-03 09:42:45 UTC
Description:
When you open a libreoffice file and then do "File→Export to PDF", libreoffice used to select by default a filename based on the original filename (e.g. `file.odg` becomes `file.pdf`) and to save the file in the same directory as that of the original file (i.e., the one that you see in the "location" field if you ask for the document properties.

Recently, libreoffice has stopped considering that default location and the save dialog for the PDF file is preconfigured from some random save directory (e.g. Documents), which will be 99.99999% of the time the wrong place. 

Steps to Reproduce:
1. Open a file in some directory
2. Try to export it to PDF

Actual Results:
A save dialog is eventually opened for the PDF, but the preconfigured location is not the current document location as it should and used to be.

Expected Results:
A save dialog is eventually opened for the PDF, and the preconfigured location is the current document location as it should and used to be.


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: DrawingDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 16; OS: Linux 6.12; UI render: default; VCL: kf6 (cairo+wayland)
Locale: it-IT (en_US.UTF-8); UI: en-US
25.2.2-1
Calc: threaded
Comment 1 m_a_riosv 2025-04-03 12:16:57 UTC

*** This bug has been marked as a duplicate of bug 165917 ***