DocumentServer icon indicating copy to clipboard operation
DocumentServer copied to clipboard

The comments are not visible when viewing the .pptx file with comments.

Open HikaruKIMURA-ARI opened this issue 8 months ago • 3 comments

This issue is unique.

  • [x] I have used the search tool and did not find an issue describing my bug.

Operating System of DocumentServer

Docker

Version information

latest(8.3.2-19)

Expected Behavior

When viewing a .pptx file with comments, the comments should also be displayed.

Actual Behavior

The comments are not displayed; only the slides are shown.

Reproduction Steps

  1. Create any .pptx file on local PC
  2. Add a comment to any slide
  3. Upload the slide to the server
  4. Use OnlyOffice to reference and display the uploaded file
  5. Configure the settings as shown below

  const payload = {
    document: {
      fileType: extentionWithoutDot,
      key: documentKey,
      title: filename,
      url:
        process.env.BFF_URL_FROM_ONLYOFFICE +
        url +
        `?onetimeToken=${onetimeToken}`,
      permissions: {
        chat: false,
        comment: true,
        download: false,
        edit: true,
        fillForms: false,
        print: false,
        review: false,
      },
    },
    documentType: filetype,
    editorConfig: {
      mode: 'view',
      lang: 'ja',
      customization: {
        layout: {
          toolbar: { plugins: false },
        },
        plugins: false,
      },
    },
  };

Additional information

No response

HikaruKIMURA-ARI avatar Apr 18 '25 07:04 HikaruKIMURA-ARI

Hello @HikaruKIMURA-ARI, I checked your config and scenario with our test example on node.js, but the comments are still displayed.

Image

My config:

"document": {
...
    "permissions": {
        "chat": false,
        "comment": true,
        "download": false,
        "edit": true,
        "fillForms": false,
        "print": false,
        "review": false
...
"editorConfig": {
...
    "customization": {
        "layout": {
            "toolbar": {
                "plugins": false
            }
        },
        "plugins": false
    "lang": "ja",
    "mode": "view",
...

Please provide information about your integration and document server log.

igwyd avatar Apr 22 '25 06:04 igwyd

Image

Thank you.

I am using ONLYOFFICE with the same structure as the attached sequence diagram. The configuration I have set is exactly the same as the one you provided.

I found the following error in /var/log/onlyoffice/documentserver/nginx.error.log. Could this be related to the issue?

2025-04-23 10:18:07 2025/04/23 01:06:40 [error] 10234#10234: *21 open() "/var/www/onlyoffice/documentserver/web-apps/vendor/socketio/socket.io.min.js.map" failed (2: No such file or directory), client: 172.18.0.1, server: , request: "GET /8.3.2-6355a1a606cdbc8e86152b3ce71486ea/web-apps/vendor/socketio/socket.io.min.js.map HTTP/1.1", host: "localhost:8080"

HikaruKIMURA-ARI avatar Apr 23 '25 01:04 HikaruKIMURA-ARI

No, this is a different error, it does not affect the work https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/644. Maybe our documentstion will helps you figure out what happend https://api.onlyoffice.com/workspace/api-backend/usage-api/get-a-comment/ ?

igwyd avatar Apr 24 '25 06:04 igwyd