yashwantkumargaurav / flexpaper

Automatically exported from code.google.com/p/flexpaper
0 stars 0 forks source link

addMark() in html5 does not immediately show annotation #376

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Remove an annotation using removeMark(). The annotation is hidden.
2. Call addMark() to display the same annotation. The annotation remains hidden.
3. Either a) manually scroll to another page in the pdf OR b) use 
scrollToMark() to scroll to an annotation on another page.
4. Either a) manually scroll back to the page of the hidden annotation OR b) 
use scrollToMark() to scroll back to the page of the hidden annotation. The 
annotation is now visible.

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

I expect to see the annotation as soon as addMark() is called, but instead it's 
not visible until I scroll away from then return to the page the annotation is 
on. Scrolling up or down in the same page does not fix the problem, you have to 
scroll to another page.

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

I'm using FlexPaper version 2.1.1, Annotations 1.0.50. I've tested this in 
Firefox 17.0 and and Chrome 26.0.1410.64 m, running on Windows 7.

Please provide any additional information below.

I recently downloaded the version mentioned above, which fixed a similar issue 
where drawings could be seen but would disappear if you scrolled away from and 
then returned to a page.

Original issue reported on code.google.com by brianhar...@gmail.com on 8 May 2013 at 8:04

GoogleCodeExporter commented 8 years ago
Fixed in our dev branch, contact us for an updated build. A final version will 
be available in the next 3-5 days

Original comment by erik.eng...@devaldi.com on 9 May 2013 at 8:17