New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 715646 link

Starred by 4 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature

Blocking:
issue 464104



Sign in to add a comment

PDF bookmarks bar

Project Member Reported by dsinclair@chromium.org, Apr 26 2017

Issue description

Currently, the bookmarks bar is hidden behind an icon in the top right corner. Clicking this expands to the bookmarks. This causes issues when you want to click through a whole series of the bookmarks as you have to keep opening the menu.

It would be nice if we could transition the bookmarks to something like a collapsed drawer on the left. The drawer would then say open as the bookmarks are navigated.

This would also allow us to expand the bookmarks by default. For a file like [1] we currently show a single bookmark that has to be expanded. Then more headers, you have to go 3 levels to get the actual links.

1- https://software.intel.com/sites/default/files/managed/39/c5/325462-sdm-vol-1-2abcd-3abcd.pdf
 
Cc: raymes@chromium.org
raymes@ is there historical context around the current bookmarks bar?

Comment 2 by raymes@chromium.org, Apr 27 2017

Cc: tsergeant@chromium.org
I can't remember the history to be honest. +tsergeant who may have a better recollection.
Yup, I understand what you're getting at. The design we ended up with for bookmarks is not ideal. The designer we worked with on this isn't on Chrome anymore, so we can't get any insight from there either.

The initial prototype of MD PDF had a collapsible sidebar on the right (see attachment), but that ended up being very awkward to use due to the scrollbar positioning. Moving the sidebar to the left (as you suggest) would fix the scrollbar issues, but then we'd need to shuffle around the toolbar layout to put the sidebar toggle button somewhere on the left. The design we ended up with was a compromise for fixing the sidebar while keeping the toolbar layout the same.

As a side note, the sidebar on the left is what many other PDF readers (Adobe Reader, PDF.js) do, and probably for good reason.

A couple of other points:
- Collapsing the bookmarks by default is a nice performance optimisation, especially for big technical docs like the one you've sent where the entire bookmark tree is thousands of nodes and can take a couple of seconds to render.
- It was a deliberate choice that clicking a bookmark won't close the dropdown, which makes clicking through bookmarks easier. The dropdown still dismisses when clicking anything inside the document, which can be a bit annoying.
PDF_Intern.png
218 KB View Download
I wonder for collapsing the bookmarks if we could look at them just render a couple levels? Even in the image you posted, rendering the first 2 levels as opposed to all of them would probably be a better experience on first load. Alternatively, can we make it faster to get the bookmarks, heh.

I didn't actually realize the bookmarked bar stayed open, I think I always end up clicking around right after using it.
Status: Available (was: Untriaged)
I think we should at least build this out to see if it works better and we can figure it out from there.
Blocking: 464104
Owner: hnakashima@chromium.org
Cc: rpop@chromium.org gromer@google.com dsinclair@chromium.org
 Issue 800908  has been merged into this issue.
 Issue 464104  has been merged into this issue.
Status: Assigned (was: Available)
This requires a lot of UX work, and by the time they had free cycles, we shifted our attention to XFA.
Owner: ----
Status: Available (was: Assigned)

Sign in to add a comment