PDF dark document mode issue

Summary: When toggling the “Dark document” option in OnlyOffice, PDF pages with comments or highlighted text do not switch between dark and light modes.

Steps to Reproduce:

  1. Open a PDF file that contains comments or highlighted text in OnlyOffice.
  2. Toggle the “Dark document” option (from light mode to dark or vice versa).
  3. Scroll to a page with comments or highlighted text. It is still in the previous dark/light mode.
    (4. Zoom in or out on the page or toggle “Dark document”.)

Expected Result:

  • The entire document, including pages with comments or highlighted text, should switch between dark and light modes consistently when toggling the option.
  • Zooming in or out should not affect the selected page mode (dark/light).

Actual Result:

  • Pages with comments or highlighted text remain in the previous dark/light mode after toggling the “Dark document” option.
  • Zooming in or out on the page causes the page mode to intended mode.

Additional Information:

  • ONLYOFFICE Desktop app version: 8.1.1.27
  • Operating system: Ubuntu 20.04 / Linux Mint 21.3
  • Intstallation mode: snap / flatpak

Hey @rubenpadial :wave:
Could you kindly record a brief video demonstrating the issue (e.g., toggling the dark mode, zooming in or out, etc.)?

Additionally, please share a screenshot of your System Details similar to the attached example. You can access this information by navigating to Settings > System > About > System Details on your machine.

Hello @Nikolas

imagen