Bug 40045 - Server should clear keyboard state on client disconnect
Summary: Server should clear keyboard state on client disconnect
Status: RESOLVED FIXED
Alias: None
Product: Spice
Classification: Unclassified
Component: server (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-12 08:34 UTC by Hans de Goede
Modified: 2014-11-03 01:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Hans de Goede 2011-08-12 08:34:58 UTC
Without this something like the following can happen:
1) client connects
2) client sends alt press key event
3) client disconnects without any cleanup (kill -9 it to reproduce)

4) Another client connects
5) guest still think alt is pressed
6) All key presses register as alt-foo
Comment 1 Marc-Andre Lureau 2014-11-03 01:49:17 UTC
commit 2d28da3c17f115fb1be4e5045e4a7a67fd1158b9
Author: Marc-André Lureau <marcandre.lureau@gmail.com>
Date:   Fri Oct 4 18:48:41 2013 +0200

    server: release all pressed keys on client disconnect


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.