Skip to content

Photos v32.0.1 introduces issue navigating next/previous images in file viewer #3264

@valdearg

Description

@valdearg

Describe the bug
When in the file viewer, clicking on next/previous buttons has no effect.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a folder in file viewer
  2. Click on picture in folder with multiple images.
  3. Click next or previous.

Expected behavior
Next/previous image should show.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows 11
  • Browser [e.g. chrome, safari] Firefox
  • Version [e.g. 22] 144.0

Browser log


On opening the image:

File info for /Photos/Instagram (Raider)/asami_gate/1393672786.666498095246234917.jpg fetched 
Object { filename: "/Photos/Instagram (Raider)/asami_gate/1393672786.666498095246234917.jpg", basename: "1393672786.666498095246234917.jpg", lastmod: "Mon, 19 Jul 2021 23:04:53 GMT", size: 106714, type: "file", etag: "f08c7fee7e5e487acb0186fc3d77682e", mime: "image/jpeg", tags: "", getcontentlength: 106714, getcontenttype: "image/jpeg", … }
Viewer.vue:669:1

Could not open file /Photos/Instagram (Raider)/asami_gate/1393672786.666498095246234917.jpg TypeError: can't access property "filename", a is undefined
    currentIndex Viewer.vue:802
    openFileInfo Viewer.vue:802
    openFile Viewer.vue:670
    file Viewer.vue:460
    VueJS 11
    open Viewer.js:313
    $5 viewerAction.ts:82
    execDefaultAction FileEntryMixin.ts:327
    click FileEntry.vue:5
    VueJS 33
Viewer.vue:681:1

Then when clicking on the next button:

TypeError: can't access property "mime", e is undefined
    openFileFromList Viewer.vue:820
    next Viewer.vue:1087
    VueJS 4
    next NcModal.mjs:432
    VueJS 4
vue.runtime.esm.js:3065:17

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

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions