Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/present: presentation note window not rendering correctly #32902

Closed
johanbrandhorst opened this issue Jul 2, 2019 · 1 comment
Closed

Comments

@johanbrandhorst
Copy link
Member

@johanbrandhorst johanbrandhorst commented Jul 2, 2019

What version of Go are you using (go version)?

$ go version
go version go1.12.6 linux/amd64

Does this issue reproduce with the latest release?

Yes

What did you do?

I used the presenter notes feature of the present tool.

What did you expect to see?

I expected a window with an iframe of the presentation and the presenter notes.

What did you see instead?

A small iframe in the corner and a console warning:

image

notes.js:57 Uncaught ReferenceError: getDestSlideKey is not defined
    at initNotes (notes.js:57)
    at toggleNotesWindow (notes.js:26)
    at HTMLDocument.handleBodyKeyDown (slides.js:406)

It seems golang/tools@a101b04 introduced a few incorrect references.

I intend to submit a fix for this.

@gopherbot gopherbot added this to the Unreleased milestone Jul 2, 2019
@gopherbot
Copy link

@gopherbot gopherbot commented Jul 2, 2019

Change https://golang.org/cl/184737 mentions this issue: cmd/present: correct function reference.

@bcmills bcmills added the NeedsFix label Jul 2, 2019
movie-travel-code added a commit to movie-travel-code/tools that referenced this issue Jul 11, 2019
A previous change introduced a new way of storing
which page should be synced with the notes, but
used the wrong function name. This corrects the
function reference.

Fixes golang/go#32902

Change-Id: Iefbb189eae12f0d53e46e6f42d3526302515cab3
Reviewed-on: https://go-review.googlesource.com/c/tools/+/184737
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
@golang golang locked and limited conversation to collaborators Jul 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.