Bug 1261438

Summary: It switches to the main screen of host after clicking anywhere in the display 1.
Product: Red Hat Enterprise Linux 7 Reporter: Xiaodai Wang <xiaodwan>
Component: mutterAssignee: Florian Müllner <fmuellner>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: dblechte, jjongsma, juzhou, mclasen, mxie, mzhan, tzheng, xiaodwan
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-11 17:59:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Make both displays in fullscreen mode.
none
After clicking leavefull screen menu on display 2.
none
after clicking on display1
none
spice logs none

Description Xiaodai Wang 2015-09-09 10:30:43 UTC
Description of problem:
It switches to the main screen of host after clicking anywhere in the display 1

Version-Release number of selected component (if applicable):
virt-viewer-2.0-6.el7.x86_64
spice-server-devel-0.12.4-13.el7.x86_64
spice-glib-0.26-5.el7.x86_64
spice-parent-15-11.el7.noarch
spice-vdagent-0.14.0-10.el7.x86_64
spice-xpi-2.8-8.el7.x86_64
spice-protocol-0.12.6-2.el7.noarch
spice-gtk-0.26-5.el7.x86_64
spice-server-0.12.4-13.el7.x86_64
spice-gtk3-0.26-5.el7.x86_64
spice-gtk-python-0.26-5.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Make sure you have at least 2 monitors.
2. Open the guest by virt-viewer, open two displays and siwtch them to fullscreen.
#virt-viewer rhel7.2

3. Click "Leave fullscreen" on second display to make display 2 exit fullscreen model. Check the display 1 is still in fullscreen mode.
4. Move the mouse to display 1, click anywhere.

Actual results:
It switches to the desktop of the host.

Expected results:
It should be still in display 1.

Additional info:

Comment 2 Pavel Grunt 2015-09-09 11:44:05 UTC
Does it happen when you connect remotely - using remote-viewer?
Can you record it, please?

Comment 3 Jonathon Jongsma 2015-09-09 17:46:47 UTC
Yes, I've seen this behavior with other applications before as well (e.g. firefox). It must be a window manager bug. I just tried to reproduce it about 20 times, and I only succeeded twice, and never while recording a screencast. I can't quite figure out the conditions for triggering the issue.

Comment 4 Xiaodai Wang 2015-09-10 02:53:23 UTC
(In reply to Pavel Grunt from comment #2)
> Does it happen when you connect remotely - using remote-viewer?
> Can you record it, please?

yes, i attached some screenshots and spice logs.

Comment 5 Xiaodai Wang 2015-09-10 02:54:32 UTC
Created attachment 1071981 [details]
Make both displays in fullscreen mode.

Comment 6 Xiaodai Wang 2015-09-10 03:05:49 UTC
Created attachment 1071982 [details]
After clicking leavefull screen menu on display 2.

In this screenshot, it shows the display 1 part in "01_both displays in fullscreen.png" is changed to my host's screen after clicking "leave fullscreen" menu in display2. but actually this screenshot it's not what i'm seeing. I still can see display1 in fullscreen.
I think what i'm seeing is fake, that's why it switches to the host's desktop after i click in display1.

Comment 7 Xiaodai Wang 2015-09-10 03:07:03 UTC
Created attachment 1071983 [details]
after clicking on display1

Comment 8 Xiaodai Wang 2015-09-10 03:07:32 UTC
Created attachment 1071984 [details]
spice logs