Restorable Window with autosaving splitter
Restorable Window with autosaving splitter
- Subject: Restorable Window with autosaving splitter
- From: Ernesto Giannotta <email@hidden>
- Date: Sun, 17 Mar 2013 18:05:46 +0100
Hello list,
just submitted this bug report to radar after banging for several hours one this bug.
Maybe someone will find this an useful info, or even chime in with some quick fix.
Summary: When a restorable window containing an autosaving NSSplitter is restored on app launch, the tab order within the NSTableViews gets badly broken.
Steps to Reproduce: Launch an app with a restorable window containing an autosaving NSSplitter with some NSTableviews in it.
Try to tab within the tableviews, all works fine.
Resize the splitter panes, then quit.
Re-launch the app and try to tab within the tableviews and see unexpected behaviors.
(in some app of mine it keeps tabbing up and down inside the same tableview instead of moving to the next tableview, but in the attached example it just gets stuck inside a row.
Expected Results: The tab order should work correctly.
Actual Results: The tab order gets broken.
Regression: Removing the autosave name for the NSSplitter seems to fix the issue.
Notes: In some document based app of mine, everything returns to normal if I just close and re-open the restored dociment window so it is somewhat related to the UI restoration process. In fact deleting the data.data file in the Saved Application State folder resets everything. I just was not able to peek inside the NSCoder passed in the restoration process to identify some sure culprit.
Cool Runnings,
Erne.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden