Bug 193630

Summary: [patch] graphics/osg: <Shift> getting stuck
Product: Ports & Packages Reporter: Anonymized Account <no-reply>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Some People Flags: no-reply: maintainer-feedback? (amdmi3)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
SVN diff of affected ports none

Description Anonymized Account freebsd_committer freebsd_triage 2014-09-14 08:58:57 UTC
Created attachment 147296 [details]
SVN diff of affected ports

Shift key is not released if X11 group switch is something other than Control-Shift. This affects, in particular, games/flightgear. I took the patch from here:

https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1218650.html
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-09-14 08:58:57 UTC
Auto-assigned to maintainer amdmi3@FreeBSD.org
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2014-09-15 18:04:56 UTC
Could you elaborate on how this bug can be reproduced?
Comment 3 Anonymized Account freebsd_committer freebsd_triage 2014-09-16 01:05:51 UTC
Run:
$ setxkbmap us,ru -option "grp:shifts_toggle"

Launch FlightGear and use some keyboard shortcut containing "Shift". Once on, the modifier will remain so until the game is restarted.

People using "Control-Shift" to change keyboard layout are not affected.
Comment 4 commit-hook freebsd_committer freebsd_triage 2014-09-30 02:05:40 UTC
A commit references this bug:

Author: amdmi3
Date: Tue Sep 30 02:04:38 UTC 2014
New revision: 369567
URL: https://svnweb.freebsd.org/changeset/ports/369567

Log:
  - Fix shift key getting stuck on some cases

  PR:		193630
  Submitted by:	mike.d.ft402@gmail.com

Changes:
  head/graphics/osg/Makefile
  head/graphics/osg/files/patch-shift-key-fix