Closed Bug 627822 Opened 13 years ago Closed 13 years ago

Ctrl-A doesn't work in console command line

Categories

(DevTools :: General, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 623749

People

(Reporter: jk1700, Unassigned)

References

Details

(Keywords: dev-doc-complete)

User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b10pre) Gecko/20110121 Firefox/4.0b10pre
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b10pre) Gecko/20110121 Firefox/4.0b10pre

STR:
1. Open console
2. Write something in the command line
3. Press Ctrl-A


Reproducible: Always

Actual Results:  
Text is selected for a moment, but then the selection disappears


Expected Results:  
Text should remain selected


Selecting text from the context menu works fine
Blocks: devtools4
Version: unspecified → Trunk
ctrl-a has the same behavior as any other console: beginning of line
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Not in Firebug console, not in Chrome console, not in IE console, etc, so "as any other console" is definitely not true.

Everywhere in Firefox Ctrl-A has the same meaning - Select All. In 99% of Windows applications (note that most of Firefox users use Windows) it's the same. Why Firefox console has to be the only place where Ctrl-A does something different? For beginning of line you have Home key.

I'm reopening this bug hoping that Ctrl-A will do what most users would expect it to do
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
(In reply to comment #2)

> I'm reopening this bug hoping that Ctrl-A will do what most users would expect
> it to do

the bug to file is "allow customization of key bindings in the console input"

'beginning of line' will be the default keybinding.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → INVALID
I think the original poster is correct about what this behavior should be for Windows, based on user expectations. But, I also believe this has been covered by bug 623749. Changing the shortcut for Windows makes good sense. Only Mac and Linux users have the "beginning of line" expectation for ctrl-A.
Resolution: INVALID → DUPLICATE
I added dev-doc-needed to make sure the keybindings for ctrl-a and ctrl-e are documented before release
Keywords: dev-doc-needed
Documented: https://developer.mozilla.org/en/Tools/Web_Console#Keyboard_shortcuts

If there are other keyboard shortcuts, let me know.
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.