Skip to content

Full screen mode: big images in landscape orientation are always shown at original size #3343

Description

@resoli

Describe the bug
When using the full screen widget, landscape images larger than screen size are always displayed zoomed at original size. Only a portion of the image is visible, with (not working) scrollbars at side.
Portrait images are correctly shown (if screen is landscape, width > height).

To Reproduce
Steps to reproduce the behavior:

  1. Open a landscape image.
  2. Click on 'full screen' widget (square icon in the three dots menu)
  3. The fulll screen mode is activated, but the image is not correctly resized to fit the screen.

Expected behavior
The image should fit screen size, being fully visible in its correct aspect ratio.

Screenshots
Image out of fullscreen

Image

Same image in fullscreen mode:

Image

Desktop (please complete the following information):

  • OS: every tried: Android, Linux Mint, Ubuntu, Windows
  • Browser: every tried: Fennec on mobile, Firefox, Brave, Librewolf

** Nextcloud version: **
v34.0.3 but this issue appeared several major versions ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't working

    Type

    No type

    Projects

    Status
    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions