nextcloud / nextcloud/server

[Bug]: Label color update is delayed and may temporarily duplicate the label

Open
#62,894 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 32-feedback bug feature: files feature: tags
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

Issue description

When a label is applied to a file for the first time, it is usually displayed in a black/grey color instead of its configured color.

If the label color is then changed, the update is not always applied correctly. In some cases, the label appears twice: one instance remains grey while the other uses the selected color.

After a few minutes, the duplicate label disappears automatically, leaving only a single label with the correct color.

Observed behavior

  • First application of a label is often monochrome.
  • Changing the label color is not always reflected immediately.
  • The label may temporarily appear twice.
  • After a short delay (a few minutes), the duplicate disappears and the remaining label has the correct color.

Expected behavior

  • The label should be displayed with the correct color immediately after being applied.
  • Changing the label color should update the existing label without creating a duplicate.
Steps to reproduce

Observed behavior

  • First application of a label is often monochrome.
  • Changing the label color is not always reflected immediately.
  • The label may temporarily appear twice.
  • After a short delay (a few minutes), the duplicate disappears and the remaining label has the correct color.

Expected behavior

  • The label should be displayed with the correct color immediately after being applied.
  • Changing the label color should update the existing label without creating a duplicate.
Image
Expected behavior

Expected behavior

  • The label should be displayed with the correct color immediately after being applied.
  • Changing the label color should update the existing label without creating a duplicate.
Image
Nextcloud Server version

32

Operating system

RHEL/CentOS

PHP engine version

None

Web server

None

Database engine version

None

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

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

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 label application and color-change flow in the Nextcloud Server interface, checking the existing label update path and the timing of the duplicate display. Done means a newly applied label shows its configured color immediately, changing that color updates the existing label without duplication, and the duplicate does not reappear after a delay.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.