nextcloud / nextcloud/richdocuments
Automatic text color fails to persist on document reload
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 453
- Forks
- 147
- Avg merge
- 14h 54m
- Merged PRs (30d)
- 83
Description
Describe the bug
When using dark mode with a dark background, the font color initially appears black. Switching the font color to Automatic correctly changes it to white. However, after closing and reopening the document, the automatic color setting is not preserved. The font reverts to black, making the text invisible against the dark background.
To Reproduce
Steps to reproduce the behavior:
- Open a document in dark mode with a dark background.
- Set the font color to Automatic.
- Close the document.
- Reopen the same document.
- Observe that the text color has reverted to black instead of remaining white.
Expected behavior
The Automatic font color setting should be saved and restored when reopening the document. Text should remain visible and correctly adapt to the dark background.
Client details:
- OS: W11
- Browser : Brave
Server details
Nextcloud version: 31.0.10
Version of the richdocuments app 8.7.6
Version of Collabora Online 25.04.6.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not identify a source file, test, or entry point. Start by reproducing the Automatic font color behavior in dark mode with the reported Nextcloud, richdocuments, and Collabora Online versions, then trace how the color setting is saved and restored on document reload. Done means the setting persists and the text remains visible after reopening.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100