box/box-annotations

Annotation comment not shown on hover for highlights when annotations are read-only

dmkash opened this issue · 3 comments

Please fill out the following template so we can reproduce and fix your issue as quickly as possible!

Environment:

  • Preview version: 1.19.1
  • Browser name and version: Firefox 57.0.1, Safari 11.0.2, Chrome 63.0.3239.84
  • Operating system and version: Mac OS X 10.13.2

Steps to reproduce the problem:

  1. As a user that can annotate, highlight text and add a comment
  2. As a user that cannot annotate, view the document

What is the expected behavior? (Screenshots can be helpful here)
The comment associated with the highlight would be visible when hovering over the highlighted text.

What went wrong? (Screenshots can be helpful here)
The user who cannot annotate, but can view annotations, needs to click on the highlight in order to see the associated comment.

The scopes that are being sent for read-only annotations are: base_preview and annotation_view_all

Hey @dmkash!

Thanks so much for the report. A fix for this issue is actually included in the latest version of Preview (v1.22.0). Please upgrade your version of Preview and let us know if this fixes your issue!

Hi, @pramodsum ! Thanks for the super-quick response. That does indeed resolve the issue.

Closing!