element-hq / element-hq/element-android

Element active in recents from "share" action wipes composer on every re-focus

Open
#3,047 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

#### Describe the bug
When sharing something to Element (a link), going to a different app, and then returning, it wipes the composer of any additional text.

This is likely due to the Share Activity or Intent being "front-ed" onto the recents view, which then gets re-activated every time it's returned to.

#### To Reproduce
1. Go onto a website in the browser.
2. Share to Element
3. Type something next to the URL in the composer bar.
4. Go to other app via Recents.
5. Go back.
6. Observe Composer being wiped.

#### Expected behavior
The composer not being wiped.

#### Smartphone (please complete the following information):
- Device: Oppo a52
- OS: Android 10, ColorOS v7.1 (it uses it's own recents view impl)

#### Additional context
- App version and store: Play Store, 1.1.3
- Homeserver: `jboi.nl`

Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.