ds-hwang / chromium-wm

Automatically exported from code.google.com/p/chromium-wm
0 stars 0 forks source link

Downloading a PDF, then opening it (expecting it to open in chrome) does not work. #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download a PDF.
2. Click on it from the download bar.
3. Instead of opening it, it just downloads it again

What is the expected output? What do you see instead?

I expect chrome to open my pdf. Alternatively, I expect chrome to use xdg to 
spawn a pdf reader. Either one works.

Instead chrome just downloads the PDF again, giving me multiple copies in the 
download bar.

What version of the product are you using? On what operating system?

Google Chrome   30.0.1565.0 (Official Build 211571) unknown
Platform    
Blink   537.36 (@154119)
JavaScript  V8 3.20.4.1
Flash   11.8.800.97
User Agent  Mozilla/5.0 (X11; CrOS x86_64 0.4.0) AppleWebKit/537.36 (KHTML, like 
Gecko) Chrome/30.0.1565.0 Safari/537.36
Command Line     /opt/google/chrome-trunk/google-chrome-trunk-session 
--user-data-dir=/usr/local/google/home/antarus/.config/google-chrome-trunk 
--disable-mouse-valuators --ui-enable-per-tile-painting 
--allow-webui-compositing --enable-webkit-text-subpixel-positioning 
--enable-accelerated-overflow-scroll --ui-prioritize-in-gpu-process 
--ui-max-frames-pending=1 --login-profile=user --login-manager %U
Executable Path /opt/google/chrome-trunk/google-chrome-trunk-session
Profile Path    /usr/local/google/home/antarus/.config/google-chrome-trunk/user
Variations  853359fa-7c38ee50
e996b1ae-f23d1dea
51280b35-8ecc2dfa
f9b252d0-fd526c81
befdb835-766fa2d
3664a344-be9e69ba
c7d93845-766fa2d
262f996f-eeefeb17
24dca50e-4bb3e394
ca65a9fe-91ac3782
82d91892-3f4a17df
20b9172f-ca7d8d80
7b23f4c0-ebf6e75e
5a3c10b5-e1cc0f14
5e29d81-cf4f6ead
246fb659-3a9ae350
f296190c-6e3b1976
4442aae2-7158671e
75f0f0a0-4ad60575
e2b18481-a5822863
e7e71889-4ad60575

Please provide any additional information below.

Original issue reported on code.google.com by anta...@google.com on 17 Jul 2013 at 8:49

GoogleCodeExporter commented 8 years ago
I think we need to build the deb file with internal_pdf=1 in GYP_DEFINES

Original comment by danakj@chromium.org on 17 Jul 2013 at 8:52

GoogleCodeExporter commented 8 years ago

Original comment by danakj@chromium.org on 17 Jul 2013 at 8:52

GoogleCodeExporter commented 8 years ago

Original comment by danakj@chromium.org on 17 Jul 2013 at 8:52

GoogleCodeExporter commented 8 years ago
Yes, current package is not built with the internal pdf viewer. I'll try to get 
that into the next one.

Original comment by reveman@chromium.org on 17 Jul 2013 at 9:30

GoogleCodeExporter commented 8 years ago
something like this can be used to fix the problem:
ln -s /opt/google/chrome/libpdf.so /opt/google/chrome-trunk

latest package includes libpdf.so so it should just work without the above hack 
if you use that package.

this is just a build configuration problem and not really a bug.

Original comment by reveman@chromium.org on 19 Aug 2013 at 2:58