Hi,

I have found a couple of new bugs. Some trivial GUI stuff, a serious 
compiler warning and a real crash. As usual please find an updated bug 
list enclosed.

Michael

-- 
=======================================================================
Michael Schmitt                       Telefon: +49 651 97551-40
Institut für Telematik                Telefax: +49 651 97551-12
Bahnhofstrasse 30-32                  WWW:     http://www.ti.fhg.de
D-54292 Trier                         E-Mail:  mailto:[EMAIL PROTECTED]
=======================================================================

                LyX 1.2.0cvs - Bug list


  Please help me to keep this list up to date. 

  Report new or fixed bugs *directly* to '[EMAIL PROTECTED]'

*******************************************************************************

Checked last time on 2002/01/03:

- Include a (faulty?) TeX file into an empty document; press return in front
  of the include inset such that the cursor is now in an empty paragraph; export 
  to DVI -> crash

  #0  0x080cda79 in Paragraph::inInset (this=0x837c128) at paragraph.C:2083
  #1  0x080fa227 in LyXText::setCursorIntern (this=0x8371300, bview=0x8357e68, 
par=0x837c128, pos=0, setfont=true, boundary=false)
      at text2.C:2198
  #2  0x0805218b in BufferView::removeAutoInsets (this=0x8357e68) at BufferView2.C:147
  #3  0x08096e27 in Converters::runLaTeX (this=0x82da4e0, buffer=0x836d3d8, 
command=@0xbfffe984) at converter.C:848
  #4  0x080950ae in Converters::convert (this=0x82da4e0, buffer=0x836d3d8, 
from_file=@0xbfffea38, to_file_base=@0xbfffea3c,
      from_format=@0xbfffea58, to_format=@0xbfffebe8, to_file=@0xbfffea88) at 
converter.C:612
  #5  0x08098efe in Exporter::Export (buffer=0x836d3d8, format=@0xbfffebe8, 
put_in_tempdir=true, result_file=@0xbfffea88) at exporter.C:85
  #6  0x080991cd in Exporter::Preview (buffer=0x836d3d8, format=@0xbfffebe8) at 
exporter.C:107
  #7  0x080ae5a1 in LyXFunc::dispatch (this=0x8329470, ac=262, 
do_not_use_this_arg=@0xbfffec28) at lyxfunc.C:1062
  
- Menu item "Insert->Include file" is lacking some "..." (trivial GUI stuff)

- Andre: Have a look at the compiler warnings at the end of the document!!!

- I have included a plain LaTeX file (gnpf, reLyX did not import correctly) into
  my LyX document by "Insert->Include file" with option "Use verbatim".
  Unfortunately, LyX does not notice changes in the TeX file when viewing DVI.
  Is this a bug or an unimplemented feature? 

- Open menu "View->Table of Contents"; press on "TOC" (Type); "Txype" is misspelled

- Insert->Math->Inline formula does not allow to switch back from a display formula
  whereas Insert->Math->Display formula toggles between both modes; both makes
  no sense to me

- When I start LyX, the total window size is bigger than the size used for
  the document (i.e. there is a lot of space between the scroll bars and the window 
frame).
  Eventually, LyX crashes in this situation (when opening a new document):

  #0  0x402b1861 in kill () from /lib/libc.so.6
  #1  0x402b1665 in raise () from /lib/libc.so.6
  #2  0x402b2c81 in abort () from /lib/libc.so.6
  #3  0x081cd3bb in lyx::abort () at abort.C:9
  #4  0x080a1a5e in LyX_XErrHandler (display=0x42870ac8, xeev=0xbfffee5c) at 
lyx_gui.C:93
  #5  0x40166939 in _XError () from /usr/X11R6/lib/libX11.so.6
  #6  0x40164eeb in _XReply () from /usr/X11R6/lib/libX11.so.6
  #7  0x4014e8cd in XGetGeometry () from /usr/X11R6/lib/libX11.so.6
  #8  0x400ac4fe in fl_get_winsize () from /usr/X11R6/lib/libforms.so.0.89

- The spell checker dialog should not be resized by the user (even accidentally); 
  can you assign a hardcoded fixed size to it?

Checked last time on 2001/12/30:

