Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-03

project | close project

6 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Eduard Filipas

hi all
i just had to change zeos komponents within lazarus 9.31 it all went fine just it was bit confusing because in menu Project | Close project doesnt just closes project it also shuts down Lazarus but then again when i restart lazarus i get the same project up again ...took me a while to go to file close editor files...but if it would be posible it would be nice if lazarus would stay open if we close project so then components can be replaced...it does sound more logical to close project rather then to close editor files.. dont know if this has been already addressed ...just a note :)

regards
Eduard Filipas

Reply by email

Mattias Gaertner
to Eduard Filipas
Show quoted text 10 lines
hi all i just had to change zeos komponents within lazarus 9.31 it all went fine just it was bit confusing because in menu Project | Close project doesnt just closes project it also shuts down Lazarus but then again when i restart lazarus i get the same project up again ...took me a while to go to file close editor files...but if it would be posible it would be nice if lazarus would stay open if we close project so then components can be replaced...it does sound more logical to close project rather then to close editor files.. dont know if this has been already addressed ...just a note :)

The IDE does *not* close when closing a project.
Maybe it crashed.
Can you start the IDE in gdb and create a backtrace?

Mattias

Reply by email

Eduard Filipas
to Mattias Gaertner

hi im sorry..for two things..

first... it does not close amidietly first after chosing close project a window appeirs (project wizard) and closing that window with an X(at top right) closes IDE.

im still bit a newbi ..how to start it in gdb mode? point me to a documentation or simply guide me to what needs to be done...

enviroment:
- win7 64 bit
- lazarus 9.31 svn:29379 32 bit

S, Mattias Gaertner pi?e:

Show quoted text 25 lines
On Tue, 15 Mar 2011 20:38:20 +0100 Eduard Filipas wrote: > hi all > i just had to change zeos komponents within lazarus 9.31 it all went > fine just it was bit confusing because in menu Project | Close project > doesnt just closes project it also shuts down Lazarus but then again > when i restart lazarus i get the same project up again ...took me a > while to go to file close editor files...but if it would be posible it > would be nice if lazarus would stay open if we close project so then > components can be replaced...it does sound more logical to close project > rather then to close editor files.. dont know if this has been already > addressed ...just a note :) The IDE does *not* close when closing a project. Maybe it crashed. Can you start the IDE in gdb and create a backtrace? Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Mattias Gaertner
to Eduard Filipas
Show quoted text 5 lines
hi im sorry..for two things.. first... it does not close amidietly first after chosing close project a window appeirs (project wizard) and closing that window with an X(at top right) closes IDE.

Ah. Yes, closing the window is the same as choosing "Quit IDE". Then it is not a crash.

Show quoted text 10 lines
[...] >> i just had to change zeos komponents within lazarus 9.31 it all went >> fine just it was bit confusing because in menu Project | Close project >> doesnt just closes project it also shuts down Lazarus but then again >> when i restart lazarus i get the same project up again ...took me a >> while to go to file close editor files...but if it would be posible it >> would be nice if lazarus would stay open if we close project so then >> components can be replaced...it does sound more logical to close project >> rather then to close editor files.. dont know if this has been already >> addressed ...just a note :)

I guess with "replace components" you mean install/uninstall components in the component palette. You don't need to close the project for that. It is the same as in many other IDE: Simply install/uninstall packages. For example via Packages / Install/Uninstall packages.

Mattias

Reply by email

Eduard Filipas
to Mattias Gaertner

S, Mattias Gaertner pi?e:

Show quoted text 30 lines
On Tue, 15 Mar 2011 23:28:49 +0100 Eduard Filipas wrote: > hi im sorry..for two things.. > > first... it does not close amidietly first after chosing close project a > window appeirs (project wizard) and closing that window with an X(at top > right) closes IDE. Ah. Yes, closing the window is the same as choosing "Quit IDE". Then it is not a crash. > [...] >>> i just had to change zeos komponents within lazarus 9.31 it all went >>> fine just it was bit confusing because in menu Project | Close project >>> doesnt just closes project it also shuts down Lazarus but then again >>> when i restart lazarus i get the same project up again ...took me a >>> while to go to file close editor files...but if it would be posible it >>> would be nice if lazarus would stay open if we close project so then >>> components can be replaced...it does sound more logical to close project >>> rather then to close editor files.. dont know if this has been already >>> addressed ...just a note :) I guess with "replace components" you mean install/uninstall components in the component palette. You don't need to close the project for that. It is the same as in many other IDE: Simply install/uninstall packages. For example via Packages / Install/Uninstall packages. Mattias

yes that is what i thought ..uninstal/instal..but i feel so uncofmortable doing that while my project is open and its having those components included...would it be posible to just close the project and have IDE open even if it is projectless so to say?

Show quoted text 6 lines
-- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Mattias Gaertner
to Eduard Filipas
Show quoted text 6 lines
[...] yes that is what i thought ..uninstal/instal..but i feel so uncofmortable doing that while my project is open and its having those components included...would it be posible to just close the project and have IDE open even if it is projectless so to say?

There is nothing to worry.
At the moment only static linked packages are supported. Thus you have to restart the IDE to change the installed components. So all forms are unloaded and loaded again on next start. The IDE will warn before loading any form that might need a component that was not installed. In fact it warns too much. When dynamic packages are supported the IDE will probably close the project, unload/load the packages and then open the project again.

If you are still feeling uncomfortable:
Create a test project and switch to that before installing any package.

Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110316/0df307a7/attachment.html>

Reply by email