Red Hat Bugzilla – Bug 185950
Authconfig-tui present unusable screen under Polish locale set.
Last modified: 2007-11-30 17:11:27 EST
Description of problem:
If Polish locale selected as system locale, the authconfig-tui presents no
useful screen on console. It consists only of blue bkg and movement tips at the
very last row of the screen (localized strings). However authconfig-tui reacts
on movement keys pressed ie. space, ESC or F12.
If it is run with C locale it presents full workable screen.
Version-Release number of selected component (if applicable):
After fresh install with no graphic desktops/X, when firstboot invokes
authconfig via setup or
on every run as root on console/xterm with Polish locale set.
Steps to Reproduce:
1.Fresh install with no X/Desktop and set Polish locale as system one, then
allow firstboot to invoke setup and authconfig. OR
2.Run it from command line or throuh setup tools on console/xterm as root.
Only unusable blue screen.
Usable screen with options to check/uncheck to set up authentication of the system.
Created attachment 126345 [details]
Scrshot of authconfig being run with Polish Locale (under xterm)
Seems to be a newt toolkit problem as it works fine with the same authconfig
version on FC-4.
Workaround - make the terminal window wider.
Hmm??? Make a terminal window wider.... But it also happens in bare console
outside xterm.. It happens during firstboot in text mode. Setting higher VGA
mode in console doesn't help.
*** Bug 186907 has been marked as a duplicate of this bug. ***
This is a problem that's turned up in the text parts of the installer (ethernet
device screen, partitioning screen), firstboot, and various configuration tools.
What we've determined matches up with what Tomas says - the text is too large
for the terminal, so newt simply doesn't draw the dialog on the screen. This is
a regression from FC4.
Attached is a reproducer in python for this bug. Make sure your terminal is
under 200 columns. Note that we can't resize the console, so this is a big
problem for us.
from snack import *
li = Listbox(5, returnExit = 1)
screen = SnackScreen()
g = Grid(1, 3)
g.setField(li, 0, 1, (0, 1, 0, 1))
f = Form("This is some help")
res = f.run()
Created attachment 126932 [details]
This patch fixes the regression.
Thanks Tom for the patch. An updated newt resolving this issue has been
pushed to fc5 updates.