~mil/sxmo-tickets#517: 
Power key gets stuck; opens terminal windows indefinnitely

Sometimes when unlocking the phone (possibly only when waking from suspend) the power key can get stuck, causing terminal windows to open indefinitely. The phone doesn't power it's self off, so I think the key up event for the power button probably gets lost before sway gets a chance to handle it.

If this is caught early enough pressing the power button will reset sxmo to a more "normal" state (stop it from continuously opening terminals), this only works if it is caught in time though. I have unlocked my (overheating) phone to find hundreds of terminal windows on several occasions.

A better workaround might be to disable the key repeat functionality in the multikey script, which is how the dwm version currently behaves.

Status
REPORTED
Submitter
~aren
Assigned to
No-one
Submitted
5 months ago
Updated
5 months ago
Labels
No labels applied.

~phartman 5 months ago

I get this now and then, especially with the keyboard case.

I was thinking about some limit.

On Thu, Jun 30, 2022 at 12:54:13AM +0000, ~aren wrote:

Sometimes when unlocking the phone (possibly only when waking from suspend) the power key can get stuck, causing terminal windows to open indefinitely. The phone doesn't power it's self off, so I think the key up event for the power button probably gets lost before sway gets a chance to handle it.

If this is caught early enough pressing the power button will reset sxmo to a more "normal" state (stop it from continuously opening terminals), this only works if it is caught in time though. I have unlocked my (overheating) phone to find hundreds of terminal windows on several occasions.

A better workaround might be to disable the key repeat functionality in the multikey script, which is how the dwm version currently behaves.

-- View on the web: https://todo.sr.ht/~mil/sxmo-tickets/517

-- sic dicit magister P https://phartman.sites.luc.edu/ GPG keyID 0xE0DBD3D6 (CAE6 3A6F 755F 7BC3 36CA 330D B3E6 39C6 E0DB D3D6)

~phartman referenced this from #517 5 months ago

Register here or Log in to comment, or comment via email.