[Pkg-kde-extras] Bug#567126: kile: syntax checking/highlighting slows down when typing large documents

r.ductor r.ductor at gmail.com
Wed Jan 27 14:37:40 UTC 2010

Package: kile
Version: 1:2.1.0~svn1014763beta2-1
Severity: normal

When writing large documents the syntax checking/highlighting uses high rates of CPU
(near 100% 1 core) and delays the editing of seconds
(on a 4 cores machine with 8 GB of RAM, for a document of 9000 lines).
This is typical in situations where there is a pair of tags to match like e.g.
1) I have $x$
2) I delete $ => $x and kile starts to rescan the whole file.....
3) I have to wait a couple of seconds to see the other characters I typed, say yz$ inserted to give $xyz$.

Naively I would suggest that syntax checking/editing should be immediately interrupted by new editing,
or that hightlighting needing a scan of the whole file, like matching pairs of $, should wait for a threshold time 
of 2-3 seconds of inactivity before starting.

Hope the situation will improve,
because this reminds me of the old times when people typed in X terminals connected to overloaded Sun stations....
Good luck

This bug is related, but not equal, to bug #356047  kile: cursor moves too slow
-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kile depends on:
ii  kdebase-runtime               4:4.3.4-2  runtime components from the offici
ii  kdelibs5                      4:4.3.4-1  core libraries for all KDE 4 appli
ii  konsole                       4:4.3.2-1  X terminal emulator for KDE 4
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  libgcc1                       1:4.4.2-8  GCC support library
ii  libqt4-dbus                   4:4.5.3-4  Qt 4 D-Bus module
ii  libqt4-network                4:4.5.3-4  Qt 4 network module
ii  libqt4-script                 4:4.5.3-4  Qt 4 script module
ii  libqt4-svg                    4:4.5.3-4  Qt 4 SVG module
ii  libqt4-xml                    4:4.5.3-4  Qt 4 XML module
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-8    The GNU Standard C++ Library v3
ii  texlive-binaries [texlive-bas 2009-5     Binaries for TeX Live
ii  texlive-latex-base            2009-7     TeX Live: Basic LaTeX packages

Versions of packages kile recommends:
ii  asymptote                 1.88-2         script-based vector graphics langu
ii  context                   2009.11.26-2   powerful TeX format
ii  dblatex                   0.2.12-2       Produces DVI, PostScript, PDF docu
ii  dvipng                    1.12-3         convert DVI files to PNG graphics
ii  evince                    2.28.2-1       Document (postscript, pdf) viewer
ii  ghostscript               8.70~dfsg-2+b1 The GPL Ghostscript PostScript/PDF
ii  iceweasel                 3.5.6-1        lightweight web browser based on M
ii  imagemagick               7:    image manipulation programs
ii  kbibtex                   0.2.3-1        BibTeX editor for KDE
ii  konqueror                 4:4.3.2-1      KDE 4's advanced file manager, web
ii  latex2html                2008-2         LaTeX to HTML translator
ii  lilypond                  2.12.2-1+b1    A program for typesetting sheet mu
ii  okular                    4:4.3.4-1+b1   document viewer for KDE 4
ii  psutils                   1.17-27        A collection of PostScript documen
ii  tex4ht                    20090611-1+b2  LaTeX and TeX for Hypertext (HTML)
ii  texlive-base [dvipdfmx]   2009-7         TeX Live: Essential programs and f
ii  texlive-metapost          2009-7         TeX Live: MetaPost (and Metafont) 
ii  texlive-xetex             2009-7         TeX Live: XeTeX packages
ii  zip                       3.0-1          Archiver for .zip files

Versions of packages kile suggests:
ii  aspell                        0.60.6-2   GNU Aspell spell-checker
ii  ispell               International Ispell (an interacti
pn  kile-doc                      <none>     (no description available)
pn  kile-i18n                     <none>     (no description available)
ii  texlive-doc-base              2009-2     TeX Live: TeX Live documentation

-- no debconf information

More information about the pkg-kde-extras mailing list