Bug 617066

Summary: [ml_IN] buttons at the bottom of software update screen is getting cut for Malayalam when resolution is lower (using vesa driver)
Product: Red Hat Enterprise Linux 6 Reporter: Praveen Arimbrathodiyil <parimbra>
Component: rhn-client-toolsAssignee: Miroslav Suchý <msuchy>
Status: CLOSED ERRATA QA Contact: Martin Minar <mminar>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: aalam, apeter, borgan, ddumas, eng-i18n-bugs, eng-l10n-bugs, ktakemur, llim, mbanas, mkoci, mminar, syeghiay
Target Milestone: rcKeywords: RHELNAK, Translation
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: firstboot-1.110.7-1 rhn-client-tools-1.0.0-46.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 09:04:54 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
screenshot showing buttons getting cut
none
screenshot showing buttons not getting cut (malayalam)
none
Screen shot of firstboot none

Description Praveen Arimbrathodiyil 2010-07-22 02:25:14 EDT
Created attachment 433589 [details]
screenshot showing buttons getting cut

Description of problem:

Buttons to accept or reject Red Hat Network configuration is getting cut at the bottom (screenshot attached)

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


How reproducible:
always

Steps to Reproduce:
1. use vesa driver for installation (xdriver=vesa nomodeset)
2. check if resolution is smaller
3. proceed to firstboot
  
Actual results:

buttons are getting cut when there is enough space to resize the message to fit the screen

Expected results:

proper display of buttons

Additional info:
Comment 2 RHEL Product and Program Management 2010-07-22 02:57:52 EDT
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **
Comment 3 David Cantrell 2010-07-22 10:05:26 EDT
This is a problem with the translation information for the language you are using.  It is too large, causing the window to grow beyond the screen size.  Filing a translation request via localization-services@redhat.com.  Closing this bug since the translators track their issues via a different system.
Comment 5 Ankit Patel 2010-08-10 03:31:26 EDT
Created attachment 437788 [details]
screenshot showing buttons not getting cut (malayalam)

Please check this, it's working fine with firstboot-1.110.7-1.el6.
Comment 7 Kenichi Takemura 2010-08-18 23:06:32 EDT
I used virt-install to verify this bug.

Seems still to exist.

Can you help me to check?
Comment 8 Kenichi Takemura 2010-08-18 23:07:12 EDT
Created attachment 439569 [details]
Screen shot of firstboot
Comment 9 Martin Banas 2010-08-24 08:46:15 EDT
I can see the same error as Kenichi Takemura, resolution 800x600. Moving back to assigned
Comment 10 Denise Dumas 2010-08-24 09:24:07 EDT
Moving to 6.1, does not meet blocker criteria
Comment 11 Ankit Patel 2010-09-01 07:36:49 EDT
Hi Ani,

Is it possible to shorten the translations shown in the attachment #433589 [details] ?

Thanks!
Ankit
Comment 12 RHEL Product and Program Management 2010-11-15 19:49:29 EST
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.
Comment 13 Martin Gracik 2010-11-18 08:56:04 EST
This module comes from rhn-client-tools, it implements that dialog window in question, so I'm changing the component to rhn-client-tools.
Comment 14 Ankit Patel 2010-12-10 07:47:47 EST
Ani ping.
Comment 15 Ani Peter 2010-12-17 02:29:29 EST
All,
Have shortend the translations and committed upstream and downstream:

https://translate.fedoraproject.org/projects/p/spacewalk/c/rhn-client-tools/raw/client/rhel/rhn-client-tools/po/ml.po

However the issue is not fixed yet. On testing I noticed that its working well on normal resolution. But on this particular resolution what happens is, for Malayalam, the messages on the screen like in screenshot appears in four lines. Whereas in all other languages it works well and fits correctly in two lines.
Comment 16 Ankit Patel 2010-12-17 04:19:09 EST
Thanks Ani.

I have checked languages other Malayalam too and found similar issue exist with almost all of them. It's not a translation problem that we can solve. It has something to do with the width of the text appears in the dialog box that appears on the screen.

Requesting developers and/or i18n engineers to look at it.

Thanks,
Ankit
Comment 17 Miroslav Suchý 2011-01-19 08:50:58 EST
Note to myself. In locale en_US has this window size 468x434. In ml_IN it has size 586x640.
Therefore if you have screen height 600px (probably some netbook) you are unable to reach those buttons.
Comment 18 Miroslav Suchý 2011-01-19 10:17:20 EST
If I replace
<property name="width_chars">-1</property>
with:
<property name="width_request">600</property>
resp.
<property name="width_request">460</property>

make the size of window 646 x 470 (ml_IN) resp. 646 x 427 (en_US).

So it gain more on width (where is enought space) and lost on height.
Comment 19 Miroslav Suchý 2011-01-19 10:32:17 EST
commited to spacewalk.git as commit 62fdbf568bfcf3bf7ad646d4aa52987ba30cd05d
cherry picked to satellite.git as commit 2ca7e13c93616acfceeb3a5840c3db21cb5f2073
Comment 21 Martin Minar 2011-02-18 07:53:40 EST
Resolution reduce verified in rhn-setup-1.0.0-48.el6.noarch.
Comment 22 errata-xmlrpc 2011-05-19 09:04:54 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0565.html