Bug 5987 - (int-186598) xev does not catch keypresses on N900
(int-186598)
: xev does not catch keypresses on N900
Status: NEW
Product: Core
X Server
: 5.0/(1.2009.42-11)
: N900 Maemo
: Low normal with 3 votes (vote)
: ---
Assigned To: unassigned
: x-server-bugs
:
: easyfix, patch
:
:
  Show dependency tree
 
Reported: 2009-11-01 18:16 UTC by Faheem Pervez
Modified: 2012-03-05 15:08 UTC (History)
4 users (show)

See Also:


Attachments
Patch to set InputHint to true, so that keypresses are recieved by xev. (541 bytes, patch)
2009-11-01 18:16 UTC, Faheem Pervez
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description Faheem Pervez (reporter) maemo.org 2009-11-01 18:16:03 UTC
SOFTWARE VERSION:
(Control Panel > General > About product)

1.2009.41-10
STEPS TO REPRODUCE THE PROBLEM:

1. Add the Fremantle tools repository: "deb http://repository.maemo.org/
fremantle tools/free" in /etc/apt/sources.list.d/tools.list should do it.
2. Install x11-utils using apt-get.
3. Run xev from a terminal.
EXPECTED OUTCOME:

All key-events received should be outputted onto the Terminal, by xev, as it
should be xev that is catching them when it has the focus.
ACTUAL OUTCOME:

The window behind (or nothing, if there is no window) receives the key presses
instead.
REPRODUCIBILITY:
(always/sometimes/once)

Always.
EXTRA SOFTWARE INSTALLED:

N/A.
OTHER COMMENTS:

Patch attached to xev which sets the InputHint required for it to recieve the
keypresses when it has focus, like it should do.

It is my understanding that this bug is relevant as packages from the tools
repository are expected to be installed on the device. Correct me if I am
wrong, please.

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.4)
Gecko/20091016 Firefox/3.5.4 (.NET CLR 3.5.30729)
Comment 1 Faheem Pervez (reporter) maemo.org 2009-11-01 18:16:53 UTC
Created an attachment (id=1526) [details]
Patch to set InputHint to true, so that keypresses are recieved by xev.
Comment 2 Andre Klapper maemo.org 2009-11-02 15:28:01 UTC
Thanks for the patch. :-)
Comment 3 Eero Tamminen nokia 2010-08-19 18:20:31 UTC
Hm.  Would have been nice to have this bug in internal bugzilla.
Comment 4 Andre Klapper maemo.org 2010-08-19 18:45:58 UTC
(In reply to comment #3)
> Hm.  Would have been nice to have this bug in internal bugzilla.

I was told that Dev platform bugs are handled here, but as you wish. :)
Comment 5 Pali Rohár 2012-03-05 00:09:17 UTC
@Andre Klapper:
Was this patch included in official Maemo5?
Comment 6 Andre Klapper maemo.org 2012-03-05 14:06:18 UTC
(In reply to comment #5)
> @Andre Klapper:
> Was this patch included in official Maemo5?

No, it wasn't.
Comment 7 Pali Rohár 2012-03-05 15:08:19 UTC
So then it is good candidate for CSSU.