Summary: | "mouse keys turns on randomly" | ||
---|---|---|---|
Product: | xorg | Reporter: | Sense Hofstede <sense> |
Component: | Input/Keyboard | Assignee: | Xorg Project Team <xorg-team> |
Status: | RESOLVED INVALID | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
URL: | https://bugs.edge.launchpad.net/ubuntu/+source/xorg/+bug/192508 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Sense Hofstede
2008-03-19 12:40:34 UTC
I forgot to post the URL to the bug report in Launchpad: https://bugs.edge.launchpad.net/ubuntu/+source/xorg/+bug/192508 Have fun ;) This has nothing to do with xkeyboard-config. It is a problem of X server, I guess Actually, the problem is probably just forgetting to copy around AccessX flags. Three files provided by the reporter: http://launchpadlibrarian.net/12849968/xorg.conf http://launchpadlibrarian.net/12849962/Xorg.0.log http://launchpadlibrarian.net/12849970/d-g-peripherals.gconf Someone who confirmed the bug has also posted his Xorg.conf and Xorg.0.log This are the links: http://launchpadlibrarian.net/13034452/xorg.conf http://launchpadlibrarian.net/13034474/Xorg.0.log The shortkey has been found: Shift+Num Lock I spent some time investigating this and found some weird code that I don't understand: xkbi->desc->ctrls->ctrls_enabled is a bitmask of the enabled features. If I disable MouseKeys for a device, bit 0x16 is set to 0. from xkb/xkbActions.c:_XkbFilterControls -------------------------- [...] change= XkbActionCtrls(&pAction->ctrls); /* 16 for mouse keys */ [...] if (pAction->type==XkbSA_LockControls) { filter->priv= (ctrls->enabled_ctrls&change); change&= ~ctrls->enabled_ctrls; /* change stays 16 */ } if (change) { /* always true */ xkbControlsNotify cn; XkbSrvLedInfoPtr sli; ctrls->enabled_ctrls|= change; /* yay - re-enabled it */ [...] ------------------ once this code is run, enabled_ctrls has XkbMouseKeysMask is set, no matter what. This code hasn't changed in years, so I don't really see how that has ever worked in the first place. (In reply to comment #6) > The shortkey has been found: Shift+Num Lock hang on, do you mean that pressing shift+numlock is the only thing which triggers this? if so, well, yes ... that's how mousekeys are enabled, by pressing shift+numlock. Disregard my Comment #7, I misinterpreted the specs and the code at the same time. Back to the drawing board. Does anyone know what's the status of this bug? Is it a genuine bug and if so, what needs to be done to solve it? Mass closure: This bug has been untouched for more than six years, and is not obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases. |
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.