Some settings don't stick lazarus / 11-Options ---------------------------------------------------------------------- forumuser · 2018-11-17 11:37 Hi, Lazarus v1.8.4 x64 together with the cross-i386-win32-win64 file (to be able to compile 32-bit .exe files as well) On Windows Server 2012 R2 U3 lazarusstart.exe is called with: --pcp="D:\Tools\Lazarus\Data\configs" I have two additional packages installed: AnchorDockingDsdn + sparta_DockedFormEditor All settings that I set will remain when the IDE is quit and started again, but not: Environment - Window - IDE title starts with project name Environment - Window - IDE title shows selected build mode and Environment - IDE CoolBar - When modifying the second (right) comiple / debugger toolbar The "environmentoptions.xml" should contain the changes to that bar and the file itself is written each time when I do the modification again but _what_ I've changed isn't written into it!?! This is a _fresh_ installation / configuration with no former installations (first time Lazarus / Free Pascal user)! Any ideas? ---------------------------------------------------------------------- JuhaManninen · 2018-11-17 12:57 Try the new 2.0 release candidate please. ---------------------------------------------------------------------- Xor-el · 2018-11-17 17:46 Quote from: JuhaManninen on November 17, 2018, 01:57:00 pmTry the new 2.0 release candidate please. I can confirm that this issue still exists with Lazarus 2.0RC2. One consistently annoying one for me is this. Steps to Reproduce ToolButton Run without Debugging You can get this in the IDE options by selecting     Environment -> IDE CoolBar -> Select the right part of the tool bar under Add/Config/Delete Toolbar(s) and then click Configure.     Now open the node Run menu commands and select Run without Debugging (Shift+Ctrl+F9)     Click the right arrow button     Now select the added command and then click the up arrow button 6x, so the Run without Debugging command is placed straight above the Run (F9) command.     Click OK, then click OK again, to close the IDE options window. After this you can see the run without debugging button next to the Run button in the IDE CoolBar. Now, Restart the IDE and the newly added run without debugging button is disappeared. ---------------------------------------------------------------------- FTurtle · 2018-11-17 18:48 1.There is a checkbox Autosave active desktop in form Manage desktops. 2. When this checkbox is not checked, restarting of Lazarus restores last manually saved current desktop. So, any changes of desktop made in last session will be lost if current desktop not saved manually. 3. Settings for toolbars are restored too. 4. I'm not sure that such behaviour for toolbars is right. ---------------------------------------------------------------------- forumuser · 2018-11-17 19:03 Thanks, FTurtle! I've had this setting disabled and after enabling it, these changed settings persist now Although it's a real hassle because it seems it's required to change them for every already existing desktop again^^ Do you know from which file Lazarus gets these elements to restore them if "Autosave active desktop" is disabled? I'd be tempted to modify that file instead... ---------------------------------------------------------------------- Xor-el · 2018-11-17 19:27 Quote from: FTurtle on November 17, 2018, 07:48:47 pm1.There is a checkbox Autosave active desktop in form Manage desktops. 2. When this checkbox is not checked, restarting of Lazarus restores last manually saved current desktop. So, any changes of desktop made in last session will be lost if current desktop not saved manually. 3. Settings for toolbars are restored too. 4. I'm not sure that such behaviour for toolbars is right. Thanks, this did solve my issue. ---------------------------------------------------------------------- FTurtle · 2018-11-17 20:58 Quote from: forumuser on November 17, 2018, 08:03:40 pmDo you know from which file Lazarus gets these elements to restore them if "Autosave active desktop" is disabled? I'd be tempted to modify that file instead... No, I did't dig yet how options are stored. ---------------------------------------------------------------------- JuhaManninen · 2018-11-17 22:27 Ah yes, it was the desktop issue. Quote from: FTurtle on November 17, 2018, 07:48:47 pm4. I'm not sure that such behaviour for toolbars is right. Toolbars are part of a visual "desktop". I think it is correct to include their settings there. Quote from: forumuser on November 17, 2018, 08:03:40 pmDo you know from which file Lazarus gets these elements to restore them if "Autosave active desktop" is disabled? I'd be tempted to modify that file instead... environmentoptions.xml in local config dir. See "Desktops" tag there.