Recent

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

simone

  • Hero Member
  • *****
  • Posts: 573
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 3.0 FPC 3.2.2 x86_64-win64-win32/win64

eljo

  • Sr. Member
  • ****
  • Posts: 468
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: 9794
  • Debugger - SynEdit - and more
    • 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

  • Hero Member
  • *****
  • Posts: 573
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 3.0 FPC 3.2.2 x86_64-win64-win32/win64

winni

  • Hero Member
  • *****
  • Posts: 3197
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

  • Sr. Member
  • ****
  • Posts: 261
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 3.1, fpc 3.2.2, Win10
Laz 3.1  fpc 3.2.2, MacOS Monterey running on VMWare/Win 10
Laz 3.1  fpc 3.2.2 Ubuntu 20.04

 

TinyPortal © 2005-2018