In macOS Sierra, displayline does not work correctly. Namely:
1) The red dot marking the place in the pdf file referred to by displayline is not drawn, which sometimes makes it quite difficult to locate the sought for place.
2) If the place referred to by displayline is on the page currently shown in Skim, but is not visible (i.e., it is past the top or the botom of the window), Skim does not jump to the new place.
This is strange, we do draw it very explicitly. f Apple does not use these methods, they are not following their documentation, which is absolutely wrong. This is really not something we can fix, Apple shoukld do what they say they do. They should fix this bug.
As for the scrolling, I have heard more problems with scrolling to locations outside the current page. This is a bug I have reported to Apple, and they need to fix this. We cannot do anything different.
I have put a test version at http://skim-app.sourceforge.net/Skim.dmg Could you download and try it, to see if it fixes the display issue? (It won't do anything about the scrolling).
I tried the test version, and it fixed both issues for me.
In addition, it also fixed the issue that when reloading a file (viewing the bottom of the last page), the pdf was positioned at the top of the last page instead that at the same position as before.
Last edit: yuggib 2016-09-26
I just tried the test version on a Mac running the first beta of 10.12.1. What happens now is that whenever a displayline is executed the whole page where the place referred to by displayline is located is drawn in red. However, in another Mac running also 10.12.1 the red dot is drawn.
That looks like a bug in the 10.12.1 beta, because we explicitly code to draw just the dot and not outside it, according to the documentation.
The strange thing is that in another Mac running 10.12.1. Do you have any idea what could be making the difference?
Sent from my iPhone
I have no idea.
In the last update 1.4.22 I have the issue again (actually, it does not jump to any point in the pdf with Aquamacs view command). The test version of 1.4.21 you provided earlier still works perfectly, jumping to the exact point in the pdf and displaying the red dot.
No, that is a different problem, bug # 1128