Skip to content

feat: Allow multiple simultaneous "compose" tasks#2001

Merged
nikclayton merged 1 commit intopachli:mainfrom
nikclayton:multi-compose-task
Dec 4, 2025
Merged

feat: Allow multiple simultaneous "compose" tasks#2001
nikclayton merged 1 commit intopachli:mainfrom
nikclayton:multi-compose-task

Conversation

@nikclayton
Copy link
Copy Markdown
Contributor

Send each ComposeActivity intent with FLAG_ACTIVITY_NEW_DOCUMENT and FLAG_ACTIVITY_MULTIPLE_TASK.

Each ComposeActivity started with a unique intent will be placed in a different task, allowing the user to swipe between them on the "Recents" screen.

This also means that opening a notification (which navigates back to the notifications tab) doesn't close any instances of ComposeActivity.

Fixes #1555

Send each `ComposeActivity` intent with `FLAG_ACTIVITY_NEW_DOCUMENT`
and `FLAG_ACTIVITY_MULTIPLE_TASK`.

Each `ComposeActivity` started with a unique intent will be placed in
a different task, allowing the user to swipe between them on the
"Recents" screen.

This also means that opening a notification (which navigates back to
the notifications tab) doesn't close any instances of `ComposeActivity`.

Fixes pachli#1555
@nikclayton nikclayton merged commit 0019342 into pachli:main Dec 4, 2025
27 checks passed
@nikclayton nikclayton deleted the multi-compose-task branch December 4, 2025 14:51
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.

Opening a Pachli notification while writing closes the compose window without saving a draft or prompting to save.

1 participant