- I did not read the full story: "My default paper is US letter, but this is not 
picked up by 
  layout-document-paper, which tries to use cm unless I explicitly specify letter 
again." (#146)

- copy and past text from any paragraph style into ERT works well now. But not 
  vice versa: the textcolor is not changed, it's always red (latex) and provides 
  latex errors like unknown color latex or unknown language latex (#143)

- It is intended that "del" in table cell dummy position does not delete cell contents 
  but "shift+del" does?

- When the zoom factor is changed in the preferences dialog, the size of 
  tables (cells) is not updated

- Shift+CTRL+End at dummy positions in tables has a strange effect when some cells are 
selected

- reLyX does not translate "\ " and "~" (protected spaces) inside tabulars correctly 
  (probably because reLyX still generates old-style tabulars)

- The file format for tables is absolutely bloated. Can't we suppress tags that have
  default values (e.g. endfoot="false" or width="0pt" )? Two tiny tables => >1500 
lines in LyX file!!! 

- Create a 5x5 table and insert anything in the first row; copy this whole row or part 
of it;
  paste it into the empty second row -> it's not possible to put the cursor anywhere 
in all
  cells of the new row, it jumps always in front of the text (#134)

- Open new doc; insert float; insert some text into the float; open other doc; close 
other doc
    -> cursor is at the beginning of the inset (normally it keeps its former position) 
(#131) 

  Test the same with a tabular instead of a float -> afterwards the cursor is in a 
different cell!

- Insert a note into an empty doc; insert an ERT into the note -> the note width 
changes on screen! (#147)

  Click with the _mouse_ past the ERT (but still within the note) -> the cursor is set 
past the ERT but the
  "TeX" button in the tool bar does not work (the corresponding menu entry 
"Insert->TeX" works) (#148)

- Create a document with a note inset, two ERTs (with dummy text) inside the note and 
some plain text
  (*nothing* else); perform "undo" (until empty doc) and "redo" again -> LyX crashes 
(difficult to reproduce;
  I hope the backtrace gives some useful information) (#149)

  #0  0x082209a8 in Row::height (this=0x7c118fdc) at lyxrow.h:106
  #1  0x080d038c in LyXScreen::drawFromTo (this=0x6e630fdc, text=0x6e56ce70, 
bv=0x5f8e8fec, y1=0, y2=414, y_offset=0, x_offset=0,
      internal=false) at screen.C:141
  #2  0x080d1327 in LyXScreen::update (this=0x6e630fdc, text=0x6e56ce70, 
bv=0x5f8e8fec, y_offset=0, x_offset=0) at screen.C:448
  #3  0x080571c0 in BufferView::Pimpl::update (this=0x5f8eaf28) at 
BufferView_pimpl.C:1015
  #4  0x080573a9 in BufferView::Pimpl::update (this=0x5f8eaf28, text=0x6e56ce70, f=7) 
at BufferView_pimpl.C:1087
  #5  0x0805177e in BufferView::update (this=0x5f8e8fec, text=0x6e56ce70, f=7) at 
BufferView.C:178
  #6  0x080529c7 in BufferView::menuRedo (this=0x5f8e8fec) at BufferView2.C:278

- When starting LyX for the first time, Screen DPI (in the preferences dialog) is set 
to "nan". 
  (LyX did not create an entry in lyxrc.defaults, just in lyxrc.example); I assume an 
uninitialized variable

- When changing some font property for a set of table cells, the cell selection is 
revoked.

- Create a 5x5 table and place a math formula "1*1" into the center cell; try to select
  "1*1" with the mouse -> won't work

- Menu items "Layout => XXX Style" are not updated for mathed (but the menu items 
  can be used in math mode!) (#130)

- Insert a (math) inset into a table cell. Then, move the cursor along the current 
  row. The lines at the bottom of other cells are erased (on screen) (#59)
 
- Insert a minipage inside a 1x1 table inside a figure float; then set the minipage 
width 
  to 90% (whatever that means) -> you cannot invoke the minipage dialog anymore;
  there are also general drawing and cursor positioning problems, e.g. try to cut the 
minipage 
  and paste it outside the figure

- Insert a figure float into an empty document; insert a minipage (width: 50%) into
  the float (-> background is painted incorrectly) (#155)

- In math mode, enter "a", "^", "_", "<cursorleft>", "<cursorleft>". The subscript of 
the 
  superscript is deleted correctly but a small dot remains as the superscript of "a" 
on screen.

- Place an ERT into a figure float; collapse it; place a minipage next to it 
  -> the green background is painted beyond the right border of the minipage (#155)

- Insert a minipage into an empty document; insert a few characters in front of the
  (open) minipage -> the minipage is moved past the right border of the LyX main 
window (#125)

- Szenario: An empty doc with an empty minipage; when editing plain text in front of 
the minipage
  I got the following message:

  #1  0x402b1665 in raise () from /lib/libc.so.6
  #2  0x402b2c81 in abort () from /lib/libc.so.6
  #3  0x081cc42b in lyx::abort () at abort.C:9
  #4  0x081e2b88 in void lyx::Assert<bool> (assertion=false) at LAssert.h:24
  #5  0x080cde2b in Paragraph::Pimpl::getChar (this=0x6e344fac, pos=57) at 
paragraph_pimpl.C:88
  #6  0x080cd7fa in Paragraph::getChar (this=0x6e342fdc, pos=57) at paragraph.C:2050
  #7  0x080ccbaa in Paragraph::isInset (this=0x6e342fdc, pos=57) at paragraph.C:1836
  #8  0x080e97f9 in LyXText::prepareToPrint (this=0x6e36ee70, bview=0x5fc5cfec, 
row=0x7f959fdc, x=@0xbfffe484, fill_separator=@0xbfffe4c0,
      fill_hfill=@0xbfffe4c0, fill_label_hfill=@0xbfffe4c0, bidi=false) at text.C:2117
  #9  0x080e69e8 in LyXText::setHeightOfRow (this=0x6e36ee70, bview=0x5fc5cfec, 
row_ptr=0x7f959fdc) at text.C:1535
  #10 0x080e8932 in LyXText::insertChar (this=0x6e36ee70, bview=0x5fc5cfec, c=32 ' ') 
at text.C:1936
  #11 0x080fe31b in TransManager::insertVerbatim (this=0x5e95cf84, str=@0xbfffe7b0, 
text=0x6e36ee70) at trans_mgr.C:262
  #12 0x080fe3f9 in TransManager::insert (this=0x5e95cf84, str=@0xbfffe7b0, 
text=0x6e36ee70) at trans_mgr.C:284
  #13 0x080fe28b in TransManager::TranslateAndInsert (this=0x5e95cf84, c=32 ' ', 
text=0x6e36ee70) at trans_mgr.C:252
 
- Insert/Special character/Linebreak shows a very strange behaviour within 
  mathed especially if you change from math formula to display formula 
  afterwards (#118)

- In the "open" dialog, "Documents" and "Examples" do not have shortcuts;
  in the "external material" dialog, "apply" is not activated if you enter the file 
name by hand

- German "ö" (o umlaut) has a strange effect in mathed (#154)

- Select some text; paste it with middle button (no highlighting); paste it again
  (highlighting), paste it again (no highlighting), ... (#35)

- The output of the list of possible completions given in the minibuffer if you enter, 
e.g.,
  "Alt+s" or "Alt+p" is delayed too long (how about 1 or 2 seconds only?) (#124)

- Open new document; insert->float->figure; insert->minipage;
  insert->old graphics; insert->tabular material next to the graphics;
  place the cursor anywhere in the table (dummy position or table cell
  doesn't matter).  Now click on the picture -> crash (#153)

- Create new doc; add 5x5 table; insert a letter into each cell of the first column;
  set the size of the letter in the topmost cell to tiny (alt+s t) -> incorrect redraw

- Place two 5x5 tables next to each other; add a URL inset into the cell in the center 
of
  the second table; try to open the inset with the left mouse button -> won't work 
(#152)

- Minibuffer message is duplicated:

     "LaTeX run number 2 (message LaTeX run number 2)"    

  Only occurs when you click at menu item "View/DVI"; CTRL-D works well (#122)
 
- Remove the old graphics inset (from GUI and from code
  if automatic conversion is activated and works satisfyingly) (#53)

- Create a table with only one column; why are the lines set differently from bigger 
tables?

- Create a table (2 columns, 30 rows; >>screen size); set the second column to fixed 
width;
  enter some text into a cell and place the cursor in the middle of the text; 
  scroll down using the mouse/scroll bar; select another cell -> the whole column is 
erased (#59)

- Create a very large table (2 cols x 30rows; >>screen size); when selecting cell text 
with shift-end or shift-pos1,
  the table scrolls quite often unnecessarily, whereas using just 
shift-cursorleft/right does not

- Select a set of cells in an empty table and press a key.  
  the text will be inserted in the last cell after the selection
  is cleared (good). but there will be a blue-background cursor
  trail, e.g. two cells above. (#56)

- Insert a figure float into an empty document; insert a _large_ table
  (>> screen size) into the figure float; add some text right after the 
  table (in a separate par); select the text -> it is not highlighted! (#127)

- Create new "article (koma-script)" document; insert a minipage; add three pars of 
text
  into the minipage; set the second par to "minisec" layout; set document to "SGML 
article";
  remove all error boxes -> error box inside the minipage is cleared internally but 
not _on screen_ 

- Create a document with about 10 open footnotes; then move to the end of the document 
and collapse
  the footnotes -> the scroll bar is not updated fully correctly (#132)

- If you do not press "save" immediately after pressing "modify" in the 
  Preferences/Converters dialog, you have no chance to do so later (#151)

- The width (on screen) is computed incorrectly for tables with vertically overlapping 
multicolumn cells. 
  Create a 3x3 table; make cols 1&2 in row 1 a multicol; make cols 2&3 in row 2 a 
multicol;
  fill multicols with text -> the cell in row 2 is enlarged even though it is not 
filled completely (#150)

- If several table cells are combined in one multicolumn cell, the content
  of all but the first cell is lost (hidden). IMHO the content of all cells
  should be merged in order to prevent unintended loss of text (#121)

- If a footnote is used inside a tabular which is 1) outside floats
  2) not in a minipage 3) no long-tabular, the following two lines have to be 
  inserted to the preamble (according to Dekel):
     \usepackage{footnote}
     \makesavenoteenv{tabular}
  Else you get a footnote symbol but no footnote text.

- Add some labels to your document, then open the "Reference" dialog.
  As soon as you move the cursor down in the list of references, 
  all references (i.e. their names) are shifted to the right
  The same problem occurs with "bibliography keys" in the citation dialog 
  (and in the spell checker dialog / the open document dialog)

- If I start LyX in my document directory, LyX should offer the current directory 
  as default location in the "Open..." dialog. But it always shows the home 
  directory instead. (#46)

- PageDown (only 5 lines downwards) and PageUp (movement to either the last
  or one but last line) do not work in a (large) note inset (#60)

- The scroll button of a wheel mouse does not work with insets as the cursor
  is blocked ("hangs") at some positions; the problem seems to be related to
  nested insets (observed with floats)

- Navigate does not work for algorithms and figures (#11)

Checked last time before 2001/12/06:

- It makes a difference whether you mark a whole table and press "Alt+s t" (for size 
"tiny")
  or you mark the text in each cell individually (line spacing is different!). On 
screen
  not difference can be observed! (it took me an hour to analyse the problem :-() (#36)

- After defining the Tgif (vector drawing program) file type and
  converters to eps and xpm, the graphics inset still does not process 
  my files. 


- Warnings and messages (2002/01/03)

formulabase.C:730: warning: #warning pretty ugly
math_cursor.C:804: warning: #warning This should probably take cellXOffset and 
cellYOffset into account
math_gridinset.C:50: warning: #warning fix this once the interface to LyXLength has 
improved

>>>>> math_iterator.C:144: warning: comparison of unsigned expression >= 0 is always 
>true

math_kerninset.C:42: warning: #warning fix this once the interface to LyXLength has 
improved
math_parser.C:922: warning: #warning A hack...
insetminipage.C:76: warning: #warning Remove this color definitions before 1.2.0 final!
insettabular.C:663: warning: #warning fix scrolling when cellinset has requested a 
scroll (Jug)!!!
insettabular.C:1411: warning: #warning This should be fixed in the right manner 
(20011128 Jug)
insettabular.C:2087: warning: #warning Remove use of VSpace as soon as 
LyXLength::inPixels exists (JMarc)
insettext.C:1103: warning: #warning I changed this to always return Dispatched maybe 
it is wrong (20011001 Jug)
insettext.C:2478: warning: #warning Dekel please have a look on this one RTL? (Jug)
insettext.C:2479: warning: #warning DEKEL!
lyxsum.C:23: warning: #warning lyx::sum() using mmap (lightning fast)
BufferView2.C:571: warning: #warning FIXME
BufferView_pimpl.C:838: warning: #warning variable c is set but never used. What is it 
good for?? (JMarc)
BufferView_pimpl.C:839: warning: #warning isnt this code dead ?? "open a float" ??? 
(jbl)
BufferView_pimpl.C:3258: warning: #warning Why is this code different from 
specialChar() below? (JMarc)
buffer.C:296: warning: #warning And _why_ is this here? (Lgb)
tabular.C:2360: warning: #warning Jose please have a look here I changed the longtable 
header/footer
tabular.C:2361: warning: #warning ---- options so I had to disable the docbook code 
(Jug 20011219)
text.C:2334: warning: #warning Dekel please have a look on this one RTL? (Jug)
text.C:2335: warning: #warning DEKEL!
text2.C:2203: warning: #warning I believe this code is wrong. (Lgb)
text2.C:2204: warning: #warning Jürgen, have a look at this. (Lgb)
text2.C:2205: warning: #warning Hmmm, I guess you are right but we
text2.C:2206: warning: #warning should verify when this is needed
text2.C:2428: warning: #warning This will not work anymore when we have multiple views 
of the same buffer

********************** Bugs that might not be fixed for 1.2.0 :-( 
*****************************

- Citation labels should reflect their content, i.e. if only the year is chosen
  in the citation dialog, then the label should show the year afterwards. (#114)

- Is there any way to speed up "Search&Replace" when it comes to wide tables? LyX 
redraws such 
  tables hysterically even though the search text is not found in them. IMHO LyX 
should only update
  the screen when some text is found or the search is finished (#43)

- You cannot delete empty LyX code paragraphs with the backspace key;
  however, you can delete them with the delete key (#4)
  The same holds for pars within ERT insets (BTW: How about replacing the
  lyxcode par layout by an inset? IIRC LyX code has some more problems caused 
  by them not being real environments)

- Wouldn't it be wiser to have "algorithm"/"figure"/etc. as an option to
  a general float? Currently, it is not possible to switch between types 
  once you have created the float (you must cut&paste the content).

- The citation ref. dialog should have a similar feature as the buffer choice in
  the cross ref. dialog (#123)

- A lot of math features are not visible in the GUI, e.g. font settings, macros; 
  IMHO the GUI should list all LyX features; most users do not read the manual and 
  will miss some of LyX's pearls (#119)

- Start LyX, open buffer, close buffer, have a look at the minibuffer (#51)

- In the label dialog, the buttons should be reordered ("ok"/"clear"/"cancel") (#85)

- Graphics dialog: 
   - It is not a good idea to clear the width and height fields if "scale" 
     is chosen (and vice versa); IMHO new buttons for the three sections
     default/height+width/scale should be added and the "Width"/"Height"/
     "Scale" labels should become grey if deselected (#112)
   - The insertion of a graphic should be delayed until "OK" is pressed 
   - What's the difference between OK and Apply? It seems to be
     impossible to add a second, third,... graphic with the same
     dialog (cf. reference dialogs) (#113)

- In the table dialog, you need to enter RETURN in order to set a fixed width
  for a column; this is not acceptable because "close" simply throws away your 
  change without a warning (#110)

- The year of the following bibtex entry is not shown correctly in the citation dialog 
(#109)

     @STRING{ ProcOfThe = "Proceedings of the " }
     @ARTICLE{FrinckeTomp96,
        AUTHOR =       {D. A. Frincke and A. Tompkins},
        JOURNAL =      {Journal of Computing and Information},
        NOTE =         {Special Issue: } # ProcOfThe # {Eighth International
                        Conference of Computing and Information (ICCI'96)},
        NUMBER =       {1},
        PAGES =        {986--999},
        TITLE =        {Using Symbolic Execution to Detect Undesirable
                        Program States},
        VOLUME =       {2},
        YEAR =         1996
     }

  Note: '#' is correct BibTeX notation!

Reply via email to