Skip to content

Automatic text color fails to persist on document reload #5172

@louim-lbs

Description

@louim-lbs

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:

  1. Open a document in dark mode with a dark background.
  2. Set the font color to Automatic.
  3. Close the document.
  4. Reopen the same document.
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions