Bug 185950 - Authconfig-tui present unusable screen under Polish locale set.
Summary: Authconfig-tui present unusable screen under Polish locale set.
Alias: None
Product: Fedora
Classification: Fedora
Component: newt   
(Show other bugs)
Version: 5
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Petr Rockai
QA Contact:
: 186907 (view as bug list)
Depends On:
Blocks: 189981
TreeView+ depends on / blocked
Reported: 2006-03-20 11:58 UTC by MW
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version: 0.52.2-6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-04-03 21:54:20 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Scrshot of authconfig being run with Polish Locale (under xterm) (18.51 KB, image/png)
2006-03-20 11:58 UTC, MW
no flags Details
Proposed patch (1.49 KB, patch)
2006-03-28 20:41 UTC, Tomas Mraz
no flags Details | Diff

Description MW 2006-03-20 11:58:47 UTC
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):

How reproducible:
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.
Actual results:
Only unusable blue screen.

Expected results:
Usable screen with options to check/uncheck to set up authentication of the system.

Additional info:

Comment 1 MW 2006-03-20 11:58:47 UTC
Created attachment 126345 [details]
Scrshot of authconfig being run with Polish Locale (under xterm)

Comment 2 Tomas Mraz 2006-03-20 14:02:12 UTC
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.

Comment 3 MW 2006-03-21 06:01:47 UTC
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.

Comment 4 Chris Lumens 2006-03-28 15:41:36 UTC
*** Bug 186907 has been marked as a duplicate of this bug. ***

Comment 5 Chris Lumens 2006-03-28 16:32:14 UTC
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)
li.append("a"*200, "f")
screen = SnackScreen()
g = Grid(1, 3)
g.setField(li, 0, 1, (0, 1, 0, 1))
g.place(1, 1)
screen.gridWrappedWindow(g, "title")
f = Form("This is some help")
res = f.run()

Comment 6 Tomas Mraz 2006-03-28 20:41:41 UTC
Created attachment 126932 [details]
Proposed patch

This patch fixes the regression.

Comment 7 Petr Rockai 2006-04-03 21:54:20 UTC
Thanks Tom for the patch. An updated newt resolving this issue has been 
pushed to fc5 updates.

Note You need to log in before you can comment on or make changes to this bug.