Recent

Author Topic: Message windows dissappears with AnchorDocking  (Read 454 times)

simone

  • Sr. Member
  • ****
  • Posts: 343
Message windows dissappears with AnchorDocking
« on: April 04, 2020, 08:09:53 pm »
I'm using Lazarus 2.0.6 under Windows 10 64-bit, with AnchorDocking. A strange phenomenon often happens to me: the message window disappears and I can't make it reappear, not even from the View menu. When this happens I am forced to reinstall Lazarus. Can I prevent or remedy this situation? Thanks a lot.
« Last Edit: April 05, 2020, 11:39:42 am by simone »
Microsoft Windows 10 64 bit - Lazarus 2.0.6

eljo

  • Sr. Member
  • ****
  • Posts: 354
Re: Message windows dissappears with AnchorDocking
« Reply #1 on: April 04, 2020, 08:30:38 pm »
I seem to remember a command somewhere that resets the window's placement.  How about deleting the config folder or files and letting the IDE recreate them the next time it loads.
Or refine the above and only delete the config data for the message window from the config file.

I'm not in-front of a lazarus installation at the moment so I'll let some one else point you in the right file.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6290
    • wiki
Re: Message windows dissappears with AnchorDocking
« Reply #2 on: April 04, 2020, 09:14:24 pm »
Go through the config folder and find the file(s) that store the positions.

If possible then upload the files, so we can see if it can be reproduced.

simone

  • Sr. Member
  • ****
  • Posts: 343
Re: Message windows dissappears with AnchorDocking
« Reply #3 on: April 05, 2020, 12:49:01 am »
Thanks for hints. In the meantime I have found a solution that does not require reinstallation: Menu>Tools>Desktops  allows me to restore the previous configuration of the docked IDE windows. The next time it happens I will inspect the configuration file as suggested.
Microsoft Windows 10 64 bit - Lazarus 2.0.6

winni

  • Hero Member
  • *****
  • Posts: 1347
Re: Message windows dissappears with AnchorDocking
« Reply #4 on: April 05, 2020, 01:02:05 am »
Hi!

If something is totaly screwed up then look in your local .lazarus drirectory.

Load the file enverironmentoptions.xml

There you find something like:

Code: Text  [Select][+][-]
  1.  <MessagesView>
  2.         <Caption Value="MessagesView"/>
  3.         <CustomPosition Left="177" Top="238" Width="784" Height="333"/>
  4.         <Visible Value="True"/>
  5.       </MessagesView>
  6.  

If there are values out of screen or nonsense for the dimesions then change them manually.

The same for other windows or the MainIDE.

Winni

AL

  • Full Member
  • ***
  • Posts: 149
Re: Message windows dissappears with AnchorDocking
« Reply #5 on: April 05, 2020, 04:58:44 am »
In the menu:  Window / Center a lost window
Laz 2.1.0, fpc 3.3.1, Win10
Laz 2.1.0, fpc3.3.1, Mac OS Mojave running on VMWare

 

TinyPortal © 2005-2018