Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 68728

Summary: problems with newt-based applications in utf-8
Product: [Retired] Red Hat Linux Reporter: Leonid Kanter <leon>
Component: newtAssignee: Matt Wilson <msw>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-27 18:48:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 67218, 79579    
Attachments:
Description Flags
mouseconfig in gnome-terminal (the same on text console) none

Description Leonid Kanter 2002-07-12 22:00:52 UTC
Description of Problem:

newt is unable to calculate widget size if locale charmap is utf-8 and
non-english interface (2-byte characters) is in use

Version-Release number of selected component (if applicable):

newt-0.50.39-1

How Reproducible:

always

Steps to Reproduce:
1. set LANG=ru_RU.UTF-8
2. start mouseconfig


Actual Results:

display is broken

Expected Results:

must look like in ru_RU.KOI8-R (RHL 7.3)

Comment 1 Leonid Kanter 2002-07-12 22:02:08 UTC
Created attachment 65188 [details]
mouseconfig in gnome-terminal (the same on text console)

Comment 2 Leonid Kanter 2002-07-12 22:05:45 UTC
as you see, newt reserves dual space for strings on buttons (it counts bytes,
not characters) and for items in list. As a result, upper list widget doesn't
fit terminal size.

Comment 3 Matt Wilson 2002-12-27 18:48:55 UTC
Fixed in phoebe