Bug#420824: [Pkg-kbd-devel] Bug#420824: closed by Anton Zinoviev <zinoviev@debian.org> (Bug#420824: fixed in console-setup 1.16)

Anton Zinoviev anton at lml.bas.bg
Wed May 2 11:50:07 UTC 2007


On Wed, May 02, 2007 at 12:16:03PM +0100, Colin Watson wrote:
> 
> I'm not entirely sure I understand the reasoning for moving this out of
> the state loop.

The idea is that it seams to me safer if we don't modify the user's 
answers until the end.  Only at the end if we think that the user's 
choices are wrong, we fix the problem.

> However, it seems weird that if you select the br or jp layout by 
> accident and then back up and select something else then you still get 
> left with the abnt2 or jp106 layout. I'm not sure this is desirable 
> behaviour.

The backing up is not a problem because this code executes only after 
the state loop.  Or you mean backing up in the installer?  On the other 
hand consider a Japanese user who configures a Japanese layout with a 
jp106 keyboard and later dpkg-reconfigures console-setup for a different 
layout.  We don't want to change the keyboard model from jp106 to pc105 
without any notice to the user.

> How about having the automatic model correction code above also set
> default_model, so you can tell whether it was automatic correction or
> manual selection?

This won't work because the problem occures only when the package is 
reconfigured.  We need to keep the information about whether it was 
automatic correction or manual selection somewhere in Debconf database 
or in the config file.  Another option is an additional question for the 
user.

Anton Zinoviev






More information about the Pkg-kbd-devel mailing list