New issue
Advanced search Search tips

Issue 630009 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 367524
Owner: ----
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Feature



Sign in to add a comment

Material PDF Viewer: All bookmarks link to the top of the page even those further down the page

Reported by u01j...@gmail.com, Jul 20 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36

Steps to reproduce the problem:
1. Open the PDF and click each bookmark which although links to a point in the page, only takes you to the top of the page
2. Try scrolling down the page a little and trying a bookmark - you will only ever be taken to the top of the page

What is the expected behavior?
Selecting a bookmark should take you to a point in the page not just to the top of the page.

What went wrong?
All bookmarks take you to the top of the page, even bookmarks at a certain point in the page such as half way down. Doing the same in FoxitReader and everything works correctly.

Did this work before? No 

Chrome version: 51.0.2704.106  Channel: n/a
OS Version: 10.0
Flash Version: Shockwave Flash 22.0 r0

I further noticed that the Material PDF Viewer does not respect the PDF setting to have all bookmarks expanded unlike FoxitReader which respects it.
 
bookmarks.pdf
35.4 KB Download

Comment 1 by u01j...@gmail.com, Jul 20 2016

> I further noticed that the Material PDF Viewer does not respect the PDF setting to have all bookmarks expanded unlike FoxitReader which respects it.

By this I mean it's syntax embedded within the PDF when it is generated.

Comment 2 by ajha@chromium.org, Jul 21 2016

Cc: ajha@chromium.org
Labels: Needs-Feedback
u01jmg3@: If possible, could you please attach the screen-cast of the behavior you are seeing on the attached pdf page for better repro and clarity.

Comment 3 by u01j...@gmail.com, Jul 21 2016

As requested
demo.gif
549 KB View Download
Project Member

Comment 4 by sheriffbot@chromium.org, Jul 21 2016

Labels: -Needs-Feedback Needs-Review
Owner: ajha@chromium.org
Thank you for providing more feedback. Adding requester "ajha@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by ajha@chromium.org, Aug 4 2016

Components: Internals>Plugins>PDF
Labels: -Needs-Review M-54 OS-Linux OS-Mac
Owner: ----
Status: Untriaged (was: Unconfirmed)
Able to reproduce this on the latest stable(52.0.2743.116) and the latest beta(53.0.2785.34) on Windows-7, Mac OS 10.11.5 and Linux Ubuntu 14.04. This has been behaving the same since M-47, when material design PDF was implemented. Latest canary(54.0.2817.0) is opening the blank page when any pdf is opened due to  Issue 633764 .

Marking this Untriaged for more inputs on this.
Labels: -M-54
Would you agree this is  bug 367524 ? It sounds like you want the bookmark to take you to the exact position of the bookmark, not the top of the page the bookmark is on.

Comment 7 Deleted

Comment 8 by u01j...@gmail.com, Aug 4 2016

If this question is aimed at me, I would consider this a bug as bookmarks can be positioned anywhere on the page, not just at the top of the page.
Mergedinto: 367524
Status: Duplicate (was: Untriaged)
Yes, the question is aimed at the bug reporter.

Sign in to add a comment