Discussion:
session window restore
René J.V. Bertin
2016-09-20 08:47:58 UTC
Permalink
Hi,

Have there ever been previous requests for the possibility to let KDevelop restore more than just the last-used window size (across sessions) and whatever it currently saves of the per-session internal window layout?

I for one would love to see a per-session save/restore of
- size
- position
- screen

IOW, the stuff handled by QWindow::save/restoreGeometry() or even QMainWindow::save/restoreState().

FWIW this feature is the default for native OS X applications, and it's very practical. KDevelop already seems to have a per-session save/restore of the internal layout of the session window; this would make more sense if the session A window were always restored to the same size regardless of how other sessions were resized since A was last closed.

AFAIC the same applies to position: if you're often working with multiple sessions it's quite nice not to have to put them back at their usual positions each time you open them again.

R.
Milian Wolff
2016-09-20 16:03:23 UTC
Permalink
Post by René J.V. Bertin
Hi,
Have there ever been previous requests for the possibility to let KDevelop
restore more than just the last-used window size (across sessions) and
whatever it currently saves of the per-session internal window layout?
I for one would love to see a per-session save/restore of
- size
- position
- screen
IOW, the stuff handled by QWindow::save/restoreGeometry() or even
QMainWindow::save/restoreState().
All of that sounds like good ideas.
Post by René J.V. Bertin
FWIW this feature is the default for native OS X applications, and it's very
practical. KDevelop already seems to have a per-session save/restore of the
internal layout of the session window; this would make more sense if the
session A window were always restored to the same size regardless of how
other sessions were resized since A was last closed.
AFAIC the same applies to position: if you're often working with multiple
sessions it's quite nice not to have to put them back at their usual
positions each time you open them again.
True. Patches welcome.

Bye
--
Milian Wolff
***@milianw.de
http://milianw.de
Loading...