Bug 1369469

Summary: Mouse-clicks don’t work in wayland in qemu-kvm in Fedora 25 Alpha (Fedora-Workstation-netinst-x86_64-25-20160822.n.0.iso)
Product: [Fedora] Fedora Reporter: Mike FABIAN <mfabian>
Component: waylandAssignee: Adam Jackson <ajax>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: ajax, awilliam, mfabian, pnemade
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-29 19:24: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:

Description Mike FABIAN 2016-08-23 13:45:11 UTC
I installed Fedora-Workstation-netinst-x86_64-25-20160822.n.0.iso
in qemu using:

nice -n 19 ionice -c 3 qemu-kvm -machine pc-i440fx-2.4 -enable-kvm -global qxl.ram_size=1x1024 -m 2048M -smp 2 -drive file=./Fedora-Workstation-netinst-x86_64-25-20160822.n.0.iso.qcow2,index=0,media=disk,cache=unsafe -localtime -serial file:/tmp/qemu-Fedora-Workstation-netinst-x86_64-25-20160822.n.0.iso.qcow2-output.log -name Fedora-Workstation-netinst-x86_64-25-20160822.n.0.iso.qcow2 -cdrom /local/mfabian/iso/Fedora-25/Fedora-Workstation-netinst-x86_64-25-20160822.n.0.iso -boot c -spice port=6002,disable-ticketing,streaming-video=off -vga qxl -display vnc=:6 -net nic -net user,hostname=Fedora-Workstation-netinst-x86_64-25-20160822.n.0.iso.qcow2,hostfwd=tcp::5556-:22 -monitor stdio -usb -usbdevice mouse -soundhw all

(The option “-usbdevice mouse” makes no difference, I also tried without).

In installed in Japanese, accepted all defaults except for adding an
US keyboard layout and creating a user during the installation in
anaconda.

After the installation was finished and gdm appeared after reboot, I
could not select the user with the mouse. The mouse pointer was
visible and I could move it, but apparently clicks were ignored.

I could type Return though and enter the password. Then I could select
the login button with Return (Clicking it with the mouse did not
work).

Before hitting return to log in I tried to click with the mouse
on the cog-wheel to see whether I could select "Gnome with Xorg".
But clicking with the mouse did not work there.

Now a Gnome session with wayland started.

In that session, I could open a gnome-terminal using Alt+F2
and type into that terminal.

The mouse pointer was movable and I saw tooltips when moving it over
stuff which had tool tips. But no mouse clicks worked anywhere.

Now I edited /etc/gdm/custom.conf to disable Wayland:

[mfabian@Fedora-Workstation-netinst-x86_6 ~]$ cat /etc/gdm/custom.conf
# GDM configuration storage

[daemon]
# Uncoment the line below to force the login screen to use Xorg
WaylandEnable=false

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
#Enable=true

[mfabian@Fedora-Workstation-netinst-x86_6 ~]$

Then I rebooted.

Now I got a gdm again, this time using Xorg.

Now the mouse click worked.

I could click on the cog-wheel and select "Gnome with Xorg".  Then
type the password and click the login button with the mouse.  In the
"Gnome with Xorg" session which started, the mouse clicks worked
normally.

I logged out again and selected "Gnome" (i.e. with Wayland) again
and logged in again. Again the mouse clicks did not work.

So it seems that mouse clicks do not work in Wayland in
Fedora-Workstation-netinst-x86_64-25-20160822.n.0.iso (At least not in
qemu, I don’t know whether it works on real hardware).

Comment 1 Mike FABIAN 2016-08-29 19:15:56 UTC
The problem still exists on Fedora-Workstation-netinst-x86_64-25-Alpha-1.2.iso

Comment 2 Adam Williamson 2016-08-29 19:24:27 UTC

*** This bug has been marked as a duplicate of bug 1369492 ***