Skip to content

[Bug]: Thumbnails are being requested for folders #9811

@filerun

Description

@filerun

⚠️ Before submitting, please verify the following: ⚠️

Bug description

HTTP GET requests are being made needlessly to "index.php/core/preview" for retrieving thumbnails for folders.

Steps to reproduce

Browse a synched folder via Windows Explorer. Look for HTTP requests made.

Expected behavior

ThumbnailProvider::GetThumbnail should:

SFGAOF attributes = 0; if (SUCCEEDED(_shellItem->GetAttributes(SFGAO_FOLDER, &attributes)) && (attributes & SFGAO_FOLDER)) { return E_FAIL; }

Which files are affected by this bug

None

Operating system

Windows

Which version of the operating system you are running.

Windows 11

Package

Official Linux AppImage

Nextcloud Server version

Latest

Nextcloud Desktop Client version

Latest

Is this bug present after an update or on a fresh install?

Updated from a minor version (ex. 3.16.1 to 3.16.2)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

Additional info

No response

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions