Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155681 - x11-wm/fluxbox-1.0rc2 - keymodes break escape key under some SDL apps
Summary: x11-wm/fluxbox-1.0rc2 - keymodes break escape key under some SDL apps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 167117
  Show dependency tree
 
Reported: 2006-11-19 08:38 UTC by Martin Schoenmakers
Modified: 2007-03-21 04:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schoenmakers 2006-11-19 08:38:46 UTC
Using Fluxbox 1.0rc2-gentoo-r2 (x11-wm/fluxbox-1.0_rc2-r2), with any key bound to a KeyMode command in the ~/.fluxbox/keys file, the escape key behaves rather oddly, in that it works in most places, but not in most SDL based apps.

It's not related to the key itself, as it works in other applications (Eterm, emacs..), and binding any key to Escape using xmodmap (xmodmap -e 'keycode 66 = Escape Escape' for example) has the same effect. xev also corrently picks up the Escape keysym for the appropriate key being pressed. Commenting out any bindings for 'KeyMode' commands and reloading the fluxbox configuration via the menu instantly fixes the problem.

Things that show the above behaviour include:
zsnes
scummvm
powermanga
mplayer with -vo sdl

Things that notably do /not/ break:
mplayer with -vo other than sdl
frozen-bubble

For completeness, steps to reproduce:
1: Start fluxbox with a key bound like, for example:

  Mod1 KP_5 :KeyMode WindowManipMode

2: Start, for example, zsnes or scummvm, and start a game.

3: Hit the ESC key, or any other key that's supposed to generate the Escape keysym.

Instead of doing what escape usually does (bringing up the menu in zsnes, skipping intros in scummvm), nothing seems to happen at all.
Comment 1 Martin Schoenmakers 2006-11-26 07:28:09 UTC
Has anyone else been able to reproduce? Should I report upstream? Or am I the only one affected by this?
Comment 2 Andrew Hurst 2007-02-14 10:21:31 UTC
(In reply to comment #1)

I reproduced this behaviour in fluxbox-1.0-rc2.
Assigned Mod1 m :KeyMode WindowManipMode.
Didn't use Alt+m, but zsnes escape no longer works.

Please report upstream.

> Has anyone else been able to reproduce? Should I report upstream? Or am I the
> only one affected by this?
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2007-03-20 21:52:48 UTC
Upstream claims this is fixed in version 1.0rc3, please test, and reopen this bug if that is not the case.
Comment 4 Martin Schoenmakers 2007-03-21 04:26:25 UTC
Tested rc3 on zsnes and scummvm. Escape works fine now. I'd say it's fixed.