Skip to content

Bug: Screen rotation before recording crashes the app #9

Open
@McLaynV

Description

Version: 0.5.0 rc 2

System:
Android 10
Nokia 7.2
Back camera, 1920×1080, 120 FPS

Steps to reproduce:

  • Turn on the screen auto-rotation function in Android
  • Open the app and navigate to the recording screen
  • Rotate the phone to the portrait mode and wait for the app to rotate
  • Rotate the phone to the landscape mode and wait only half the time before the app rotates
  • Press the record button just before the app rotates
  • Think you are recording
  • Press the stop button
  • App crashes and returns to the camera selection screen

Probability of happening when following the steps:
I can make it in 50% cases. Timing seems to be the key. When I start recording too soon, it works without crashing. When I start recording too late, the app manages to rotate before starting recording.

The same results with
Samsung Galaxy S7
Back camera, 1280×720, 240 FPS
The only difference is that the Samsung rotates the screen faster - there is a shorter time window between device rotation and app rotation.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions