Skip to content

If "Open sidebar" button is clicked while the image is still loading, the sidebar does not appear #658

@knuxify

Description

@knuxify

Describe the bug
When an image is loading, clicking the "Open sidebar" button will cause the button to disappear and the sidebar to not appear. Sometimes the space for the sidebar is not reserved at all, and sometimes the sidebar leaves leftover space.

To Reproduce
Steps to reproduce the behavior:

  1. Click on a photo
  2. While it's loading, click the "Open sidebar" button at the top of the photo viewer

Expected behavior
The sidebar appears, either before the photo loads (with placeholder data) or after the photo loads.

Screenshots
image
image

Browser logs:

Opening viewer for file  (filename censored) viewer-main.js:374:3626
A files list have been provided. No folder content will be fetched. viewer-main.js:374:5798

(Also, earlier on, while loading the gallery I also get these, but this might be unrelated:)

The following mime is already registered image/svg+xml 
Object { id: Getter & Setter, group: Getter & Setter, mimes: Getter & Setter, component: Getter & Setter, … }
viewer-main.js:374:7723
The following mime is already registered text/plain 
Object { id: Getter & Setter, mimes: Getter & Setter, component: Getter & Setter, group: Getter & Setter, … }
viewer-main.js:374:7723
The following mime is already registered text/csv 
Object { id: Getter & Setter, mimes: Getter & Setter, component: Getter & Setter, group: Getter & Setter, … }
viewer-main.js:374:7723

System info:

  • OS: Arch Linux
  • Browser: Firefox 81.0.1
  • Nextcloud version: 19.0.4

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions