On Sun, Nov 30, 2014 at 3:37 PM, FreeMan <[email protected]> wrote: > I wrote, open IDE and new application is started. just one TFORM > I think problem is, while writing in "environmentoptions.xml" just writing > visible items. > > <ComponentPaletteOptions> > <ComponentPages Count="21"> > <Page1 Value="Standard"> > <Components Count="3">
I guess you have 21 pages in total. They are all saved in the configuration. > Delete this tag from xml, IDE is started and component palette is normal. > Close IDE and restart, is normal. But No tag still in xml file. Sounds good. The configuration only saves a difference between the current layout and the default layout after you have changed something in Environment -> Component Palette options. ~2 week ago the code may have saved configurations even if you did not change anything but that is history now. > - While IDE is open, just minimize and restore IDE from task bar, bingo > components runaway :) I cannot reproduce this one. Minimizing/restoring the IDE does not trigger component palette changes anyhow. The only reason I can think of is that you have a DataModule which gets focus after restore. DataModule does not change the palette configuration but it triggers a dynamic filtering so that only components that can be inserted in DataModule are visible. > ok, Close IDE and reopen, components are there. xml has no tag still. > - While component are there, open IDE options ->env. options. Component > palette, "restore default" button is disable. everythink is normal. "Restore defaults" is disabled because there are no changes compared to defaults. See, the GUI is clever. :) > here we go, Make a Minimize and restore IDE, components gone, Open IDE > options and component palette options, "restore default" buton is still > disable. don't change anythink click ok. If check in > "environmentoptions.xml" <ComponentPaletteOptions> tag, there isn't there. > close IDE and check one more, xml is flashed or write while IDE closing but > just visible item infos, so next open IDE can't see, more then 3 for > standard tab > > <Page1 Value="Standard"> > <Components Count="3"> Do you mean the configuration file is written even you did not change anything in configuration GUI. That sounds impossible. Do you perhaps have a mixed or corrupted source repository? Please do: $ svn up $ svn diff What does it say? If there are differences, please do: $ svn revert -R . to get a clean source repo. Also do a clean build of Lazarus in any case. Juha -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
