Package: aptitude
Version: 0.6.3-3.2
Severity: wishlist

Hi,

maybe we can improve the cursor position in textfields (search box, limit
display box): currently it is always at the _beginning_ of textfields, even
when there is text in them already.

Here is how aptitude behaves now:
 1. Open the Search box (For example with the '/' key)
 2. Insert some text and press OK
 3. Open the Search box again, the cursor is shown at the _beginning_ of the
    previously inserted text.
 4. To replace the text the user can:
    a. Insert a new text directly, _replacing_ the current one altogether
    b. Use the right arrow key to put the cursor at the end of the text and
       use Backspace to delete it (Del/Canc does not seem to work).

I observed myself doing 4b. most of the time (I should really say "always"),
and moving the cursor is kind of annoying.

However, if it was decided that the cursor has to be shown at the _end_ of the
text box then 4a. would not be look right either, the user would expect to
_append_ new characters to the text when inserting something new.

Bottomline, I propose to put the cursor at the _end_ of the text in textfields
and only allow to delete the text with backspace, in order to follow what IMHO
are the "expectations" of most of the users.

If the current behavior depends on ncurses and not directly on aptitude, then
sorry for the noise.

With Kind Regards,
   Antonio Ospite
   http://ao2.it

-- Package-specific info:
aptitude 0.6.3 compiled at Oct 16 2010 18:18:04
Compiler: g++ 4.4.5
Compiled against:
  apt version 4.10.1
  NCurses version 5.7
  libsigc++ version: 2.2.4.2
  Ept support enabled.
  Gtk+ support disabled.

Current library versions:
  NCurses version: ncurses 5.7.20100313
  cwidget version: 0.5.16
  Apt version: 4.10.1
        linux-vdso.so.1 =>  (0x00007fff1d694000)
        libapt-pkg.so.4.10 => /usr/lib/libapt-pkg.so.4.10 (0x00007ff564d69000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007ff564b16000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007ff564910000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007ff564644000)
        libept.so.1 => /usr/lib/libept.so.1 (0x00007ff5643f0000)
        libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007ff563feb000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007ff563dd4000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007ff563b39000)
        libboost_iostreams.so.1.42.0 => /usr/lib/libboost_iostreams.so.1.42.0 
(0x00007ff56391d000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007ff563701000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007ff5633ed000)
        libm.so.6 => /lib/libm.so.6 (0x00007ff56316a000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007ff562f54000)
        libc.so.6 => /lib/libc.so.6 (0x00007ff562bf3000)
        libutil.so.1 => /lib/libutil.so.1 (0x00007ff5629ef000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007ff5627eb000)
        libuuid.so.1 => /lib/libuuid.so.1 (0x00007ff5625e6000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007ff5623d6000)
        librt.so.1 => /lib/librt.so.1 (0x00007ff5621ce000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff565098000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-rc5-ao2 (SMP w/1 CPU core)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg4.10]    0.8.11.4         Advanced front-end for dpkg
ii  libboost-iostreams1.42. 1.42.0-4         Boost.Iostreams Library
ii  libc6                   2.11.2-11        Embedded GNU C Library: Shared lib
ii  libcwidget3             0.5.16-3         high-level terminal interface libr
ii  libept1                 1.0.4            High-level library for managing De
ii  libgcc1                 1:4.4.5-11       GCC support library
ii  libncursesw5            5.7+20100313-5   shared libraries for terminal hand
ii  libsigc++-2.0-0c2a      2.2.4.2-1        type-safe Signal Framework for C++
ii  libsqlite3-0            3.7.4-2          SQLite 3 shared library
ii  libstdc++6              4.4.5-11         The GNU Standard C++ Library v3
ii  libxapian22             1.2.4-1          Search engine library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages aptitude recommends:
ii  apt-xapian-index              0.41       maintenance and search tools for a
pn  aptitude-doc-en | aptitude-do <none>     (no description available)
ii  libparse-debianchangelog-perl 1.1.1-2.1  parse Debian changelogs and output
ii  sensible-utils                0.0.6      Utilities for sensible alternative

Versions of packages aptitude suggests:
pn  debtags                       <none>     (no description available)
ii  tasksel                       2.89       Tool for selecting tasks for insta

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to