Red Hat Bugzilla – Bug 71947
Make gdm login box scale according to text length
Last modified: 2007-04-18 12:45:41 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Description of problem:
The login request in german (Bitte geben Sie Ihren Benutzernamen ein) is too
wide for the dialog box. It't a cosmetic problem but looks strange.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set german as your default language
2. Look at the login request in GDM
*** Bug 72126 has been marked as a duplicate of this bug. ***
Alex how would we add support for scaling the box to the theme?
(not sure which code to look at for fixing that)
The login "box" is a vbox with stuff packed in it, so it's width is gonna depend
on the width of the strings in it.
I think the best solution is to add a "width" property to the text object and
then pango_layout_set_width() with that. Hmmm. Or would that always make it that
wide and then left-align the text? What we want is some sort of max-width.
This is basically the same problem as the pam-string wrapping. I had to add that
badhack to make it work.
Still not fixed in Red Hat 8.0
I thought hp worked on this?
Not fixed though.
Taking gdm target/blockers.
Hmm, in testing with current redhat-artwork and GDM,
"Bitte geben Sie Ihren Benutzernamen ein" seems to fit for all
Which makes it sort of hard to work on this bug. This is at 800x600,
the highest that tired old monitor will do. I'd expect it to
be _less_ of a problem at higher resolutions, however.
Does the problem still occur for your with gdm-184.108.40.206 from Raw Hide?
Seems to be already fixed for me with gdm-220.127.116.11-14 from Phoebe.
I'm not sure this is actually _fixed_ as opposed to just not a
problem with the current themes (it might show up with other
themes or even longer translations), but since it isn't a problem
currently I'm going to close.