Skip to content

Photos app in NC 24.0.0 RC1 using version Photos 1.6.1 keeps loading more thumbnails #1081

@valdearg

Description

@valdearg

Describe the bug
When viewing the Photos tab, this normally loads the most recently modified images on the site. As you scroll down the page, more images are loaded up.

In the latest version of 24.0.0 RC1 I noticed that the page performance was extremely sluggish in comparisson to the previous 23 versions.

After monitoring the page, it turns out this is because it's stuck in an infinite loop of requesting more images, making the page performance eventually poor.

Checking the Network tab in Developer Tools gives me a constant series of requests to the dav/ enpoint requesting the SEARCH metadata URL.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to the Photos menu(?) along the top of the NC page.
  2. Leave the page be and watch the scrollbar on the side of the page. This continues to grow as more images are requested.
  3. Load up F12 developer tools and monitor the Network tab, the requests to the dav/ API occur about once every second.

Expected behaviour
I would expect this to request further images only when I scroll down, rather than constantly.

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

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome v100, also tried in Firefox.
  • Version: 24.0.0 RC1

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care ofbugSomething isn't workingregressionRegression of a previous working feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions