Wed 02 Jun 2010 09:50:10 AM UTC, comment #8:
Well, sometimes the autodetection is wrong. Especially in a setup with two monitors used at the same time (you know, each with different video output) it happens that the cummulated size of both monitors is detected. Or the soze of the "wrong" monitor is taken of the wrong monitor. Because of this, I wanted to check that.
1. The resoilution is detected correctly (you would have told me if not).
2. A single monitor is assumed (it is, your modification creates a monitor smaller than height, quite unusual, so it's more likely to assume two mintors, each of half the height.)
Another reason for the aspect ratio setting is that gv is quite old - at these times non DSC aware monitors were quite common.
This setting is the only chance to correct wrong autodetection.
Now having some more details I have to admit tht this problem is somehow different than the fixed one.
Well, I have to think about the details, but it seems to be a good idea to save the resolution detected by "--debug" into ~/.gv. I've to think about how...
Let's assume that on a 4:3 display, a standard resolution is used and on a 16:10 resp. 16:9 a widescreen resolution is used.
Then the following make sence:
Option 1: Extra resource just containing the resolution. If it changes, ignoire the screen size.
Option 2: Save several aspect ratio's - one for each resolution.
The problem is that the code is not prepared for this.
But as I've just written, I've to thinkk about it. Currently I'm working on a security realted update for GNU gv - some details can be read on the public archive of bug-gv.
|