Skip to content

[Pocketbook Era] Accelerometer auto-orientation inverted after sleep #11033

Description

@luisbc92
  • KOReader version: 2023.08
  • Device: Pocketbook Era

Issue

When waking up from sleep, KOReader will occasionally and actively flip the orientation upside down from the position detected by the accelerometer.

This problem will persist until exiting to the home menu and coming back to KOReader.

Steps to reproduce

  • Load a document in KOReader.
  • Put Pocketbook in sleep mode.
  • Wake it back up.
  • Screen will be upside down, even after physically moving the device around.
  • Profit?
crash.log (if applicable)

crash.log is a file that is automatically created when KOReader crashes. It can normally be found in the KOReader directory:

  • /mnt/private/koreader for Cervantes
  • koreader/ directory for Kindle
  • .adds/koreader/ directory for Kobo
  • applications/koreader/ directory for Pocketbook

Android logs are kept in memory. Please go to [Menu] → Help → Bug Report to save these logs to a file.

Please try to include the relevant sections in your issue description.
You can upload the whole crash.log file (zipped if necessary) on GitHub by dragging and dropping it onto this textbox.

If your issue doesn't directly concern a Lua crash, we'll quite likely need you to reproduce the issue with verbose debug logging enabled before providing the logs to us.
To do so, from the file manager, go to [Tools] → More tools → Developer options, and tick both Enable debug logging and Enable verbose debug logging.
You'll need to restart KOReader after toggling these on.

If you instead opt to inline it, please do so behind a spoiler tag:

crash.log
<Paste crash.log content here>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions