Dan Kegel : winecfg: Restrict dpi slider to sane values.

Dan Kegel dank at kegel.com
Sat Apr 26 22:23:40 CDT 2008

On Sat, Apr 26, 2008 at 7:54 PM, L. Rahyen <research at science.su> wrote:
>         200 DPI limit is acceptable for most users. However, what this patch done by
>  setting maximum to this small value (144) doesn't seems to be acceptable.

Users really are lost if they set a too-high value.
They don't know how to do alt+mouse_move.
Thus simply setting the limit higher again would
be a support nightmare; we got a preview of that
on wine-users recently, with user after user panicking.

But as I wrote in http://bugs.winehq.org/show_bug.cgi?id=9715
we can probably do something that will make everybody
happy: arrange for winecfg to never let the user set
dpi so high that winecfg is bigger than the screen.
That's probably pretty easy to do.

And we can probably make high-res users happier still
by defaulting to Xft.dpi (used by Gnome and maybe KDE;
it's set by default to 96, but is increased by some users
of high-res displays).

Anyone willing to try implementing that?  I'd do it, but I'm kind of
limited by sore hands and time these days...
- Dan

More information about the wine-devel mailing list