Sign in Join

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

Mailing lists / lazarus / 2016-03

Desktops ?

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Michael Van Canneyt

Hi,

Is the current desktops functionality supposed to restore windows that were hidden ?

I have 1 desktop defined, "Default".
I layouted my windows, closed the object inspector window, and used 'Save current desktop' to save it as default. I quit lazarus and restarted it.
It shows a default empty project, and shows the object inspector. I loaded a (non-gui) project.
The object inspector is still shown.

Is this supposed to be so ? I would expect the object inspector to remain hidden.

My plan was to have 2 desktops: one for GUI projects, one for non-GUI projects, where the object inspector is useless and hence can remain hidden...

Michael.

Reply by email

Ondrej Pokorny
to Michael Van Canneyt
Michael Van Canneyt wrote
Is the current desktops functionality supposed to restore windows that were hidden ?

No.

Show quoted text 10 lines
I have 1 desktop defined, "Default". I layouted my windows, closed the object inspector window, and used 'Save current desktop' to save it as default. I quit lazarus and restarted it. It shows a default empty project, and shows the object inspector. I loaded a (non-gui) project. The object inspector is still shown. Is this supposed to be so ? I would expect the object inspector to remain hidden.

Me as well.

My plan was to have 2 desktops: one for GUI projects, one for non-GUI projects, where the object inspector is useless and hence can remain hidden...

I assume the OI is especially forced to be shown at the start to get the default desktop after first run of the IDE (where the OI is visible). This should be changed and the OI should be shown only when no configuration is present.

Ondrej

Reply by email

Michael Van Canneyt
to Ondrej Pokorny
Ondrej Pokorny wrote
The OI gets correctly hidden if you load the desktop after the start of the IDE. So the problem is in IDE startup procedure that forces the OI to show.

I can confirm this behaviour, yes.

Michael.

Reply by email

Ondrej Pokorny
to Michael Van Canneyt
Michael Van Canneyt wrote 7 lines
On Fri, 11 Mar 2016, Ondrej Pokorny wrote: > The OI gets correctly hidden if you load the desktop after the start > of the IDE. So the problem is in IDE startup procedure that forces > the OI to show. I can confirm this behaviour, yes.

Please open a bug report in mantis about it so that it doesn't get forgotten.

Ondrej

Reply by email