brave / browser-laptop

[DEPRECATED] Please see https://github.com/brave/brave-browser for the current version of Brave
https://www.brave.com
Other
7.94k stars 974 forks source link

PDF gets downloaded instead of opening #10954

Closed srirambv closed 6 years ago

srirambv commented 7 years ago
tbates commented 7 years ago

Confirmed on MacOS also.

The issue is that prefs:extensions:Uses HTML5 to display PDF files directly in the browser is either ON or OFF. When off, the file is treated as not having inline support, ergo, it is downloaded.

Solution: Offer third option "use system renderer…" which on Mac is the very capable preview. No doubt windows has similar.

jamesray1 commented 6 years ago

+1 for me, e.g. for: http://www.sungrowpower.com.au/files/Web_Files/Products/SH5K-_Quick%20User%20Manual%20v.1.4_201708.pdf

Brave: 0.19.121 rev: 9e8ffc423a7061e5cafd262bb46c1ada17971db0 Muon: 4.5.31 libchromiumcontent: 63.0.3239.108 V8: 6.3.292.48 Node.js: 7.9.0 Update Channel: Release OS Platform: Microsoft Windows OS Release: 10.0.16299 OS Architecture: x64

eljuno commented 6 years ago

+1 from community https://community.brave.com/t/pdfs-downloading-when-they-should-display/22376?u=eljuno

srirambv commented 6 years ago

+1 from https://community.brave.com/t/pdf-not-opening-within-browser-for-few-websites/26552

kelua6 commented 6 years ago

+1 for me; it works in other browsers. https://pdfs.semanticscholar.org/5dcf/762f8d59d7eef039505e3d824787408d25bb.pdf

Brave : 0.24.0 V8 : 6.9.427.23 rev : f657f15 Muon : 8.1.6 OS Release : 10.0.17134 Update Channel : Release OS Architecture : x64 OS Platform : Microsoft Windows Node.js : 7.9.0 Tor : 0.3.4.8 (git-da95b91355248ad8) Brave Sync : v1.4.2 libchromiumcontent : 69.0.3497.100

bsclifton commented 6 years ago

Closing in favor of https://github.com/brave/brave-browser/issues/1264