nextcloud / nextcloud/server

Better handling of previews that are out of sync with the file

Open
#61,748 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature: previews and thumbnails
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

  1. Upload an office file
  2. Request a preview
  3. Disable previews for office files: occ config:app:set richdocuments preview_generation --type boolean --lazy --value false
  4. Modify the file

If the preview is served, it is out of date.

Best would be to disable serving previews for providers that are disabled, or to have a way to cleanup previews for those providers.

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 sequence using the richdocuments preview_generation setting and the occ configuration command. Trace how a preview is requested and served after the provider is disabled and the file is modified. Done means disabled providers no longer serve stale previews, or their existing previews can be cleaned up, with coverage for the reported sequence.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.