>>>>> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> Dr. Richard E. Hawkins wrote: >> Yes; I can't even reproduce the order or pattern of blank/nonblank. >> All I have so far is that it seems to be affected by a failed >> import, abut also by using anything on the menu. Juergen> Here's what I figured out: Juergen> Start LyX: all is ok (5 import options) if I: a.) choose a Juergen> menu command without opening a doc (e.g. TeX information), Juergen> the whole "Import" item is greyed out. b.) open a doc, all Juergen> but ASCII (as lines, as pars) disappears Juergen> Having done b.), I get all 5 import options back if I move on Juergen> the menue bar to the right (from file to help) and back. If I Juergen> chose a menue command now (open a dialog), they disappear Juergen> again. This is with qt. This happens with xforms too. Actually it is not needed to open some dialog, just moving around in menus is needed. After some investigation, it turns out that the following patch cures the problem. I am not sure why this code caused these particular symptoms, but it was broken anyway. Lars, since the "(3)" is your doing, feel free to replace that with any C++ally correct construct that may make you feel good. JMarc
? config.h.in Index: src/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v retrieving revision 1.1007 diff -u -p -r1.1007 ChangeLog --- src/ChangeLog 8 Jan 2003 09:54:18 -0000 1.1007 +++ src/ChangeLog 8 Jan 2003 15:55:51 -0000 @@ -1,3 +1,8 @@ +2003-01-08 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> + + * importer.C (Loaders): do not preallocated 3 elements in the + vector, since one ends up with 6 elements otherwise + 2002-12-20 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * DepTable.C (write): write the file name as last element of the Index: src/importer.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/importer.C,v retrieving revision 1.21 diff -u -p -r1.21 importer.C --- src/importer.C 24 Nov 2002 15:19:54 -0000 1.21 +++ src/importer.C 8 Jan 2003 15:55:51 -0000 @@ -116,7 +116,7 @@ vector<Format const *> const Importer::G vector<string> const Importer::Loaders() { - vector<string> v(3); + vector<string> v; v.push_back("lyx"); v.push_back("text"); v.push_back("textparagraph");