[Pkg-lyx-devel] Bug#557832: lyx: When deleting (w/backspace) the last line, the cursor jumps too high

Wolfgang Weisselberg g35fckt001 at sneakemail.com
Tue Nov 24 18:56:39 UTC 2009


Package: lyx
Version: 1.6.4-1
Severity: normal

How to reproduce:
- Create a new document.  
- Fill it with fill text, so that the LyX text window is
  full.
- Go to the end of the last line.
- Start backspacing characters.

At one point during the backspacing the rest of the last line will
be folded into the preceeding line.  The space of the last line
disappears.  However, the cursor is placed not at the end of the
now new last line, but at the begin of the last-but-one line ---
the next backspace deletes a character from the last-but-two line!

e.g. If this is the LyX entry window, showing the end of the text,
and the window is full and has more lines above the top, with
'<' representing the cursor:
   +---------------------------------+
   | na, oa sanga fassë rimpë rac.   |
   | Pendë cenvéla mittanya sú oio,  |
   | ma lir venë rimpë, sí liéva     |
   | hísië onóro ata. Coa cíla píca  |
   | lauta at. Sundo tulma cu nót,   |
   | ran ilma vairë linwelë ai,      |
   | norta<                          |
   +---------------------------------+
then pressing backspace once yields this:
   +---------------------------------+
   | Ehtë tareldar tanwëataquë nat   |
   | na, oa sanga fassë rimpë rac.   |
   | Pendë cenvéla mittanya sú oio,  |
   | ma lir venë rimpë, sí liéva     |
   | hísië onóro ata. Coa cíla píca  |
   |<lauta at. Sundo tulma cu nót,   |
   | ran ilma vairë linwelë ai, nort |
   +---------------------------------+
where the cursor '<' is in front of "lauta" instead behind "nort".

-Wolfgang Weisselberg

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lyx depends on:
ii  libaiksaurus-1.2-0c2a  1.2.1+dev-0.12-6  an English-language thesaurus (dev
ii  libaspell15            0.60.6-2          GNU Aspell spell-checker runtime l
ii  libboost-regex1.39.0   1.39.0-6          regular expression library for C++
ii  libboost-signals1.39.0 1.39.0-6          managed signals and slots library 
ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
ii  libgcc1                1:4.4.2-3         GCC support library
ii  libqtcore4             4:4.5.3-4         Qt 4 core module
ii  libqtgui4              4:4.5.3-4         Qt 4 GUI module
ii  libstdc++6             4.4.2-3           The GNU Standard C++ Library v3
ii  libx11-6               2:1.3.2-1         X11 client-side library
ii  lyx-common             1.6.4-1           Architecture-independent files for
ii  mime-support           3.46-1            MIME files 'mime.types' & 'mailcap
ii  xdg-utils              1.0.2-6.1         desktop integration utilities from
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages lyx recommends:
ii  dvipng            1.12-2                 convert DVI files to PNG graphics
ii  evince [pdf-viewe 2.28.1-1               Document (postscript, pdf) viewer
ii  ghostscript       8.70~dfsg-2+b1         The GPL Ghostscript PostScript/PDF
ii  gv [pdf-viewer]   1:3.6.7-1              PostScript and PDF viewer for X
ii  imagemagick       7:6.5.7.8-1            image manipulation programs
ii  kghostview [pdf-v 4:3.5.9-3+lenny2       PostScript viewer for KDE
ii  kpdf [pdf-viewer] 4:3.5.9-3+lenny2       PDF viewer for KDE
ii  okular [pdf-viewe 4:4.3.2-1              document viewer for KDE 4
ii  poppler-utils     0.12.0-2.1             PDF utilitites (based on libpopple
ii  preview-latex-sty 11.85-1                extraction of elements from LaTeX 
ii  psutils           1.17-27                A collection of PostScript documen
ii  texlive-fonts-rec 2007.dfsg.2-1~lenny2   TeX Live: Recommended fonts
ii  texlive-latex-ext 2007.dfsg.17-1~lenny02 TeX Live: LaTeX supplementary pack
ii  texlive-latex-rec 2007.dfsg.2-1~lenny2   TeX Live: LaTeX recommended packag
ii  ttf-lyx           1.6.4-1                TrueType versions of some TeX font
ii  xpdf-reader [pdf- 3.02-1.4+lenny1        Portable Document Format (PDF) sui

Versions of packages lyx suggests:
pn  chktex                      <none>       (no description available)
ii  cups-bsd [lpr]              1.4.2-2      Common UNIX Printing System(tm) - 
ii  cups-client                 1.4.2-2      Common UNIX Printing System(tm) - 
pn  dvipost                     <none>       (no description available)
ii  elinks [www-browser]        0.12~pre5-1  advanced text-mode WWW browser
pn  gnuhtml2latex               <none>       (no description available)
ii  groff                       1.20.1-6     GNU troff text-formatting system
ii  iceweasel [www-browser]     3.5.5-1      lightweight web browser based on M
ii  konqueror [www-browser]     4:4.3.2-1    KDE 4's advanced file manager, web
pn  latex2rtf                   <none>       (no description available)
ii  libtiff-tools               3.9.2-1      TIFF manipulation and conversion t
ii  links [www-browser]         2.2-1+b1     Web browser running in text mode
pn  linuxdoc-tools              <none>       (no description available)
ii  lynx-cur [www-browser]      2.8.8dev.1-1 Text-mode WWW Browser with NLS sup
ii  menu                        2.1.42       generates programs menu for all me
pn  noweb                       <none>       (no description available)
ii  rcs                         5.7-25       The GNU Revision Control System
pn  sgmltools-lite              <none>       (no description available)
pn  tex4ht | hevea | tth | late <none>       (no description available)
pn  writer2latex                <none>       (no description available)
pn  wv                          <none>       (no description available)

-- no debconf information





More information about the Pkg-lyx-devel mailing list