From: Dennis N. <den...@ut...> - 2006-02-17 16:39:23
|
> On Thu, 16 Feb 2006 00:01:15 +0100, > Kim Woelders <ki...@wo...> wrote: > > Dennis Nezic wrote: > >>On Tue, 14 Feb 2006 19:26:29 +0100, > >>Kim Woelders <ki...@wo...> wrote: > >> > >>Dennis Nezic wrote: > >> > >>>i may have spoken too soon. although it does work when i start e > >>>under a non-native resolution (but same aspect ratio), (it didn't > >>>work before, so something was fixed :) the same problem occurs when > >>>i use tv-out, which has a different aspect ratio. > >>> > >> > >>What are the screen resolutions you are switching between, and > >>which pager sizes do you get? > > > > > > i start with my laptop in native resolution, 1280x800, and the > > pager is 320x50. it's location is [0,750]. eesh says: > > Base, min, max, inc w/h 0x0, 80x12, 1280x200 32x5 > > Aspect min, max 6.30000, 6.50000 > > btw, i have 4 desktops side by side, so each one is 80x50, so all is > > good here ... screen, pager desktops both have ratio 1.6. > > > > then i go to tvout mode .. 640x480 (the screen pans), and the pager > > resizes to 320x60. it's location has moved to [0,718]. eesh says: > > Base, min, max, inc w/h 0x0, 64x12, 1024x192 32x6 > > Aspect min, max 5.23333, 5.43333 > > so, here the pager thinks that the desktop has changed to 1.333 > > ratio, which it hasn't. the display is 640x480, but the screen > > hasn't changed it's dimensions (i don't think). > > > The screen dimensions don't matter, only the resolution in pixels. > According to this the current screen resolution is 1024x768. > Changing resolution from 1280x800 -> 1024x768 would not change the > pager from 320x50 to 320x60, but to 256x48. > However, changing the resolution like 1280x800 -> 320x240 -> 1024x768 > will. This doesn't explain the change in position though, so I think > the resolution travels some other path between 1280x800 and 1024x768. > > > lastly i return to my laptop lcd, and the pager has once again > > resized (grown) to 384x60, and returned back to it's original > > position [0,750]. eesh says, as before: > > Base, min, max, inc w/h 0x0, 80x12, 1280x200 32x5 > > Aspect min, max 6.30000, 6.50000 > > > Again, going directly from 1024x768 to 1280x800 would give the pager > size 416x60, but going via 320x240 gives 384x60. > > I have committed a fix that I think should cure this. However, as > things are for now, if you cycle trough a number of different screen > resolutions it is still not guaranteed that the pager size you start > out with is exactly the one you will get when you return to the > original resolution, but I don't think the pagers will keep growing, > as they did. the problem persists. along with a small annoyance now that the pager can be resized with pixel resolution (for example, 72x45 and 73x45 are acceptable sizes, even though 72x45 is the true 1.6 ratio. but this isn't really a problem.) the current situation (4x1 pager) is as follows: 1) start with laptop 1280x800, pager 280x44 2) switch to tv, 640x480, pager 280x52 3) return to laptop 1280x800, pager 332x52 moreover, along with having grown, it has also moved downward 5 pixels. so, from 1=>2, it preserves width, while 2=>3 it preserves height. would the problem not be solved if it sticks to preserving only one of the dimensions? |