Revision: 16135
http://sourceforge.net/p/skim-app/code/16135
Author: hofman
Date: 2026-03-31 18:33:21 +0000 (Tue, 31 Mar 2026)
Log Message:
-----------
make sure to set first responder beforee calling completion handler
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2026-03-31 18:05:20 UTC (rev 16134)
+++ trunk/SKMainWindowController.m 2026-03-31 18:33:21 UTC (rev 16135)
@@ -1761,15 +1761,20 @@
[[contentView animator] replaceSubview:overviewContentView
with:newView];
[NSLayoutConstraint activateConstraints:constraints];
}
- completionHandler:handler];
+ completionHandler:^{
+ [[contentView window] makeFirstResponder:isPresentation ?
presentationView : pdfView];
+ [[contentView window] recalculateKeyViewLoop];
+ if (handler)
+ handler();
+ }];
} else {
[contentView replaceSubview:overviewContentView with:newView];
[NSLayoutConstraint activateConstraints:constraints];
+ [[contentView window] makeFirstResponder:isPresentation ?
presentationView : pdfView];
+ [[contentView window] recalculateKeyViewLoop];
if (handler)
handler();
}
- [[contentView window] makeFirstResponder:isPresentation ? presentationView
: pdfView];
- [[contentView window] recalculateKeyViewLoop];
[touchBarController overviewChanged];
[noteToolbarController validateButtons];
if ([splitViewController
respondsToSelector:@selector(_setHasItemToRevealOnEdgeHover:)]) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit