Cannot create new contact (Ctrl+N) or new list when AB quick search field has focus: cmd_newCard and cmd_newlist commands wrongly disabled
Categories
(MailNews Core :: Address Book, defect)
Tracking
(firefox43 affected)
Tracking | Status | |
---|---|---|
firefox43 | --- | affected |
People
(Reporter: thomas8, Assigned: aceman)
References
(Depends on 1 open bug)
Details
(Keywords: regression, Whiteboard: [regression:TB38])
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 3•4 years ago
|
||
From my analysis, the reason for this bug is simply that the search box is outside the scope of the command controllers which handle the disabling/enabling of the key. The annoying part of this is not only the inability to create a new contact when it's most likely (after searching if you already have it), but also that it prevents us from having a useful focus in the quick search box when main AB window gets opened (as that would disable new contact / new list buttons from the start, this bug).
Proposed fix:
Re-implement the keyboard shortcut Ctrl+N as a normal HTML event listener for the entire AB window document.
I suspect that it'll just work without much more tweaks.
Comment 4•4 years ago
|
||
I doubt that will work as there are multiple documents in there. Unlikely to be a good first bug.
Updated•3 years ago
|
Reporter | ||
Comment 6•2 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #5)
I can't reproduce with current beta.
Looks good on Beta and Daily 115.0a1 (2023-05-15) (64-bit), where Ctrl+N to create a new contact (or respective buttons incl. New List) now works from literally everywhere including AB search field (this bug). However, we've taken this a bit too far: While editing existing or new contact, Ctrl+N still works and discards changes without asking. Will file that as new bug.
Reporter | ||
Comment 7•2 years ago
|
||
(In reply to Thomas D. (:thomas8) from comment #6)
While editing existing or new contact, Ctrl+N still works and discards changes without asking. Will file that as new bug.
I've filed this as Bug 1833262.
Description
•