> On Feb 9, 2016, at 8:37, Akim Demaille <[email protected]> wrote:
>
>
>> Le 8 févr. 2016 à 22:56, Christiaan Hofman <[email protected]> a écrit :
>>
>> I really have no idea what is happening for you, it really makes no sense.
>> The fact is that on reloading we do absolutely nothing to the window, we
>> just reload the PDF content.
>
> Hi Christiaan,
>
> Another issue is that when I close a document that was on the external
> monitor and then reopen it, it always goes to my laptop’s screen instead
> of the external monitor. The laptop’s screen is the declared main monitor.
>
> I’m running El Capitan 10.11.3, but I have observed this behavior for years,
> when several generations of OS X and several versions of Skim.
>
> I do not have the problem with Preview. When it refreshes a PDF, the
> windows stays put, but it returns to page 1.
>
> The way the PDF file is updated does not seem to matter: cat foo.pdf >bar.pdf
> and mv foo.pdf bar.pdf both change the window size. And when I say
> that the window is resized, well, actually it is closed and (another one I
> guess)
> opened almost immediately. But I can see my screen flicker.
>
> FWIW, there is nothing interesting in the logs. Is there a place I
> should look at?
>
> 09/02/2016 08:21:06,561 Skim[68366]: WARNING: The Gestalt selector
> gestaltSystemVersion is returning 10.9.3 instead of 10.11.3. This is not a
> bug in Gestalt -- it is a documented limitation. Use NSProcessInfo's
> operatingSystemVersion property to get correct system version number.
> Call location:
> 09/02/2016 08:21:06,567 Skim[68366]: 0 CarbonCore
> 0x00007fff8ccc8c9b ___Gestalt_SystemVersion_block_invoke + 113
> 09/02/2016 08:21:06,567 Skim[68366]: 1 libdispatch.dylib
> 0x00007fff9fa0b33f _dispatch_client_callout + 8
> 09/02/2016 08:21:06,567 Skim[68366]: 2 libdispatch.dylib
> 0x00007fff9fa0b237 dispatch_once_f + 67
> 09/02/2016 08:21:06,567 Skim[68366]: 3 CarbonCore
> 0x00007fff8cc54b47 _Gestalt_SystemVersion + 987
> 09/02/2016 08:21:06,567 Skim[68366]: 4 CarbonCore
> 0x00007fff8cc53ddb Gestalt + 139
> 09/02/2016 08:21:06,567 Skim[68366]: 5 Skim
> 0x00000001000f2118 -[HIDRemote _setupService:] + 3996
> 09/02/2016 08:21:06,567 Skim[68366]: 6 Skim
> 0x00000001000f2fb0 -[HIDRemote _serviceMatching:] + 52
I don’t get your comparison between Skim and Preview: those are completely
different things, close and open versus reloading. (One keeps the window).
When you open a window, I guess it will open on the main screen, but that is
really a system issue, the system decides where a new window will open.
BTW, we most definitely do *not* close and reopen the window when reloading,
and neither does the system behind our backs (this is something we would
definitely would know about).
There would be nothing in the logs, because nothing is going awry.
What must be going on is that the system doesn’t like windows that don’t fit
the (main) screen, and at various times it seems to check and try to *correct*
(overzealously). There’s nothing we can do about that, unfortunately, because
it happens automatically behind our backs. I don’t know when the system does
this, they won’t tell us.
BTW, I am now able to reproduce it (without an external screen), by first
hiding the Dock, then making the window larger (behind where the Dock was),
then showing the Dock again, and then reloading. What I see is that the window
is forced resized (by the system, not by us) already when it shows the initial
sheet (asking whether to reload), so even before reloading. So my guess is that
the system does this resizing of the window whenever it attaches a sheet. That
may explain why it resizes on reload (because we show a hidden sheet at that
point).
Christiaan
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users