Bug 1034344 - Attempt to close window with Ctrt+Shift+Q combo ends with error
Summary: Attempt to close window with Ctrt+Shift+Q combo ends with error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: mingw-virt-viewer
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.0.0-alpha
: 4.0.0
Assignee: Default Assignee for SPICE Bugs
QA Contact: SPICE QE bug list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-25 16:20 UTC by Vaclav Ehrlich
Modified: 2016-05-04 16:06 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-04 16:06:40 UTC
oVirt Team: Spice
Target Upstream Version:


Attachments (Terms of Use)

Description Vaclav Ehrlich 2013-11-25 16:20:05 UTC
Description of problem:
User has two displays in window mode. One window is active. 
If active window is focused with mouse and Ctrl+Alt+Q combo is pressed to close remote-viewer windows, nothing happens.
If inactive window is focused with mouse and Ctrl+Alt+Q is pressed, remote-viewer windows are closed, but in the event log is possible to see error: "GSpice: send_key: assertion `scancode !=0' failed

RHEVM Agent is running.

There is also 'sometime' error when user opens remote-viewer again after this close combo - display which was active (not focused) is disconnected. But this needs deeper investigation why it happens only 'sometime'

Version-Release number of selected component (if applicable):
mingw32-virt-viewer-0.5.3-29.el6v.noarch

How reproducible:
Always

Steps to Reproduce:
1.Set up qemu for two displays [1]
2.Connect to guest [2]
3.Set up two displays in guest and have them windowed
4.Focus active window and press Ctrl+Alt+Q
5.Focus inactive window and press Ctrl+Alt+Q

Actual results:
With focused active window there is no action. With focused inactive window remote-viewer ends with error.

Expected results:
Windows are closed with focused active or inactive window. 


Additional info:
Client Win7/32
Guest Win7/64

[1] qemu command line:
sudo /usr/bin/qemu-kvm -m 1024 -name win7 -drive file=PATH_TO_IMG,media=disk  -vga qxl -device qxl -global qxl-vga.vram_size=67108864 -spice port=PORT,addr=IP,disable-ticketing -device virtio-serial  -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -soundhw ac97 -monitor stdio

[2] remote-viewer command-line:
remote-viewer spice://IP?port=PORT

Comment 1 Vaclav Ehrlich 2013-11-25 16:25:26 UTC
Sorry combo is Ctrl+Shift+Q

Comment 2 Christophe Fergeau 2015-06-09 12:03:43 UTC
(In reply to Vaclav Ehrlich from comment #0)
> Expected results:
> Windows are closed with focused active or inactive window. 

When the windows is focused, the ctrl+alt+q combo is expected to go to the guest, so it cannot be caught by the client. This only leaves the warning in the event log to be addressed in this bug.

Comment 3 Fabiano Fidêncio 2016-05-04 16:06:40 UTC
By comment 2, let's close it as NOTABUG.


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