Bug#581569: anjuta: Auto indenting large file takes extremely long and locks up Anjuta
Jeremy Salwen
jeremybubs at gmail.com
Thu May 13 18:10:15 UTC 2010
Package: anjuta
Version: 2:2.30.0.0-3
Severity: normal
When attempting to auto-indent a large file, anjuta takes a rediculous amount of time.
Rather than simply indenting it in the background, it scrolls down, line by line, waiting for the display to refresh for every line. When dealing with a couple of thousand lines, this can take an extremely long amount of time.
It seems that the scrolling down is what makes it so slow, because if you indent a selection of text which is entirely visible, it indents almost instantly, but if you select more than a screen's worth of text, then it will scroll down line by line, taking maybe half a second at each line.
While it is doing so, anjuta is entirely unresponsive and takes up 100% CPU.
Even if it were not for the extreme slowness of it, it might be desirable not to scroll down when you autoindent a file.
Steps to reproduce:
Open a large text file (a few thousand lines)
Select everything (CTRL A)
Autoindent (CTRL I)
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'proposed-updates'), (90, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.33.3-rt17 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages anjuta depends on:
ii anjuta-common 2:2.30.0.0-3 A GNOME development IDE, for C/C++
ii libanjuta0 2:2.30.0.0-3 A GNOME development IDE, for C/C++
ii libapr1 1.4.2-3 The Apache Portable Runtime Librar
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-4 The Cairo 2D vector graphics libra
ii libdevhelp-1-1 2.30.0-1 Library providing documentation br
ii libgcc1 1:4.4.4-1 GCC support library
ii libgconf2-4 2.28.1-3 GNOME configuration database syste
ii libgda-4.0-4 4.0.7-1 data abstraction library based on
ii libgdl-1-3 2.30.0-1 GNOME DevTool libraries
ii libgladeui-1-9 3.6.7-1 GTK+ User Interface Build core lib
ii libglib2.0-0 2.24.0-1 The GLib library of C routines
ii libgtk2.0-0 2.20.0-3 The GTK+ graphical user interface
ii libgtksourceview2.0-0 2.10.0-1 shared libraries for the GTK+ synt
ii libpango1.0-0 1.28.0-1 Layout and rendering of internatio
ii libstdc++6 4.4.4-1 The GNU Standard C++ Library v3
ii libsvn1 1.6.9dfsg-1 Shared libraries used by Subversio
ii libunique-1.0-0 1.1.6-1 Library for writing single instanc
ii libvala0 0.8.1-1 C# like language for the GObject s
ii libvte9 1:0.24.0-3 Terminal emulator widget for GTK+
ii libwebkit-1.0-2 1.1.17-2 Web content engine library for Gtk
ii libxml2 2.7.7.dfsg-2 GNOME XML library
ii libxslt1.1 1.1.26-3 XSLT processing library - runtime
Versions of packages anjuta recommends:
ii autoconf 2.65-4 automatic configure script builder
ii autogen 1:5.10-1.1 automated text file generator
ii automake 1:1.11.1-1 A tool for generating GNU Standard
ii g++ 4:4.4.3-1 The GNU C++ compiler
ii gcc 4:4.4.3-1 The GNU C compiler
ii gdb 7.0.1-2 The GNU Debugger
ii intltool 0.41.1-1 Utility scripts for internationali
ii liblocale-gettext-perl 1.05-6 Using libc functions for internati
ii libtool 2.2.6b-2 Generic library support script
ii make 3.81-8 An utility for Directing compilati
ii yelp 2.30.0+webkit-1 Help browser for GNOME
Versions of packages anjuta suggests:
pn glade-gnome <none> (no description available)
ii libgtk2.0-dev 2.20.0-3 Development files for the GTK+ lib
pn libgtkmm2.0-dev <none> (no description available)
pn valac <none> (no description available)
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list