Skip to content

Open iOS file pickers in the folder the last picked file came from - #1384

Open
johanntan wants to merge 1 commit into
trypsynth:masterfrom
johanntan:ios-picker-remembers-folder
Open

johanntan wants to merge 1 commit into
trypsynth:masterfrom
johanntan:ios-picker-remembers-folder

Conversation

@johanntan

Copy link
Copy Markdown
Contributor

On iOS, Open Book often opened the file picker somewhere other than the folder the last book came from. iOS reopens the last folder browsed in a picker, so cancelling a picker or locating a missing book elsewhere moved it.

Now it works like the open dialogs on Windows and macOS: every picker opens in the folder of the last file picked in any of them. That folder is updated when a file is picked in Open Book (the first of a multiple selection), Locate, or Import Document Data. Cancelling a picker or opening a book from Recents leaves it as it was. It's kept across launches.

iOS honours the starting folder for On My iPhone. iCloud Drive and third-party providers may still ignore it.

Tested on an iPhone: after a book is opened from a subfolder, Open Book returns to that folder even after browsing elsewhere and cancelling.

🤖 Generated with Claude Code

Like the open dialogs on Windows and macOS, every picker now starts in the
folder of the last file picked in any of them. iOS on its own reopens the
last folder browsed, so cancelling or locating a book elsewhere moved it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@johanntan
johanntan requested a review from trypsynth as a code owner December 5, 2026 07:48

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant