Skip to content

View-File macro displays empty div for pptx files in full mode #703

@abrassat

Description

@abrassat

Describe the bug
When using a view-file macro to display a pptx file, a large empty div is shown, but no slides are shown.
This issue can be easily checked by viewing the Confluence.Macros.ViewFile page, as there is an example pptx included there.

Steps to reproduce
Steps to reproduce the problematic behavior:

  1. Add a view-file macro of any pptx file in full mode ({{view-file display="full" name="test.pptx"/}})
  2. View the page

Expected behavior
The presentation is displayed in the page.

Actual behavior
A large empty div is shown instead.

Screenshots

Image

Environment (please complete the following information):

  • OS: linux mint
  • Browser firefox
  • XWiki version 16.10.15, 14.10
  • App version 1.29.0 (does not reproduce on 1.28.5)

Additional context
Adding an office macro with the same file ({{office reference="test.pptx"/}}) doesn't have issues with the display.

This issue was opened while investigating #697 .
Might be related, but I don't think so: #624 .

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions