Sign in Join

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

Mailing lists / lazarus / 2025-04

I use a lot "Close All" in File menu

10 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

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

Matthieu Giroux

Hello !
I have seen Lazarus Team has removed?"Close All" option in File menu.

I use GNU Linux. Lazarus opens a lot of packages. To view less Lazarus windows in Tasks Bar, i click in "Close All" in File menu each time i have opened Lazarus 3. Can you let ?"Close All" option in File menu ?
Thanks !

Matthieu Giroux 13 Rue Fr Tanguy PRIGENT A.15 - 35000 RennesT?l : 09 61 37 01 82 - 06 44 733 008 http://www.liberlog.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250429/56850c16/attachment.htm>

Reply by email

Martin Frb
to Matthieu Giroux
Matthieu Giroux wrote 10 lines
Hello ! I have seen Lazarus Team has removed?"Close All" option in File menu. I use GNU Linux. Lazarus opens a lot of packages. To view less Lazarus windows in Tasks Bar, i click in"Close All" in File menu each time i have opened Lazarus 3. Can you let ?"Close All" option in File menu ?

Are/Were you aware, that if you clicked "Close all" this would only close open Windows, but the project (options/session) would still be open?

- If you restarted the IDE (and loaded the project again), it would start with no source editor shown.
- If you made changes (to settings / created new files / ...) that would be saved as modification to that project.

Source editors can be closed in various ways, including right click the editor tabs, and chose "Close all other", or closing the entire source edit window.

Package may need a replacement for this feature. / not sure what currently exists
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250429/f8299061/attachment.htm>

Reply by email

Matthieu Giroux
to Martin Frb

My problem is not the editor and not the sources, but the packages that lazarus opens when it starts. The packages that are opened must be closed individually if i want to clean the GNU Linux tasks bar. Close All permits me to close packages, not sources. The solution should be to not open packages at Lazarus startup. So task bar should be clean. I do not see why packages are opened at startup and it is fastest to use projects inspector instead of searching opened pakage.

On 29/04/2025 11:40, Matthieu Giroux via lazarus wrote:

Hello !
I have seen Lazarus Team has removed?"Close All" option in File menu.

I use GNU Linux. Lazarus opens a lot of packages. To view less Lazarus windows in Tasks Bar, i click in "Close All" in File menu each time i have opened Lazarus 3. Can you let ?"Close All" option in File menu ?

Are/Were you aware, that if you clicked "Close all" this would only close open Windows, but the project (options/session) would still be open?

- If you restarted the IDE (and loaded the project again), it would start with no source editor shown.
- If you made changes (to settings / created new files / ...) that would be saved as modification to that project.

Source editors can be closed in various ways, including right click the editor tabs, and chose "Close all other", or closing the entire source edit window.

Package may need a replacement for this feature. / not sure what currently exists

Reply by email

Matthieu Giroux
to Matthieu Giroux

And it should good to open Project Giroux 13 Rue Fr Tanguy PRIGENT A.15 - 35000 RennesT?l : 09 61 37 01 82 - 06 44 733 008 http://www.liberlog.fr

Le mardi 29 avril 2025 ? 11:59:08 UTC+2, Matthieu Giroux via lazarus a ?crit :

My problem is not the editor and not the sources, but the packages that lazarus opens when it starts. The packages that are opened must be closed individually if i want to clean the GNU Linux tasks bar. Close All permits me to close packages, not sources. The solution should be to not open packages at Lazarus startup. So task bar should be clean. I do not see why packages are opened at startup and it is fastest to use projects inspector instead of searching opened pakage.

On 29/04/2025 11:40, Matthieu Giroux via lazarus wrote:

Hello !
I have seen Lazarus Team has removed?"Close All" option in File menu.

I use GNU Linux. Lazarus opens a lot of packages. To view less Lazarus windows in Tasks Bar, i click in "Close All" in File menu each time i have opened Lazarus 3. Can you let ?"Close All" option in File menu ?

