Bug 874482 - Right-side of display not refreshed when window is partially out of screen on the left (was Mouse pointer disappears )
Summary: Right-side of display not refreshed when window is partially out of screen on...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: mingw-virt-viewer
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.2.0
Assignee: Marc-Andre Lureau
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-08 10:02 UTC by Tomas Jamrisko
Modified: 2013-06-10 19:59 UTC (History)
5 users (show)

Fixed In Version: mingw-virt-viewer-0.5.3-18.el6ev
Doc Type: Bug Fix
Doc Text:
Previously, when using a Windows client with a Windows guest, moving the virtual machine display window would sometimes cause the guest to refresh incorrectly and fall out of sync with the client. Now, the display widget is set to double-buffered, which allows the guest to refresh correctly when moved around.
Clone Of:
Environment:
Last Closed: 2013-06-10 19:59:21 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
And for my final trick I will make the cursor disappear (179.86 KB, video/ogg)
2012-11-13 12:30 UTC, Tomas Jamrisko
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:0889 0 normal SHIPPED_LIVE mingw-virt-viewer enhancement update 2013-06-10 23:53:14 UTC

Description Tomas Jamrisko 2012-11-08 10:02:15 UTC
Description of problem:

When connected to a Windows guest (with mouse in server mode (no vdagent) from a windows client mouse pointer tends to disappear as parts of remote-viewer get moved outside of visible area. 

Version-Release number of selected component (if applicable):
mingw-virt-viewer-0.5.3-16

How reproducible:
Always

Steps to Reproduce:
1. Connect to a windows 7 guest without vdagent
2. Move remote viewer towards left edge of the screen, so that just less than a half of it is visible
3. Try doing something in the guest using mouse
  
Actual results:
Cursor doesn't move the way it should, and if moved towards right edge of guest it disappears.

Comment 1 Marc-Andre Lureau 2012-11-13 10:39:59 UTC
I really can't manage to reproduce with current mingw-virt-viewer-0.5.3-16.el6

Comment 2 Marc-Andre Lureau 2012-11-13 10:41:22 UTC
Can you record a screencast? Do you have dual-head or any setup different from simple traditional desktop & guest? thanks

Comment 3 Tomas Jamrisko 2012-11-13 12:30:38 UTC
Created attachment 644085 [details]
And for my final trick I will make the cursor disappear

There shouldn't be anything special about the setup. Single monitor, vdagent is disabled.

Comment 4 Marc-Andre Lureau 2012-11-13 12:45:58 UTC
(In reply to comment #3)
> Created attachment 644085 [details]
> And for my final trick I will make the cursor disappear
> 
> There shouldn't be anything special about the setup. Single monitor, vdagent
> is disabled.

how do you move the window? it looks like the pointer is still grabbed by remote-viewer but you managed to escape it the second time(like alt+click+move on unix), so you end up with 2 cursors being drawn. pretty weird, I don't know what's the trick..

Comment 5 Tomas Jamrisko 2012-11-13 13:11:00 UTC
> how do you move the window? it looks like the pointer is still grabbed by
> remote-viewer but you managed to escape it the second time(like
> alt+click+move on unix), so you end up with 2 cursors being drawn. pretty
> weird, I don't know what's the trick..

The trick is, that the regular client cursor isn't captured in the screencast. Cursor is released when moving the window (you can tell by the changes in titlebar).

Comment 6 Marc-Andre Lureau 2012-11-16 13:08:46 UTC
hey, can you try againt with latest build? mingw-virt-viewer-0.5.3-17

It could eventually be fixed with bug 872640. thanks for checking

Comment 7 Tomas Jamrisko 2012-11-19 08:59:30 UTC
Well, bad news. The bug is still there.

Comment 8 Marc-Andre Lureau 2012-11-19 10:18:23 UTC
(In reply to comment #5)
> > how do you move the window? 

> The trick is, that the regular client cursor isn't captured in the
> screencast. Cursor is released when moving the window (you can tell by the
> changes in titlebar).

how do you move the window without dragging the title bar? please explain in more details what you do, I still can't reproduce.

Comment 12 Marc-Andre Lureau 2012-11-23 19:54:11 UTC
I could reproduced, strangely inside a VM win7 atm. However the bug description is a bit misleading. It is not just the cursor that is not drawn, it is the whole drawing area. It looks like a weird Gtk or Cairo bug to me, investigating now.

Comment 13 Marc-Andre Lureau 2012-11-23 20:44:10 UTC
It's also only left-sided bug..

Comment 14 Marc-Andre Lureau 2012-11-23 21:10:52 UTC
more weirdish stuff, if gtk_widget_set_has_window() is FALSE, then the bug don't happen. Looks to me like a Gdk bug now

Comment 15 Marc-Andre Lureau 2012-11-23 23:51:59 UTC
so setting the widget double buffered is enough to fix it, but I don't know what will be the side-effect. I will enable it in the windows build for now, and open a bug in gtk+

Comment 16 Marc-Andre Lureau 2012-11-24 00:11:14 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=688962

Comment 17 Marc-Andre Lureau 2012-11-27 19:28:53 UTC
please add acks!

Comment 18 Marc-Andre Lureau 2013-02-14 18:34:48 UTC
patch added, moving bug to modified

Comment 22 errata-xmlrpc 2013-06-10 19:59:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-0889.html


Note You need to log in before you can comment on or make changes to this bug.