|
Bugzilla – Full Text Bug Listing |
| Summary: | gdm should have a dpi of 96 by default | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Travis Hansen <thansen> |
| Component: | GNOME | Assignee: | Federico Mena Quintero <federico> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <nld10-bugs-qa> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | CC: | federico, landemaine, tom.horsley, vuntz |
| Version: | Factory | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | openSUSE 10.3 | ||
| Whiteboard: | gnome-wrong-out-of-the-box, gnomeup-gdm | ||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 338002 | ||
|
Description
Travis Hansen
2006-04-20 20:09:21 UTC
Actually, we should do something similar to what we do in bug #217790 (see attachment #106649 [details] for some skeleton code). Basically: 1. We figure out the DPI from the physical dimensions of the screen which the X server reports. 2. If this DPI is within a reasonable range ([50, 500] in the code), we use it. Otherwise, we use 96 DPI and assume that the server is broken. You can reproduce this bug by putting "DisplaySize 16 16" in the "Monitor" section of your xorg.conf. GDM will get *huge* fonts in the username/password entry, and in the dialogs which you can select. Oddly enough, all the other text in the login screen appears with a reasonable size. I think I've seen some code in GDM attempting to guess the DPI of the display... I think there is code in there to try to guess the dpi. I just think we should default to 96 and let people change it if they want. Other OS's/Distros/etc default to 96, and GNOME defaults to 96. If not, an "Easy" option in gdmsetup would be helpful as well. Right now I modify the xserver line to have --dpi 96 in there, but a DPI setting or even a whole Fonts section of settings for gdm would be nice. Let me see if I can make GDM do the DPI checking / defaulting for openSUSE 10.3, to make it consistent with gnome-control-center. This will definitely not happen for SLED 10 :) *** Bug 184213 has been marked as a duplicate of this bug. *** *** Bug 345064 has been marked as a duplicate of this bug. *** This works now, since gdm uses gnome-settings-daemon too. Unless, when user "gdm" is created, it gets created with gnome-settings-daemon pre-configured to default to 96DPI, I wouldn't say this makes it "work". It is still gonna use the totally bogus EDID info by default on a newly installed system, and only a determined user familiar with the cryptic .gconf directory will be able to take advantage of this "fix" by making it looks as if user gdm had set DPI. (In reply to comment #9) > Unless, when user "gdm" is created, it gets created with gnome-settings-daemon > pre-configured to default to 96DPI, I wouldn't say this makes it "work". It > is still gonna use the totally bogus EDID info by default on a newly installed > system, and only a determined user familiar with the cryptic .gconf directory > will be able to take advantage of this "fix" by making it looks as if > user gdm had set DPI. No. Because we force the DPI to 96 in GNOME at the moment. |