Hello Tokarev,

Am 30.01.2016 um 12:04 schrieb Michael Tokarev:
However I see one interesting difference between our setup.

What is your screen size, and desktop area size?  On your video,
the VM window size is close to your desktop size.  I remember
seeing some strange effects when the VM window (together with
all the frame and decorations) becomes a bit larger than the
"desktop" size as reported by your desktop environment (which
is the screen size minus various menus, panels, bars etc which
occupes constant place on the screen).  Might this be an issue
in your case?
My desktop is 1680x1050 and as far as I see the qemu window does not get near to this size. (The video shows only a smaller part of the desktop to get the video file as small as possbile.)

Note this happens especially with sdl1, not with sdl2 (iirc)
or gtk, it is the sdl1 code.
Yes sdl1 (as I think Debian packages are not build against sdl2?).
But even the sdl1 code did not show this behaviour when given the "-no-frame" parameter.

> However I still fail to see how
this can be timing-related... :)
If I get the whole picture right it would be in that order:

1 qemu asks sdl to resize the window (probably through do_sdl_resize).
2 sdl asks X-Server for resizing.
3 X-Server sends Notification to sdl.
4 sdl sends SDL_VIDEORESIZE event to qemu.
5 qemu again asks for a resize in sdl_scale.

In this row the sdl_scale in point 5 would do nothing as the window already has the desired size (which probably is somewhere remembered in the sdl layer).

In my case it seems that before step 5 is reached another resize event is received by point 1 modifying the sdl internal width/height. As the received SDL_VIDEORESIZE differs now from the sdl internal width/height another request to the X-Server is sent ...

Steps 3 to 5 are probably in place to support scaling the window simply by changing window size with the mouse.

--------

But as I am probably the only person experiencing this and there is an easy workaround by pressing Ctrl+Alt+U for me, this is for me only a really small issue anymore.

Kind regards,
Bernhard

Reply via email to