]> git.lyx.org Git - lyx.git/blob - Status.15x
Scons: refine scons installer
[lyx.git] / Status.15x
1 Debugging spree:
2 ----------------
3
4 Prizes (donated by Michael):
5
6   #1: LyX-labeled Tick Tock Wall Clock
7   #2: LyX-labeled Coffee and Tea Mug
8   #3: LyX-labeled Mousepad
9
10
11 **********************************************************************
12
13 BUGS:
14 -----
15
16 GENERAL
17
18 * Check FIXME, TODO, and #warning in the LyX code
19
20 * Resolve compiler warnings
21
22 * Watch for bugzilla.lyx.org entries
23
24    * Open bugs: http://tinyurl.com/y7hdzc
25
26      (unconfirmed/new/assigned/reopened + no enhancement + no 1.6.0 target + not 'fixedintrunk')
27
28    * Uncommitted patches: http://tinyurl.com/uvxat
29
30      (unconfirmed/new/assigned/reopened + no 1.6.0 target + keyword 'patch')
31
32
33 *******************************************
34 * PLEASE ADD NEW BUGS TO BUGZILLA.LYX.ORG *
35 *    THE DAYS OF THIS FILE ARE COUNTED    *
36 ******************************************* 
37
38
39 SPELL CHECKING (Joost 4/11/06)
40
41 * Words with umlauts or accents do not arrive as a whole word in the spell
42   checker.
43   PARTIALLY FIXED (Georg 2006-12-10): pspell should work (untested), ispell
44   works if lyxrc.isp_use_input_encoding == true, aspell works on linux,
45   cygwin and native windows (it is not clear yet whether it works on OS X).
46   ispell (if lyxrc.isp_use_input_encoding == false) does not work yet.
47
48
49 MENUS
50
51 * Some oddities with View menu on MAC (Bennett 3/11/06): DVI does not appear
52   in the menu, even though a converter and viewer are defined in Preferences.
53   It turned out that this was a user error: a configuration file of 1.4 was
54   used without the document flag.
55   This should definitely be documented somewhere before the final release,
56   because many users will copy their old config files.
57
58
59 LAYOUT
60
61 * environments when using czech translation doesnt work: e.g.
62   itemize("Polozka") -> ERROR (layoutSelected): layout not found! (P. Sanda)
63
64
65 PAINTING & PERFORMANCE
66
67 * END_LABEL_* handling in RowPainer::paintLast() is broken. In regular text,
68   label boxes are not completely visible (because we shrinked the margin on 
69   screen?). Inside of insets, they don't work at all. 
70
71 * Some math symbols are not displayed (from Enrico Forestieri)
72   I noticed that some math symbols are not shown on screen. This seems
73   to be platform dependent. The following is a table illustrating the
74   situation on three different platforms. Here "no" means that the
75   symbol is not shown on screen (the symbol is invisible but occupies
76   space: it is as a sort of \phantom), and "yes" that it is shown.
77   ---------------------------------------
78   Symbol         Linux   Solaris   Cygwin
79   ---------------------------------------
80   \Omega          no       no        no
81   \int            yes      yes       no
82   \oint           yes      yes       no
83   \otimes         no       no        no
84   \nleqslant      no       no        no
85   \spadesuit(*)   yes      no        yes
86   ---------------------------------------
87   (*) On solaris, a square is shown on screen instead of nothing.
88  - Further comments from Georg: This is probably a qt4 font drawing problem,
89    since \Omega works fine in 1.4.3, and my debugging results showed that the
90    correct font is found and used (cmr10).
91  - Solved problem with \int and \oint on Windows (Enrico 2006-12-06).
92  - On my linux box it looks a bit different: \int is shown if it was a \square,
93    bot about half as wide and in black instead of blue. For \Omega I see the
94    same as Enrico. (Georg 2007-01-18)
95
96
97 WONT FIX (for 1.5.0)
98
99 * There should be a close button on the tabs (Joost 3/11/06).
100   There is now a Qt feature request:
101   http://www.trolltech.com/developer/task-tracker/index_html?id=137891&method=entry
102
103 * TODO toolbar popup menu, currently disabled (Peter 9/11/06)  
104
105 * When content (sections/captions) is changed, the toc/lof/lot is not properly 
106   updated.
107   Abdel 2006-11-17: This one is not as simple as it seems as it involves a
108   TocBackend update at each keystroke. Unless we manage to update a specific
109   TocItem, this will be a WONTFIX for 1.5.0.
110
111   
112 **********************************************************************
113
114 CREDITS:
115 --------
116
117 * Performance on Windows is bad. On my system, scrolling the User Guide takes
118   10 seconds with LyX 1.4 and more than 30 seconds with LyX 1.5. 
119
120   FIXED (Abdel 04/11/06): This was due to spurious message in QLPainter.C,
121
122 * When I have the same document in two windows, only the last selected paragraph
123   in one of the windows gets updated.
124
125   FIXED (Abdel 04/11/06): This was due my singlePar optimization. With my last
126   commit, the optimization is enabled only if the WorkArea has the focus.
127
128 * No icon for "note-next" in the "review" toolbar.
129
130   ADDED (JSpitzm 2006-11-04).
131
132 * Branches gui broken (buttons do nothing).
133
134   FIXED (JSpitzm 2006-11-04).
135
136 * The title bar does not contain the document name when a new window is opened
137   (Joost 4/11/06).
138
139   FIXED (Abdel 05/11/06): This was due to "last_title" being a static variable
140   in LyXView::updateWindowTitle() and also due to a potential bug in Qt:
141   an update command to the window title seems to be ignored up until the window
142   is shown.
143
144 * src/frontends/qt4/ui/QCitationUi.ui:70 "&Selected citations:" should be
145   "&Selected Citations:".
146
147   FIXED (MGerz 2006-11-05)
148
149 * In the "Math Delimiters" dialog, there is no need to repeat the term "Size"
150   for all values in the selection box; the label is already named "Size"
151
152   FIXED (MGerz 2006-11-05)
153
154 * If you open Document>Settings... or Tools>Preferences... for the first time,
155   the dialog is much too small to show its content; if you invoke it the second
156   time, everything is fine.
157
158   This happens with qt 4.2.1 only, it does not happen with 4.1.4/4.1.5!
159
160   FIXED (JSpitzm-2006-11-06): force updateGeometry() after the panelstack has 
161   been created (with Qt >= 4.2 only). A brute method, but it works.
162
163 * All label and button texts in the Qt4 dialogs are not translated.
164
165   FIXED (MGerz 2006-11-07)
166
167 * Some English menu items don't have a '&' character. (box, date, paste...)
168
169   FIXED (MGerz 2006-11-07). I added shortcut whereever possible.
170
171 * When changing the toolbar settings in the right-button context menu of a 
172   visible toolbar, the modified settings are not considered for session management
173   
174   REPLACED with a new entry, popup disabled (Peter 2006-11-09)
175
176 * Toolbars always show on the top of the screen, even though they are set to
177   "bottom" in the ui file (Joost 3/11/06).
178
179   FIXED: use the defaul.ui value only when there is no valid position stored 
180          (1st start of lyx)  (Peter 7/11/2006)
181
182 * Window positions are not remembered correctly. Each time a window is openend
183   window again it has moved towards the bottom of the screen. (Joost 3/11/06)
184
185   FIXED (Peter 8/11/2006)
186
187 * Special handling of [[...]] in text messages is disabled in messages.C
188   FIXED (Georg 2006-11-12)
189
190 * broken signal/slot connection:
191   Object::connect: No such signal LengthCombo::selectionChanged(LyXLength::UNIT)
192   Object::connect:  (sender name:   'unitCO')
193   Object::connect:  (receiver name: 'QVSpaceUi')
194
195   FIXED (JSpitzm 2006-11-12)
196
197 * Cursor is still not visible on MAC Bennett (3/11/06).
198   FIXED (Abdel 2006-11-13)
199
200 * crash on Windows/Mac
201   1. new document
202   2. insert List/TOC->Bibtex Bilio
203   3. add a bibliography
204   4. View Source ->crash
205   FIXED (Peter 2006-11-14)
206
207 * In the TOC dialog, switching between the different TOC types (TOC, Table,
208   Float, etc.) is broken.
209   FIXED (Ugras)
210
211 * In the TOC dialog, the slider for altering the display level is
212   non-functional (not implemented).
213   FIXED (Ugras 2006-11-17)
214
215 * The correct list is not selected when right-clicking on a LOF or
216   LOT inset.
217   FIXED (Ugras 2006-11-17)
218
219 * When selecting a type which *is* already selected, the content in the 
220   browser window vanishes
221   FIXED (Ugras 2006-11-17)
222
223 * TOC crashes (simply make a few sections, subsections, sections; then add TOC
224   before all sections and click on the left button)
225   FIXED (Abdel, sometimes in november 2006).
226
227 * Items in the TOC cannot be moved using drag & drop (Joost 4/11/06).
228   WONTFIX (Abdel 2006-11-17): at least not for 1.5.0, this is just candy anyway.
229
230 * M-x is broken (does not bring up the minibuffer).
231   FIXED (Bo, 2006-11-18): set toolbar flag in display function.
232
233 * open a file; mark with the mouse and scroll; assert will fail:
234   FIXED (Abdel 2006-11-20): side effect of updateMetrics() cleanup.
235   
236 * Selection highlighting is broken. Test case: two paragraphs with "Hello"
237   and "World"; move cursor past "Wor", press Shift+Up 
238   FIXED (Abdel 2006-11-20): side effect of updateMetrics() cleanup.
239   
240 * Mac Crash (Bennett 3/11/06):
241   On launch from GUI (by double-clicking on the LyX icon). As I reported before,
242   this happens only when using the GUI; I can successfully start LyX from the
243   Terminal, with or without gdb. Hence the only debug information I get is this,
244   printed out in Console.app when I try launching from the GUI (note that the
245   number changes everytime):
246
247   Wrong command line option `-psn_0_182321153'. Exiting.
248
249   Hint from Andreas Vox: LyX must accept any option starting with '-psn' and
250   pass it oon to the Qt initialisation. On Mac this gives the app a link to the
251   Window system.
252   FIXED (Abdel 2006-11-25): Arguments are now passed to QApplication.
253   
254 * In the math control panel, "Detach panel" is broken (only 1 button is
255   visible in the detached panel).
256   FIXED (Edwin/Ugras 2006-11-XX)
257   
258 * Command completion in the minibuffer shows a huge blank area below the proposed
259   commands. Clicking in that empty area crashes LyX.
260   FIXED (????)
261  
262 * Copy/paste using middle mouse button inserts musical notes.
263   FIXED (Abdel 2006-11): Confirmed by Michael who couldn't reproduce on SuSE Linux 9.3)
264
265 * new document; insert note; place cursor in front of the note; activate change tracking;
266   press delete => assertion failed
267   FIXED (JMarc 2006-11)
268
269 * new document; insert note; insert "hello" into note; place the cursor at the beginning of the note;
270   activate change tracking; press backspace => seg fault
271   FIXED (Michael 2006-11-25)
272
273 * Mac Crash On quit (Bennett).
274   FIXED (Peter 2006-11-20)
275
276 * Drawing oddities on MAC (Bennett 3/11/06):
277   Lines occasionally overlapping vertically, math characters not properly
278   aligned vertically.
279   FIXED (JMarc 2006-11).
280
281 * Icons in the toolbars do not have the correct size, they are stretched a few
282   pixels compared to 1.4. This makes the images look jagged and the initial
283   window size has also become to small to show the whole toolbar
284   (Joost 4/11/06). See also the math panel buttons entry above.
285   FIXED (Peter, 2006-11-28)
286
287 * The -geometry option doesn't work on Windows (it did in 1.4.x)
288   c:\> lyx-qt4.exe -geometry 800x600+100+30
289   Wrong command line option `-geometry'. Exiting.
290   FIXED (Peter, 2006-11-29)
291
292 * When I "Save as..." in /tmp, I get a Backup error popup about non writable 
293   /tmp, which is obviously not true.  The file is there, and if I try to Save
294   as again, I get the overwrite popup warning twice: once in English, once 
295   in French. (J. P. Chretien)
296   FIXED (Michael (found the problem), Georg (fix), 2006-11-30)
297
298 * It is ridiculous that you have to call configure with --with-frontend=qt4.
299   The existance of config/qt.m4 does not make much sense either.
300   The first one is FIXED, the second WONTFIX (JMarc 07-12-2006)
301
302 * Open de_Intro.lyx => The footnote text in the title section exceeds the
303   footnote frame
304   FIXED (Enrico 2006-12-09). This was due to wrong metrics for small caps.
305
306 * Spell checking cannot be invoked a second time.
307   FIXED (Georg 2006-12-10). Abdel accidentally committed some test code in
308   revision 14970 which I reverted.
309
310 * The first time the spell checker is started, an empty window shown instead
311   of the first misspelled word.
312   FIXED (Georg 2006-12-10). This bug had the same resaon as the previous one.
313
314 * Create a new document; enter a few chars; press return; click on the previous paragraph 
315   with mouse to change the focus: lyx crashes. (happens on Win XP SP2, 
316   MSVC 2005 Prof., Scons) 
317   FIXED (JSpitzm 2006-12-11)
318
319 * open lyx, create a new document, enter a few chars, quit, click cancel, lyx
320   still quits.
321   FIXED (Enrico 2006-12-12)
322
323 * Non-ascii filenames do not work at all and result in an assertion or garbage.
324   FIXED (Georg 2006-12-12).
325
326 * LyX tries to delete /tmp if it is called with invalid arguments
327   FIXED (Enrico 2006-12-13)
328
329 * Start lyx, open a document, scroll down, open a new window, move 
330   the cursor back, lyx crashes because par::rows() is cleared when the
331   new window is created.
332   FIXED (Bo 2006-12-13)
333
334 * Start lyx, open a doc, open another window for the same
335   document. Now, from window A, click at paragraph X, scroll down to paragraph Y,
336   switch to window B, click, switch back to window A. When mouse moves, editXY()
337   finds the correct pit for paragraph Y, when click, editXY() finds paragraph X
338   and scroll back to it. (Bo, 12/14/2006)
339   FIXED (Abdel 2006-12-15)
340
341 * In the citation dialog, the shortcut for "&Find" does not work
342   FIXED (JSpitzm 2006-12-17)
343
344 * Graphics dialog: The order of fields is broken (when using <TAB> to jump from
345   one field to another)
346   FIXED (JSpitzm 2006-12-18)
347
348 * Mysterious *.po entry:
349
350   #: src/frontends/qt4/ui/QViewSourceUi.ui:31
351   msgid ""
352   "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" "
353   "white-space: pre-wrap; font-family:Sans Serif; font-size:13pt; font-"
354   "weight:400; font-style:normal; text-decoration:none;\"><p style=\"-qt-"
355   "paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; "
356   "margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>"
357   msgstr ""
358   FIXED (JSpitzm 2006-12-19)
359
360 * Loading de_Userguide.lyx results in two parse errors:
361   Paragraph ended in line 21206
362   Missing \end_layout.
363   Paragraph ended in line 21301
364   Missing \end_layout.
365   I don't know if that is a lyx2lyx or LyX problem. LyX 1.4 can read the file.
366   FIXED (Georg 2006-12-17). It turned out that it was a math parser problem
367   (bug 3034). It was introduced by the conversion of mathed to unicode,
368   because two methods Parser::tokenize() with different semantics existed.
369
370 * In the splash screen, the LyX version number is printed with a very, very
371   small font size such that it becomes almost invisible on Windows.
372   FIXED (Enrico 2006-12-21)
373
374 * Change Tools->Preferences->User interface->User interface to something like
375   "kornel.default.ui"; save prefs; exit LyX; restart LyX; => crash; 
376   in the preferences file, there is an entry \bind_file "/Something/kornel.default"
377
378   In QPrefsDialog.C:1736, function PrefUserInterface::select_ui() calls
379         form_->controller().browseUI(qstring_to_ucs4(uiFileED->text())))
380   which in turn calls
381         ControlPrefs.C:118
382         browseLibFile(lyx::from_ascii("ui"), file, lyx::from_ascii("ui"),
383                 _("Choose UI file"), FileFilterList(_("LyX UI files (*.ui)")));
384   In this function, the extension is removed, because it is the default ("ui" in 
385   this case). This behaviour applies to
386     ControlPrefs::browsebind,  ControlPrefs::browseUI
387     ControlPrefs::browsekbmap, ControlPrefs::browsedict
388   Setting the default extension here to something invalid, is a hack, but works.
389   (Invalid may be e.g. "*")
390   FIXED (Enrico and Georg 2006-12-21)
391
392 * When loading a LyX file from a Windows directory with a German Umlaut, I get the 
393   following error:
394
395     Assertion triggered in __thiscall lyx::support::FileName::FileName(const class 
396     std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)
397     by failing check "empty() || absolutePath(name_)" in file C:\...\src\support\filename.C:47
398
399   If I rename the directory (no Umlaut), I can load the file without a problem.
400   FIXED (Enrico and Georg 2006-12-21)
401
402 * when opening an already opened document (or a document with newer backup),
403   the mouse pointer turns into a clock, although it waits for confirmation
404   FIXED (Enrico 2006-12-21)
405
406 * The style name in the BibTeX Bibliography panel (near the Browse... button)
407   disappears after closing and reopening the panel.
408   FIXED (Enrico 2006-12-22)
409
410 * Create a new document; enter a few chars; press return; from the 
411   environments combo box on the top left corner select anything, e.g., 'Part'; 
412   try to enter text => you can't! 
413   MG: This must be a GUI problem; when using keyboard shortcuts (Alt-P-...),
414   the problem does not occur; it does not matter whether the cursor is in the last line
415   JSpitzm: The problem is that the workarea doesn't get focus after the combo selection.
416
417   FIXED (Abdel 2006-12-24): centralWidget() was not the WorkArea due to the new TabBar
418   support.
419
420 * On Windows (using scons/MSVC): Create an empty bibtex file, called 
421   'lit.bib'. Create a new LyX document 'lit.lyx' in the same directory
422   that has a bibliography inset pointing to lit.bib.
423   Now, if lit.[lyx|bib] are stored in a path with ASCII characters only,
424   class FileName is used as follows:
425     FileName::FileName(string const &): C:/foo/lit.lyx.emergency
426     FileName::FileName(string const &): C:/foo/#lit.lyx#
427     FileName::FileName(string const &): C:/foo/
428     FileName::FileName(string const &): C:/foo/lit.bib
429     FileName::FileName(string const &): C:/lyx-trunk/build-msvc/bin
430     FileName::FileName(string const &): C:/foo/lit.lyx,v
431     FileName::FileName(string const &): C:/foo/RCS/lit.lyx,v
432     FileName::FileName(string const &): C:/foo//CVS/Entries
433     FileName::FileName(string const &): C:/foo/lit.lyx
434   However, if the path contains a German Umlaut ("bäh"), LyX crashes:
435     FileName::FileName(string const &): C:/bäh/lit.lyx.emergency
436     FileName::FileName(string const &): C:/bäh/#lit.lyx#
437     FileName::FileName(string const &): C:/bäh/
438     FileName::FileName(string const &): C:/bäh/lit.bib
439     FileName::FileName(string const &): lit.bib
440     Assertion triggered in __thiscall lyx::support::FileName::FileName(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &) by failing check "empty() || absolutePath(name_)" in fil
441 e C:\cygwin\home\ms\lyx-trunk\src\support\filename.C:48
442   Odd, isn't it?
443   FIXED (Enrico (found problem) and Georg (fix) 2006-12-27)
444
445 * open a document full of marginal notes (other insets should also work),
446   select multiple insets from the begining twice, lyx crashed with
447     QLayout::addChildWidget: lyx::frontend::QCommandBuffer "" in wrong parent; moved to correct parent
448     Assertion triggered in void lyx::LyXText::dispatch(lyx::LCursor&, lyx::FuncRequest&) by failing check "cur.text() == this" in file src/text3.C:323
449     Abort
450   FIXED (Bo 2006-12-27)
451
452 * insert->note->lyx note, enter a few chars, collapse the note. Copy the note
453   several times (three lines?), use mouse to select. Lyx crashes with
454   Assertion triggered in void lyx::LyXText::dispatch(lyx::LCursor&, lyx::FuncRequest&) by failing check "cur.text() == this" in file src/text3.C:323
455   NOTE: this is unrelated to the button face-lift patch.
456
457   FIXED (Bo 2006-12-27)
458
459 * Open "de_Intro.lyx"; mark first word ("Einführung"); invoke "ert-insert" => seg fault
460   FIXED (Abdel 2006-30-12)
461   
462 * The items in the treeview are editable
463   FIXED (Peter 2006-30-12)
464
465 * Open de_UserGuide.lyx; go to the end of the document; click into the footnote (with the mouse -
466   this is important for the test case); add a character into the note 
467   => the complete footnote is expanded but only the current line is repainted
468   FIXED (Abdel 2006-12-29): following Paragraph and LyXText metrics cleanup.
469
470 * Spellchecker: The cursor does not go to the currently checked word (or
471   maybe it goes, but the screen is not updated so that one does not see the
472   word). http://bugzilla.lyx.org/show_bug.cgi?id=3064
473   FIXED (Abdel 2007-01-05):
474
475 * If you open Edit>Text Style... for the first time, the choice text for
476   "Never Toggled>Size" doesn't fit in the selection box (note that in German,
477   texts are a bit longer than in English). Interestingly, if you invoke the
478   dialog a second time, its button sizes are adjusted to their content.
479   This happens with qt >= 4.2 only, it does not happen with 4.1.4/4.1.5!
480
481   FIXED (2007-01-07 JSpitzm). I forgot to commit the ui changes last time.
482
483 * open an empty document; click on TOC (TOC dialog has no contents); touch TOC slider
484   => seg fault
485
486   FIXED (2007-01-07 JSpitzm). The slider is properly disabled now.
487
488 * If you open the graphics dialog for the first time, the "extra options"
489   tab is displayed. This is annyoing, of course the first tab with the
490   filename should be the default.
491
492   FIXED (2007-01-07 JSpitzm).
493
494 * Resolve compiler warnings
495   src/frontends/qt4/QPrefsDialog.C:944: warning: unused parameter 'nr'
496   FIXED (2007-01-07 Bo)
497
498 * Preview fails due to graphics converter bug:
499
500   File "C:/Dokumente und Einstellungen/itsme/Lokale Einstellungen/Temp/lyx_tmpdir1584a02224/lyxconvert0.py", line 14, in <module>
501      ...
502   IOError: [Errno 2] No such file or directory: 'C:/dokumente und einstellungen/itsme/Ver\xc3\xb6ffentlichungen/figures/myfigure.pdf'
503
504   There is a problem with a German Umlaut (ö= \xc3\xb6) 
505   FIXED (Enrico 2007-01-08)
506   
507  * open two documents with a toc (Intro, Tutorial), open TOC dialog, 
508   click on a item, switch to the other doc without closing the TOC dialog, 
509   click on the TOC button -> crash
510   FIXED (2007-01-19 Peter)
511
512 * If you try to view a document as postscript that cannot be typeset because
513   of LaTeX errors and export to LaTeX afterwards you will get the old error
514   list again, although the export succeded.
515   FIXED (2007-01-25 Abdel)
516   
517