Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71080 - Key bindings do not work in >icewm-1.2.13
Summary: Key bindings do not work in >icewm-1.2.13
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Desktop WM Team (OBSOLETE)
URL: https://sourceforge.net/tracker/?func...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-13 12:21 UTC by Boon Hian Tek
Modified: 2004-11-27 00:32 UTC (History)
0 users

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 Boon Hian Tek 2004-11-13 12:21:09 UTC
Key bindings (including the standard "alt-tab" for switching) no longer works under icewm (>1.2.13) if numlock is on.

Reproducible: Always
Steps to Reproduce:
1. emerge icewm (the latest stable is 1.2.16 so you will be able to reproduce it)
2. use icewm as your window manager
3. try any key bindings with numlock on, including alt-tab

Actual Results:  
Key bindings that worked in icewm-1.2.13 and earlier will just stop working
whenever your numlock is on. Turn off numlock and it will work.

Expected Results:  
Key bindings should be oblivious to numlock.

At least for me, after months of frustration, the following code change solved
my problem. It turns out for some reason, MetaLock is equal to NumLock on the
machines I have tried. Not sure why that is the case.

--- icewm-1.2.17/src/yxapp.cc   2004-11-07 09:04:09.000000000 -0600
+++ /home/btek/app/icewm-1.2.17/src/yxapp.cc    2004-11-13 14:08:34.940802158 -0600
@@ -385,6 +385,9 @@
     if (MetaMask == AltMask)
         MetaMask = 0;

+    if (MetaMask == NumLockMask)
+       MetaMask = 0;
+
     MSG(("alt:%d meta:%d super:%d hyper:%d mode:%d num:%d scroll:%d",
          AltMask, MetaMask, SuperMask, HyperMask, ModeSwitchMask,
          NumLockMask, ScrollLockMask));
Comment 1 Boon Hian Tek 2004-11-20 13:06:26 UTC
Bugs fixed in CVS for icewm.
https://sourceforge.net/tracker/?func=detail&atid=100031&aid=1065899&group_id=31
Comment 2 Disenchanted (RETIRED) gentoo-dev 2004-11-23 18:21:49 UTC
before i go apply a patch, make it so i can reproduce it, i am on 1.2.17 (latest stable on maintainer's archs ppc and x86) i have numlock on, and alt-tab works as expected

if you have this problem with 1.2.17, i suggest you fix your system, as it doesn't seem to be a problem that is reproducable
Comment 3 Boon Hian Tek 2004-11-24 06:16:22 UTC
Glad to hear that it isn't a problem for others.
It has been an irritating problem for me and my co-workers.
Must be one of our settings causing it.

Anyway, the icewm people have traced it down to a code problem and patched it, and it will be available in the next version.

Thanks for looking into it.
Comment 4 Disenchanted (RETIRED) gentoo-dev 2004-11-27 00:32:22 UTC
waiting for upstream fix