Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 427758

Summary: [terminal] typing '?' character brings up key bindings list
Product: [ECD] Orion Reporter: Chris McGee <sirnewton_01>
Component: DockerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse, ken_walker, Silenio_Quarti
Version: 5.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Chris McGee CLA 2014-02-09 19:03:41 EST
I understand that this feature is still under active development and that I may not have the latest source code from up stream.

When I press the "?" character it doesn't send it into the shell. Instead, it brings up the Orion hotkey summary/search tool. I can't seem to find any workaround. I am using the latest Chrome browser.
Comment 1 Ken Walker CLA 2014-03-13 17:00:28 EDT
Students are finding the same thing in their Orionode work.  Likely the text area changes the shortcut somehow.
Comment 2 Anthony Hunter CLA 2014-03-25 14:29:57 EDT
Hi Silenio, is there a way to turn on a key binding when a particular div is active?
Comment 3 Silenio Quarti CLA 2014-03-31 12:59:48 EDT
I believe the command framework is supposed to detect that the widget in focus is TEXTAREA, INPUT, contentedtiable, etc. and not run commands associated with content keys (?, a, b, etc).   Is the input on the terminal not done with on of those element types?
Comment 4 Anthony Hunter CLA 2014-03-31 15:20:49 EDT
(In reply to Silenio Quarti from comment #3)
> I believe the command framework is supposed to detect that the widget in
> focus is TEXTAREA, INPUT, contentedtiable, etc. and not run commands
> associated with content keys (?, a, b, etc).   Is the input on the terminal
> not done with on of those element types?

Correct, the terminal is just a bunch of nested div with a bunch of styles applied. Maybe there is a style I can add to the outer dev?
Comment 5 Silenio Quarti CLA 2014-04-01 10:29:01 EDT
I do not think there is anything you can add now. Take a look at commands.js#189.  The code only checks the node tagName.

Maybe we can add a specific CSS class to the node in focus and commands.js checks its presence.
Comment 6 Anthony Hunter CLA 2015-01-20 15:54:53 EST
We have removed the terminal feature from Orion 8.0, see Bug 457990 for full details.