Can't get anchordockingdsgn to dock editor file lazarus / 9-Editor ---------------------------------------------------------------------- hakelm · 2020-10-26 14:02 In earlier versions of Lazarus anchordockingdsgn worked without a glitch and I had just a single window in the IDE. Now with the recent Lazarus 2.0.10 under Ubuntu 16.04 I can't get anchordockingdsgn to dock the editor file, see screenshot in the attachment. What am I missing and what can I do? Thanks for any tip ---------------------------------------------------------------------- devEric69 · 2020-10-26 14:15 Hello, Oddly enough. The necessary packages for anchoring are all present, and correctly installed (i.e. theoretically, already installed inside the IDE, afaik). Did you try anyway to rebuild the Lazarus IDE (menu Tools > Build Lazarus with profile... )? ---------------------------------------------------------------------- hakelm · 2020-10-26 14:28 Yes, I have not only rebuilt but also uninstalled and reinstalled anchordockingdsgn several times and even rebooted. H ---------------------------------------------------------------------- devEric69 · 2020-10-26 15:39 I know that miscellaneousoptions.xml contains the IDE build options, and some minors. On my computer, miscellaneousoptions.xml contains a reference on each package \ item: AnchorDocking and AnchorDockingDsgn. Are these references present in your miscellaneousoptions.xml file? ---------------------------------------------------------------------- hakelm · 2020-10-26 16:17 In /root/.lazarus/miscellaneousoptions.xml I find My /root/.lazarus/miscellaneousoptions.xml renamed as .txt is attached. ---------------------------------------------------------------------- devEric69 · 2020-10-26 17:25 Okay, references are there. QuoteMy /root/.lazarus/miscellaneousoptions.xml renamed as .txt is attached. At my level, when I open the 2 *.lpk packages (installed by FCPupDeluxe, but it has to be the same with Online Package Manager.), I read...: - anchordocking requires LCL - anchordockingdsgn requires anchordocking and IDEIntf ...and the LCL + anchordocking + IDEIntf packages are present, and installed in my IDE (menu Package > Install/Uninstall packages; btw, LCL and IDEIntf are theoretically not uninstallable; Cf. a small red mark besides them). That is all, afaik...??! ---------------------------------------------------------------------- dsiders · 2020-10-26 17:29 The problem is not whether it is installed. The problem is that the floating Source Code window can *never* be re- inserted into its original dock position as long as the Tab Control with the Message, Break Points, Watched, et. al. is visbile. Close all that junk, and the source code window can be docked as desired. Then "View" the items that were closed (if you want them back. Not just a Linux problem... it happens on Windows too. ---------------------------------------------------------------------- devEric69 · 2020-10-26 17:42 QuoteClose all that junk, and the source code window can be docked as desired Good idea: - try to close all the IDE windows (search, debug this, source editors, etc). Close the IDE, and reopen it... - if it doesn't work: : try to view all the IDE windows  (search, debug this, etc) in order to resize them to very small size centered in your screen, to close the IDE, and reopen it... ---------------------------------------------------------------------- hakelm · 2020-10-26 19:50 Thanks all for your help. For me now the problem is solved but I don't know why and how. It seems, however, to be project related. I normally use Lazarus for making what in Project/new project is called program for later being used on remote servers. When I created a new project I got a single IDE window just as I would like. Reopening the old project I again got multiple windows. I copied the old source text into a new lpr-file and presto a nice single window IDE opened up. I am sorry taking up your time. H ---------------------------------------------------------------------- hakelm · 2020-10-27 09:19 The problem seems to be in the .lps file (Lazarus Project Session file). Closing the project and simply deleting the .lps file and reopening the project resolves the issue (a new .lps file is automatically generated). H