Opened 10 years ago

Last modified 10 years ago

#423 assigned defect

Save and restore editor window positions

Reported by: jaj Owned by: gb
Priority: normal Milestone: Cocoa IDE v1
Component: IDE Version:
Keywords: Cc:


Split off from ticket #197. Develop a system for remembering window placement. This should apply to editors, listeners, and the various tools. Also remember selection and scroll position. When you quit the IDE, remember which windows are open, and the next time the IDE is started, reopen the same tools and editors in the same positions.

This is default behavior. Add and document globals that allows this behavior to be turned off or modified. Also, make sure there's a way to set default positions for new editors and listeners.

Change History (2)

comment:1 Changed 10 years ago by gb

  • Owner changed from gz to gb
  • Status changed from new to assigned

This seems to be about 5 feature requests in one.

Remembering the window size and position of some named document is straightforward; there's a suite of Cocoa methods (#/setFrameUsingName:, etc.) to support this.

Some of the other things require some thought (to determine how they'd work in the real world - where files can be externally modified - and to determine whether they're actually good ideas.)

Let's do the window size & position stuff, then revisit the other things.

comment:2 Changed 10 years ago by Kristian Bredin

If the window is as tall as the screen (in my case 1050 pixels minus the menubar) it leaves a small gap above and below the window, the next time I open it. I'd indeed prefer the window to have exactly the same position and size when I re-open it.

Note: See TracTickets for help on using tickets.