fix: open pdf's externally #2364

Merged
neb-b merged 1 commit from pdf into master 2019-03-20 05:53:17 +01:00
neb-b commented 2019-03-20 05:40:51 +01:00 (Migrated from github.com)

There isn't a good way to open pdf's in the app currently. I've added some new styles and js to open these with the OSes default viewer. I think this is something we should do for other file types (probably docx too).

We could have a list of file types that you can open in other programs, most likely limited to files that are usually opened in a standard application.

PDF's are probably one of the files that we should be able to to view in the app, because it's so simple in the desktop, but a pain due to https://github.com/electron/electron/issues/12337

Will definitely break on web. I might move other files to this new viewer when I fix it there, but just getting this in for the app release.

There isn't a good way to open pdf's in the app currently. I've added some new styles and js to open these with the OSes default viewer. I think this is something we should do for other file types (probably docx too). We could have a list of file types that you can open in other programs, most likely limited to files that are usually opened in a standard application. PDF's are probably one of the files that we _should_ be able to to view in the app, because it's so simple in the desktop, but a pain due to https://github.com/electron/electron/issues/12337 Will definitely break on web. I might move other files to this new viewer when I fix it there, but just getting this in for the app release.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#2364
No description provided.