Discussion:
[awesome bugs] #1303 - Keeping a key pressed triggers key release events
awesome
2014-10-09 23:05:04 UTC
Permalink
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened. Details are below.

User who did this - Ram-Z (Ram-Z)

Attached to Project - awesome
Summary - Keeping a key pressed triggers key release events
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To -
Operating System - Linux
Severity - Medium
Priority - Normal
Reported Version - git/master
Due in Version - Undecided
Due Date - Undecided
Details - When keeping a key pressed the "key release" signal is being triggered
continously.

How to reproduce:

globalkeys = awful.util.table.join(globalkeys,
[...]
awful.key({ }, "F12",
function () io.stderr:write("pressed\n") end,
function () io.stderr:write("released\n") end )
}


Expected output when keeping the key pressed, a single 'release' event at the
end when the key is released:
pressed
pressed
[...]
pressed
released



Actual output, alternating 'pressed'/'released' events until the key is
released:
pressed
released
pressed
released
[...]
pressed
released

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1303

You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
awesome
2014-10-09 23:21:28 UTC
Permalink
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1303 - Keeping a key pressed triggers key release events
User who did this - Ram-Z (Ram-Z)

----------
Confirmed on 3.5.5 release and v3.5.2-189-g983d094 git
----------

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1303#comment4161

You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
awesome
2014-10-11 10:48:38 UTC
Permalink
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1303 - Keeping a key pressed triggers key release events
User who did this - Uli Schlachter (psychon)

----------
Who says that only a single release event should be generated?

Homework: Open a terminal, start "xev", press a key without releasing. You will see lots of KeyPress and KeyRelease events. Awesome just passes those on to lua.
Welcome to key repeat.
----------

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1303#comment4164

You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
awesome
2014-10-11 10:49:09 UTC
Permalink
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task is now closed:

FS#1303 - Keeping a key pressed triggers key release events
User who did this - Uli Schlachter (psychon)

Reason for closing: Not a bug
Additional comments about closing: If you say that some behavior is a bug, it should either be obvious that this behavior is a bug or you should explain why it is wrong.

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1303

You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
awesome
2014-10-11 11:02:20 UTC
Permalink
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1303 - Keeping a key pressed triggers key release events
User who did this - Ram-Z (Ram-Z)

----------
oh, wow... I actually checked xev before posting here and only saw "Key Pressed" events. I suppose I suffered from some kind of extreme experimenter bias. This is simply a silly behaviour btw.

Well I guess, I'll have to work around that in my config rc then.


----------

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1303#comment4165

You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Loading...