On Thu, 10 Sep 2015 00:42:55 +0200 Ondrej Pokorny <laza...@kluug.net> wrote:
> On 10.09.2015 00:26, Mattias Gaertner wrote: > > On Thu, 10 Sep 2015 00:13:24 +0200 > > Ondrej Pokorny <laza...@kluug.net> wrote: > > > >> 2.) The visibility is controlled by the fact if the package is open or > >> not. The desktop cannot reopen packages, obviously.It doesn't store the > >> file info of the package. It is also not expected. > > Why not? > > The window has the name PackageEditor_ToDoListLaz, so you have the > > package name. That is all you need to load the package. > Ok, then it is possible to reopen a package. But still I don't think > reopening/closing of packages on desktop change is a good idea. A > package is kind of "project" and should be completely independent on > desktop, the same like the active LPR project is. > Imagine e.g. that you (accidentally) save a debug desktop with a > package. Should it be reopened every time you start debugging? Speaking for myself: When I close the IDE with some packages open, it should reopen them on next start. I have no preference if switching between editing/debug view should keep packages open or hide and restore them. Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus