Bug 166168 - PDF generation per icon does no longer use the folder of the original document.
Summary: PDF generation per icon does no longer use the folder of the original document.
Status: RESOLVED DUPLICATE of bug 165917
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
25.2.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-13 16:40 UTC by Martin Raabe
Modified: 2025-04-13 18:00 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 Martin Raabe 2025-04-13 16:40:10 UTC
Description:
I use the PDF generation per icon a lot.
I am used to store the PDF in the same folder as the original document is stored.
Since LibreOffice 25.2.2 the folder is only taken as such for the first time use of the PDF icon after starting the LibreOffice. All subsequent PDF icon clicks retrieve the folder name of the last PDF icon click.

E.g. Using PDF icon click for a document stored in the folder "ABC", then the PDF is also stored in folder "ABC".
When I then open another document from folder "123", the PDF is not as expected stored in folder "123", but in folder "ABC".

This is new and annoying.

Please revert the change.

I use this feature in Writer.

Steps to Reproduce:
1. Open a file in Writer from folder "ABC".
2. Click the PDF icon to open the file selector. It shall open the folder "ABC" and it does it.
3. Open a file in Writer from folder "123".
4. Click the PDF icon to open the file selector. It shall open the folder "123", but it opens in the former folder in use: "ABC".


Actual Results:
The folder opened last is shown.

Expected Results:
The folder of the LibreOffice document, which shall be saved as a PDF file, shall be opened.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 7370d4be9e3cf6031a51beef54ff3bda878e3fac
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22000); UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
Comment 1 V Stuart Foote 2025-04-13 18:00:00 UTC
Adjustment already in place for a 25.8 release. May be backported for a 25.2 incremental.

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