[Debconf-devel] Bug#922279: debconf: Can't select long choices in dialog (whiptail) multiselect

Colin Watson cjwatson at debian.org
Tue Feb 26 09:30:29 GMT 2019


On Thu, Feb 14, 2019 at 09:44:46AM -0700, Kevin Locke wrote:
> On Thu, 2019-02-14 at 13:52 +0000, Colin Watson wrote:
> > On Wed, Feb 13, 2019 at 10:51:17PM -0700, Kevin Locke wrote:
> >> The problem is that the ellipsized choice text can't be mapped back
> >> to the choice value.  I have attached a patch which adds this
> >> mapping.
> > 
> > Oh dear.  Thanks - but doesn't Debconf::Element::Dialog::Select have
> > an analogous problem?
> 
> Yes indeed.  Good catch.  Here's an updated patch which fixes both.

Thanks.  At some point it would be nice to find a way to force the
choice texts to be unambiguous without overflow, e.g. by prepending or
appending a number.  But this works as far as it goes and fixes an IMO
serious bug, so I've just tidied up the indentation in your patch and
added a changelog entry, and will otherwise push it as is.

-- 
Colin Watson                                       [cjwatson at debian.org]



More information about the Debconf-devel mailing list