[
https://issues.apache.org/jira/browse/OPENMEETINGS-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17086725#comment-17086725
]
Sebastian Wagner commented on OPENMEETINGS-2273:
------------------------------------------------
The PR fixes some of it. But obviously I didn't think of the issue that you can
rename file and the original extension is lost.
So how would you figure out what the original extension is so you can pass it
into getFile(...) ?
> Room File Tree Details panel - Add header - Toggle download button enable
> rather then display and fix download of original for PDF and documents
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: OPENMEETINGS-2273
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2273
> Project: Openmeetings
> Issue Type: Improvement
> Components: Room
> Affects Versions: 5.0.0-M3
> Reporter: Sebastian Wagner
> Assignee: Sebastian Wagner
> Priority: Major
> Fix For: 5.0.0-M5
>
> Attachments: Offers_PNG_instead_of_PDF.mp4
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In the conference room panel, the details panel on the bottom looks a bit
> strange.
> * The size of public and personal drive, is just number. I think some
> heading would make sense.
> * It has a height of 80px, without filling it
> * The toggle visible true|false of the download button makes the UI
> confusing I think. Enable|Disable the button would make more sense I think
> * You can't download PDFs as original. Cause it will default to a PNG, cause
> the getFile(null) method defaults to the first slide of the presentation,
> rather then giving you the original
> * Can't download any original for other document types, same as above for
> PDFs, will default to first slide of presentation rather then the original
> file
>
> This will NOT fix the dropdown next to the download original button:
> * Drop down is still confusing, cause it shows file types and tries to
> enable the relevant ones. But when selecting one that is enabled mostly
> nothing happens
> * It displays JPG but then gives you PNG
--
This message was sent by Atlassian Jira
(v8.3.4#803005)