> On 27 Jan 2022, at 19:35, JD Smith <jdtsm...@gmail.com> wrote:
> 
>> The AppleScript just returns the current page that the PDFView tells us it 
>> is on. 
> 
> 
> Thanks, I now understand that Skim doesn’t control this info.  Is it perhaps 
> possible to learn somehow whether the "current page" is a left or right page 
> in a 2-page layout?  That way I could check the “other page” pretty easily. 
> 
>> 'note selection’  property is the selection in the notes table, not the 
>> selection in the PDF, so they have absolutely no relation to visibility, and 
>> also doesn’t change when you scroll.
> 
> 
> This isn’t what I observe. At least on my Skim (Version 1.6.8 (138), MacOS 
> 11.3)  when no note is selected, the “selected note” in the notes table 
> definitely changes as you scroll and new pages come into view.  
> 

You are correct, we do change the selection in the notes table according to the 
current page.
But it dose not mean the ’note selection’ is equal to the visible notes, it 
just means that the selection is synchronized.

> But not all notes get selected by this implicit scrolling change (especially 
> in 2 page view), and some are selected before the page they are on is 
> scrolled into view.  By experimenting, the rule appears to be that as soon as 
> a new page comes into view (i.e. it takes up >50% of the vertical space), the 
> topmost note on that page is selected in the notes table.  
> 

It is a bit more complex. When the selection is for the current page (according 
to the PDF view), we leave it. Otherwise, we select the  first note for or from 
that page.

> There is a bug in this 2-page scrolling (perhaps in PDFView, this is MacOS 
> 11.3): the current page (even one sided) stops getting updated sometimes, 
> except on single-view pages (like the first).  You most close and re-open the 
> file for it to recover from this.  
> 
> JD


I have heard this before. But there is nothing we can do about this, this is a 
bug in Apple;’s PDFKit.

Christiaan

_______________________________________________
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to