Skip to content

feat: add documentation for 2.11 features#3786

Merged
lucasfernog merged 5 commits intov2from
feat/2.11-docs
May 4, 2026
Merged

feat: add documentation for 2.11 features#3786
lucasfernog merged 5 commits intov2from
feat/2.11-docs

Conversation

@lucasfernog
Copy link
Copy Markdown
Member

mobile multi-window: tauri-apps/tauri#14484

file association: tauri-apps/tauri#14486

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 14, 2026

Deploy Preview for tauri-v2 ready!

Name Link
🔨 Latest commit 73d0e57
🔍 Latest deploy log https://app.netlify.com/projects/tauri-v2/deploys/69e125772d5fa50008fecbe7
😎 Deploy Preview https://deploy-preview-3786--tauri-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 98 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@FabianLars
Copy link
Copy Markdown
Member

only commenting this so i don't forget it over night. do we also want a few sentences on multi-window support on phones (so without side-by-side)? Not sure if that's even a realistic use-case but it's probably a question that will come up.

@lucasfernog
Copy link
Copy Markdown
Member Author

only commenting this so i don't forget it over night. do we also want a few sentences on multi-window support on phones (so without side-by-side)? Not sure if that's even a realistic use-case but it's probably a question that will come up.

good catch, pushed


On **iOS**, multi-window uses the [UIScene](https://developer.apple.com/documentation/uikit/uiscene) API, which allows iPad users to open multiple instances of your app in separate windows.

On **phones**, the system usually does not lay out two windows side by side. On **Android**, creating another window still launches a separate activity, but on handset-sized displays it is typically **pushed onto the activity back stack**—so **Back** returns to the previous activity instead of closing a split. On **iOS** (especially iPhone), opening or creating another window often **replaces the current UI** with the new scene’s content rather than keeping both visible at once; true concurrent windows remain an **iPad** (and Stage Manager) experience.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm struggling to reconcile this comment with the app.supportsMultipleWindows flag. Since this flag is the source of truth as to whether multi-window is supported, should we simply return false for phones?

Applications will likely use this flag to detect whether to enable the feature for their users. If it returns true on phones but isn't really supported this somewhat defeats its purpose.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

app.supportsMultipleWindows returns false on iPhones (though for Android phones it returns true if API >= 32; in that case, the system will just push the new activity to the stack, that's just the fallback behavior defined by Android)
the docs just state what happens if you try to create another window even though supportsMultipleWindows return false

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lucasfernog — that helps. I think there's still a gap worth addressing in the doc itself, though.

The concern is that app.supportsMultipleWindows returns true on Android phones (API ≥ 32) even though the platform's behaviour is push-to-back-stack rather than split. Apps that gate "Open in new window" UI on this flag — which is how the doc presents it as a runtime check — will end up offering a feature that doesn't work the way users expect on phones.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfortunately there's no check AFAIK to properly determine whether the platform supports it or not - maybe we should just check if it is a tablet or not?

Comment thread src/content/docs/learn/mobile-file-associations.mdx
Comment thread src/content/docs/learn/mobile-multiwindow.mdx Outdated
Comment thread src/content/docs/learn/mobile-multiwindow.mdx Outdated
Comment thread src/content/docs/learn/mobile-multiwindow.mdx
Comment thread src/content/docs/learn/mobile-multiwindow.mdx
@github-project-automation github-project-automation Bot moved this from 🪵 Backlog to 🏗️ In progress in Documentation Apr 15, 2026
@lucasfernog lucasfernog marked this pull request as ready for review May 4, 2026 12:01
@lucasfernog lucasfernog requested a review from a team as a code owner May 4, 2026 12:01
@lucasfernog lucasfernog merged commit 38198c4 into v2 May 4, 2026
12 checks passed
@lucasfernog lucasfernog deleted the feat/2.11-docs branch May 4, 2026 12:12
@github-project-automation github-project-automation Bot moved this from 🏗️ In progress to ✅ Done in Documentation May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants