element-hq / element-hq/element-android

crash on dual-screen phone

Open
#2,522 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

Element was crash, when user try open element on screen with other resolution, then previous start.

**To Reproduce**
Steps to reproduce the behavior:
1. Get Phone with 2 screen with different resolution (for example Yotaphone2 - one screen is amoled, second screen - is E-Ink)
2. Open Element on E-enk screen (with small resolution) - element work success
3. Block screen by power button
4. rotate phone and unblock main (amoled) screen
5. start element on main amoled screen (with big resolution)
6. element crash
7. start element again
8. element crash again - it can not start
9. reboot phone
10. element start full initialization (without relogin)
11. after initialization element start succes on amoled

**Expected behavior**
Element must be change it resolution without crash and restart - change resolution "on fly", when user change screen. So:
1. user open element on screen 1 with resolution X, open chat Z
1. user open screen 2 with resolution Y
1. user select app element from app-list and element must open on screen 2 with chat Z (without restart and sync) with new resolution for screen 2

**Smartphone (please complete the following information):**
- Device: Yotaphone2
- OS: Android 6.0.1

**Additional context**
- gplay element 1.0.11
- Homeserver: rsprim.ru

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.