qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] don't die if switching to fullscreen mode fails


From: Andreas Winkelbauer
Subject: Re: [Qemu-devel] [PATCH] don't die if switching to fullscreen mode fails
Date: Wed, 27 Feb 2008 03:02:15 +0100
User-agent: Thunderbird 2.0.0.9 (X11/20071115)

hi,

>> use windowed mode as fallback option if we are already in fullscreen
>> mode and the new resolution is too high and print a message to the
>> console
>
> Do you end up with a window bigger than the screen, then? Is there a
> chance the user can escape from this situation, i.e. reach all parts
> of the virtual screen to find the switch for setting the resolution?

yes, that's true, but it is no problem at all. First of all you can move the window around so it is possible to reach everything inside the window. in addition you can always use ctrl+alt+del under windows to shutdown. under X11 you can always escape using ctrl+alt+backspace.

> Another option would be to simply display an "Out of range error"
> across the screen, like a real monitor would do. Usually, operations
> systems feature a protection against setting a resolution higher than
> supported by hardware already (set back to a lower reolution after
> some delay).

to make that working we would need to know the maximum resolution of the host display. does qemu store this information somewhere?

but I think this would not work anyway because the guest os might (at least windows does) crash if qemu resizes the display to an other resolution than the requested one. so testing if the new resolution is too high and in case using a lower resolution would crash windows xp, I have tried that already.

I've extensively tested this patch using windows as guest os and it works perfectly for me. Maybe somebody could test the patch using other guest os as well.

cheers,
Andi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]