Revision: 16114
          http://sourceforge.net/p/skim-app/code/16114
Author:   hofman
Date:     2026-03-26 16:53:54 +0000 (Thu, 26 Mar 2026)
Log Message:
-----------
remove snapshot, cropboxes, and location from savedNormalSetup when unlocking 
in fullscreen

Modified Paths:
--------------
    trunk/SKMainWindowController.m

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2026-03-26 16:43:51 UTC (rev 16113)
+++ trunk/SKMainWindowController.m      2026-03-26 16:53:54 UTC (rev 16114)
@@ -2155,7 +2155,7 @@
     if ([self interactionMode] == SKNormalMode)
         [savedNormalSetup removeAllObjects];
     else
-        [savedNormalSetup removeObjectForKey:LOCKED_KEY];
+        [savedNormalSetup removeObjectsForKeys:@[LOCKED_KEY, SNAPSHOTS_KEY, 
CROPBOXES_KEY, PAGEINDEX_KEY, SCROLLPOINT_KEY]];
     
     // somehow the password field remains first responder after it has been 
removed
     if ([[[self window] firstResponder] isKindOfClass:[NSTextView class]] && 
[[(NSTextView *)[[self window] firstResponder] delegate] 
isKindOfClass:[NSSecureTextField class]] )

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

Reply via email to