Bug 193630 - [patch] graphics/osg: <Shift> getting stuck
Summary: [patch] graphics/osg: <Shift> getting stuck
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-14 08:58 UTC by Anonymized Account
Modified: 2014-09-30 02:05 UTC (History)
0 users

See Also:
no-reply: maintainer-feedback? (amdmi3)


Attachments
SVN diff of affected ports (2.31 KB, patch)
2014-09-14 08:58 UTC, Anonymized Account
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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