Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: "Find" option for display runtime #3171

Open
kasemir opened this issue Oct 22, 2024 · 0 comments
Open

Idea: "Find" option for display runtime #3171

kasemir opened this issue Oct 22, 2024 · 0 comments

Comments

@kasemir
Copy link
Collaborator

kasemir commented Oct 22, 2024

User suggested adding a "find" option to locate items on a display.

Note that this is already available in the display builder web runtime, https://github.com/ornl-epics/dbwr, where the web browser supports "Ctrl-F", then enter some text, and labels or buttons with that text will be highlighted, typically supporting "Ctrl-G" to go to the next match on the screen.

As an implementation idea, the display representation (JFX) would have to listen to key presses, locate a matching widget on the display, and could then "focus" on it. That would for example highlight a button. Pressing "Enter" would then activate that button since it has the focus.
As a downside, the "focus" tends to be subtle, so an added highlight of some sort might be necessary.

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

No branches or pull requests

1 participant