Skip to content

Increase default button timeout to 1000 milliseconds#720

Open
albertvaka wants to merge 1 commit into
Pulse-Eight:masterfrom
albertvaka:patch-1
Open

Increase default button timeout to 1000 milliseconds#720
albertvaka wants to merge 1 commit into
Pulse-Eight:masterfrom
albertvaka:patch-1

Conversation

@albertvaka

@albertvaka albertvaka commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Many interfaces make use of long-press of buttons, for example to open context menus.

Auto-releasing buttons after just 500 ms is too short for most applications to detect this as a long-press.

This change makes the default auto-release timeout long enough to not interfere with UIs that need long-press.

I am aware that this default has been like that for a long time, but I still think it is not a good default and, given we are going to release a new major version, it's a good opportunity to change it.

Many interfaces make use of long-press of buttons to open context menus. Auto-releasing buttons after just 500 ms is too short for most applications to detect this as a long-press.
@opdenkamp

Copy link
Copy Markdown
Contributor

The CEC specification defines press and hold repeat times of 200ms to 500ms, with a recommended value of 450ms, and this is one of the instances where the spec says shall instead of should. Do you have an example of this being a problem. Please post a full traffic log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants