Skip to content

Styles sidebar detects style usage but does not expose proper style state or management actions #5696

@petrenkonikita112263

Description

@petrenkonikita112263

Describe the bug
Styles Sidebar doesn't highlight text with used style. Additionally, I cannot hide such style from the bar, or delete such style. I can only create new style or edit it.

To Reproduce
Steps to reproduce the behavior:

  1. Create new text document odt, doc or docx with random content
  2. In toolbar "Home" tab find "Styles" icons, open "Styles Sidebar"
  3. In "Filter" section select "Applied Styles"
  4. Observer used styles, select one of them and in context menu - "Show"

Expected behavior
Collabora highlights text or content that uses such style

Screenshots
If applicable, add screenshots to help explain your problem.

Client details:

  • OS: Ubuntu 26.04
  • Browser edge
  • Version 148.0.3967.83
  • Device: laptop

Server details

Operating system:

Web server:

Database:

PHP version:

Nextcloud version:

Version of the richdocuments app

Version of Collabora Online

COOLWSD version: 25.04.10.3snapshot (git hash: 7fdf3c1a85 (E))
LOKit version: Collabora Office 25.04.10.20260521 (git hash: 09a73d35ac)
Served by: unknown
Server ID: 8dd2a300
WOPI host: nextcloud%2033.0.3.2%20-%20richdocuments%2010.1.3

Configuration of the richdocuments app

Insert the output of `./occ config:list richdocuments` (or equivalent adapted for your runtime environment)
Logs

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions