Details
-
Bug
-
Resolution: Fixed
-
Low
-
6.7.1, 6.15.7, 7.4.0, 7.5.0, 7.11.2
-
8
-
Severity 3 - Minor
-
2
-
Description
Summary
PowerPoint presentations saved as PowerPoint 97-2003 Presentation (*.ppt) format and uploaded to Confluence page will have Microsoft Powerpoint 97 Slideshow HTML title next to file name
Environment
- Confluence Server 6.7.1
- Microsoft Office
Steps to Reproduce
- Create a blank PowerPoint presentation and save it as PowerPoint 97-2003 Presentation (*.ppt)
- Create a blank page on Confluence and add attachments macro
- Upload your test ppt file to confluence page
Expected Results
Filename will be listed just like any other uploaded file
Actual Results
Besides file name, file also has Microsoft Powerpoint 97 Slideshow HTML title attribute of the icon is shown as seen below
Our customer discovered that there seems to be a spelling mistake in the HTML coding for this exact class. For "Microsoft Powerpoint 97 Slideshows" the class for the icon is named "iaui-icon". For other icons, the classes are named "aui-icon". So all the specified css attributes like "text-indent: -999em;" are not taking effect for the Microsoft Powerpoint 97 Slideshow class "iaui-icon".
This issue occurs in attachments-macros and viewpageattachments pages. In the "All updates" view the class title is hidden as it should be
Workaround
Add this style into global stylesheet
.iaui-icon.content-type-attachment-powerpoint97 { --aui-icon-size: 16px; --aui-icon-font: "Adgs Icons"; background-repeat: no-repeat; background-position: 0 0; border: none; display: inline-flex; font-size: 0; height: var(--aui-icon-size); line-height: 0; margin: 0; padding: 0; position: relative; text-align: left; vertical-align: text-bottom; width: var(--aui-icon-size); }