Use case or problem
Export to PDF’s save dialog always opens at $HOME on Linux, with no way to set a default export folder. Every export means navigating the file picker back to the same target folder (e.g. ~/Downloads) manually.
Proposed solution
Either (a) remember the last-used export directory across exports/sessions, or (b) add a configurable default export folder in Settings → Export/PDF.
Current workaround (optional)
None that work. Tried patching window.showSaveFilePicker (native File System Access API) — instrumented it, confirmed it’s never called during export. Tried patching Electron’s dialog.showSaveDialog/showSaveDialogSync via @electron/remote — also never called. Hooked ipcRenderer.invoke/send at the renderer level too — no IPC traffic tied to the export action at all, so whatever triggers the native dialog isn’t reachable from renderer-side JS. Checked app.vault.config.pdfExportSettings — only has includeName, pageSize, landscape, margin, downscalePercent, no path field.
Related feature requests (optional)