Skip to content

Portrait / landscape display-rotation setting (x86 + Raspberry Pi) #2856

Description

@vpetersson

Anthias does not currently expose a display-rotation setting. The Qt webview renders at the OS-level orientation, so users on portrait monitors (particularly on x86) end up with content sideways, and mixed-orientation playlists rotate portrait images to landscape rather than keeping each asset in its original orientation.

This issue consolidates and supersedes:

Scope

  • A persisted rotation setting (0 / 90 / 180 / 270 degrees) exposed on the Settings page.
  • Applied at the display-output level on both supported targets:
    • Raspberry Pi 3/4 (Qt5 webview)
    • Pi 5 / x86 (Qt6 webview)
  • Honoured by both image and video assets.
  • Mixed-orientation playlists keep each asset in its original orientation rather than auto-rotating to fit the dominant orientation.

Out of scope (track separately)

Implementation notes

  • No screen_rotate / rotation flag is read anywhere in webview/ or settings today; this needs a new persisted setting plus plumbing through the Qt webview launch.
  • On x86 / Bookworm under labwc, rotation is typically a wlr-randr / compositor concern, so we may need to apply rotation at the compositor level rather than inside Qt itself. The Qt5 path on Raspberry Pi (DRM/KMS) likely needs a different approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions