nextcloud / nextcloud/fulltextsearch

No thumbnails in search results

Open
#565 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
234
Forks
64
Avg merge
6h 18m
Merged PRs (30d)
10

Description

Steps to reproduce
  1. Create test folder with different types of files with the same name (pdf, jpg, docx, txt, md, etc.)
  2. Wait for indexing and search for specified name with "In current folder" option ticked.
  3. The difference between thumbnails should be visible.
Expected behaviour

Search results should display thumbnails like in Files app, previews for supported files and icons for other.
obraz

Actual behaviour

Files' thumbnails in search results are only displayed for jpg, png and txt files (previews), there is no icons for docx, xslx, pptx, pdf, md and others.
obraz

Server configuration

Operating system: Ubuntu 18.04 LTS

Web server: Apache

Database: MariaDB 10.1.44

PHP version: 7.3.13

Nextcloud version: 17.0.3

Full text search version: 1.3.8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the search in the issue with files sharing a name, using the “In current folder” option, and inspect how search results choose thumbnails or icons. Compare the result handling for JPG, PNG, TXT, DOCX, XLSX, PPTX, PDF, and Markdown files. Done means supported files show previews and other files show icons, consistently with the Files app.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.