nextcloud / officeonline

officeonline
43 stars 15 forks source link

Office Online Integration window within a chat overlaps with following messages #569

Open schmittst opened 2 months ago

schmittst commented 2 months ago

How to use GitHub


Steps to reproduce

  1. Using Talk, chat with a person.
  2. Get a message in Talk with an embedded Office Document (e.g. pptx, docx, xlsx) from that person
  3. Get follow-up messages from that person (or any other person in the same chat)
  4. Close talk
  5. Re-open talk and the same chat

Expected behaviour

If one reopens the chat, all messages should be readable and the office document displayed.

Actual behaviour

If one reopens the chat, Once the Office Online Integration opens and shows the embedded office document, the following chat text becomes invisible as it will be overlaid by the Office Online Integration window. This happened after one of the recent updates of Nextcloud/Talk (not sure when it started) - before, the Office documents were just displayed as link instead. See screenshot: image

Talk app

Talk app version: 19.0.1

Custom Signaling server configured: yes

Custom TURN server configured: yes

Custom STUN server configured: yes (the one from nextcloud.com)

Browser

Microphone available: yes

Camera available: yes

Operating system: Windows 11 (but also on Mac

Browser name: Firefox and Chrome

Browser version: 126 and 125

Browser log

Server configuration

Operating system: Oracle Linux

Web server: Apache

Database: PostgreSQL

PHP version: 8.2

Nextcloud Version: 29.0.2

Antreesy commented 1 month ago

Thanks for the report!

A height is reserved by most of interactive widgets, which were added with Nextcloud 29. I hope @juliushaertl could clarify, whether it's on vue-library side or Office integration?

juliushaertl commented 1 month ago

This is something for the officeonline app, I think that one wasn't adjusted yet for interactive widgets.

schmittst commented 1 month ago

I assume, this won't be on priority for fixing. Therefore, can someone give me a hint on how to implement a workaround? Is there any switch to turn off the "interactive widgets" in Nextcloud (or Talk)? Or how to prevent OfficeOnline loading as interactive widget? Many thanks in advance for any input.

Antreesy commented 1 month ago

how to implement a workaround?

From the developer perspective, <NcRichText /> component has a property reference-interactive. If it is set to false, widgets will be rendered as before (small banner with a link)