Bug 68728 - problems with newt-based applications in utf-8
Summary: problems with newt-based applications in utf-8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: newt
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matt Wilson
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks: 67218 79579
TreeView+ depends on / blocked
 
Reported: 2002-07-12 22:00 UTC by Leonid Kanter
Modified: 2007-04-18 16:44 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-12-27 18:48:55 UTC
Embargoed:


Attachments (Terms of Use)
mouseconfig in gnome-terminal (the same on text console) (47.96 KB, image/png)
2002-07-12 22:02 UTC, Leonid Kanter
no flags Details

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


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