[Aptitude-devel] Bug#613794: Bug#613794: aptitude: cursor position in textfields. Usability improvement.

Axel Beckert abe at debian.org
Thu Oct 1 22:19:53 UTC 2015


Antonio Ospite wrote:
> > >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.

JFTR: This only happens if aptitude::UI::Minibuf-Prompts is set to
false (which is the default). If set to true, the cursor is always at
the end of the shown text.

> I still think that the natural position of the cursor should be at the
> end of the already inserted text, and I would like to hear the opinion
> of others about it, but I will survive even without all that :)

I never was annoyed by that because I always use
aptitude::UI::Minibuf-Prompts=true, but I would be annoyed if the
mini-buffer would behave like the search box does.

I think, we should make both cases behave the same way. And from my
point of view, the "right" way is that the cursor should be at the end
of the text, too.

		Regards, Axel
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

More information about the Aptitude-devel mailing list