Are/Were you aware, that if you clicked "Close all" this would only close open Windows, but the project (options/session) would still be open?

- If you restarted the IDE (and loaded the project again), it would start with no source editor shown.
- If you made changes (to settings / created new files / ...) that would be saved as modification to that project.

Source editors can be closed in various ways, including right click the editor tabs, and chose "Close all other", or closing the entire source edit window.

Package may need a replacement for this feature. / not sure what currently exists

Reply by email

Martin Frb
to Matthieu Giroux
Matthieu Giroux wrote 20 lines
And it should good to open Project inspector at startup. Matthieu Giroux 13 Rue Fr Tanguy PRIGENT A.15 - 35000 Rennes T?l : 09 61 37 01 82 - 06 44 733 008 http://www.liberlog.fr Le mardi 29 avril 2025 ? 11:59:08 UTC+2, Matthieu Giroux via lazarus a ?crit : My problem is not the editor and not the sources, but the packages that lazarus opens when it starts. The packages that are opened must be closed individually if i want to clean the GNU Linux tasks bar. Close All permits me to close packages, not sources. The solution should be to not open packages at Lazarus startup. So task bar should be clean. I do not see why packages are opened at startup and it is fastest to use projects inspector instead of searching opened pakage.

Ok,

yes, it may be of interest to have some "close all packages". The "close all files" wont be back, because it did cause to many misunderstandings. To many people thought it closes the project.

Unfortunately, I don't think it will be possible to do it for 4.0, since it counts as feature - and wont be merged.

As for "opening package at IDE start", it seems unfortunately that is bound to the same checkbox as re-opening the last project.

----

It might be best to add a feature request for a "close all packages" on the issue tracker.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250429/32cc5e95/attachment.htm>

Reply by email

Jamal Gabra
to Martin Frb: yes, it may be of interest to have some "close all packages". The "close all files" wont…

If you enable "Show single button in TaskBar" would it solve your problem?

Tools -> Options -> Environment -> Window -> Show single button in TaskBar

On Tue, Apr 29, 2025 at 4:46?PM Martin Frb via lazarus <

Show quoted text 46 lines
wrote: On 29/04/2025 12:20, Matthieu Giroux via lazarus wrote: And it should good to open Project inspector at startup. Matthieu Giroux 13 Rue Fr Tanguy PRIGENT A.15 - 35000 Rennes T?l : 09 61 37 01 82 - 06 44 733 008 http://www.liberlog.fr Le mardi 29 avril 2025 ? 11:59:08 UTC+2, Matthieu Giroux via lazarus a ?crit : My problem is not the editor and not the sources, but the packages that lazarus opens when it starts. The packages that are opened must be closed individually if i want to clean the GNU Linux tasks bar. Close All permits me to close packages, not sources. The solution should be to not open packages at Lazarus startup. So task bar should be clean. I do not see why packages are opened at startup and it is fastest to use projects inspector instead of searching opened pakage. Ok, yes, it may be of interest to have some "close all packages". The "close all files" wont be back, because it did cause to many misunderstandings. To many people thought it closes the project. Unfortunately, I don't think it will be possible to do it for 4.0, since it counts as feature - and wont be merged. As for "opening package at IDE start", it seems unfortunately that is bound to the same checkbox as re-opening the last project. ---- It might be best to add a feature request for a "close all packages" on the issue tracker. -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250429/07b9ba7d/attachment-0001.htm>

Reply by email

Matthieu Giroux
to Jamal Gabra

Le mardi 29 avril 2025 ? 16:57:21 UTC+2, Jamal Gabra via lazarus a ?crit :

If you enable "Show single button in TaskBar" would it solve your problem? Surely

Tools -> Options -> Environment -> Window?-> Show single button in TaskBar On Tue, Apr 29, 2025 at 4:46?PM Martin Frb via lazarus wrote:

On 29/04/2025 12:20, Matthieu Giroux via lazarus wrote:

And it should good to open Project Giroux 13 Rue Fr Tanguy PRIGENT A.15 - 35000 Rennes T?l : 09 61 37 01 82 - 06 44 733 008 http://www.liberlog.fr

Le mardi 29 avril 2025 ? 11:59:08 UTC+2, Matthieu Giroux via lazarus a ?crit :

My problem is not the editor and not the sources, but the packages that lazarus opens when it starts. The packages that are opened must be closed individually if i want to clean the GNU Linux tasks bar. Close All permits me to close packages, not sources. The solution should be to not open packages at Lazarus startup. So task bar should be clean. I do not see why packages are opened at startup and it is fastest to use projects inspector instead of searching opened pakage.

Ok,

yes, it may be of interest to have some "close all packages". The "close all files" wont be back, because it did cause to many misunderstandings. To many people thought it closes the project.

Unfortunately, I don't think it will be possible to do it for 4.0, since it counts as feature - and wont be merged.

As for "opening package at IDE start", it seems unfortunately that is bound to the same checkbox as re-opening the last project.

----

It might be best to add a feature request for a "close all packages" on the issue tracker.

Reply by email

Jamal Gabra
to Matthieu Giroux

I would suggest that this option should be enabled by default. And those who opt for otherwise would go and disable it.

From the Lazarus menu go to Tools and select "Options": under

"Environment" select "Window", from the right side panel: "Show single button in TaskBar".

On Tue, Apr 29, 2025 at 6:24?PM Matthieu Giroux via lazarus <

Show quoted text 70 lines
wrote: Le mardi 29 avril 2025 ? 16:57:21 UTC+2, Jamal Gabra via lazarus < > a ?crit : If you enable "Show single button in TaskBar" would it solve your problem? Surely Tools -> Options -> Environment -> Window -> Show single button in TaskBar On Tue, Apr 29, 2025 at 4:46?PM Martin Frb via lazarus < > wrote: On 29/04/2025 12:20, Matthieu Giroux via lazarus wrote: And it should good to open Project inspector at startup. Matthieu Giroux 13 Rue Fr Tanguy PRIGENT A.15 - 35000 Rennes T?l : 09 61 37 01 82 - 06 44 733 008 http://www.liberlog.fr Le mardi 29 avril 2025 ? 11:59:08 UTC+2, Matthieu Giroux via lazarus a ?crit : My problem is not the editor and not the sources, but the packages that lazarus opens when it starts. The packages that are opened must be closed individually if i want to clean the GNU Linux tasks bar. Close All permits me to close packages, not sources. The solution should be to not open packages at Lazarus startup. So task bar should be clean. I do not see why packages are opened at startup and it is fastest to use projects inspector instead of searching opened pakage. Ok, yes, it may be of interest to have some "close all packages". The "close all files" wont be back, because it did cause to many misunderstandings. To many people thought it closes the project. Unfortunately, I don't think it will be possible to do it for 4.0, since it counts as feature - and wont be merged. As for "opening package at IDE start", it seems unfortunately that is bound to the same checkbox as re-opening the last project. ---- It might be best to add a feature request for a "close all packages" on the issue tracker. -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250501/77d7ca81/attachment.htm>

Reply by email

Juha Manninen
to Matthieu Giroux: My problem is not the editor and not the sources, but the packages that lazarus opens…

On Tue, Apr 29, 2025 at 12:59?PM Matthieu Giroux via lazarus <

Show quoted text 7 lines
wrote: The solution should be to not open packages at Lazarus startup. So task bar should be clean. I do not see why packages are opened at startup and it is fastest to use projects inspector instead of searching opened pakage.

You have opened those packages yourself during the previous session. The IDE only remembers your session, it does not open any extra packages by itself.
Thus one solution is: Don't open so many packages.

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20250501/f7f7695d/attachment.htm>

Reply by email