Open
Bug 68891
Opened 24 years ago
Updated 14 years ago
mail search window should focus textbox automatically
Categories
(SeaMonkey :: MailNews: Message Display, enhancement)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
NEW
People
(Reporter: jruderman, Unassigned)
References
Details
(Whiteboard: [adt3])
Attachments
(2 obsolete files)
This would be a usability win. I've sworn several times after hitting
ctrl+shift+f to find I have no focus and have to use the mouse to select the
text box.
Reporter | ||
Comment 3•22 years ago
|
||
*** Bug 129877 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 4•22 years ago
|
||
I have a patch:
- Opening the mail search window focuses the textbox for the first criterion.
- Clicking "Clear" also focuses the textbox for the first criterion.
- Adding a row for another criterion focuses the attribute dropdown.
- Clicking "Clear" resets the "Less" button to the disabled state.
Assignee: naving → jruderman
Reporter | ||
Comment 5•22 years ago
|
||
Reporter | ||
Updated•22 years ago
|
Target Milestone: --- → mozilla1.2alpha
Reporter | ||
Comment 6•22 years ago
|
||
I just tested the patch on Mac (not OS X) and Linux, and it works on both.
OS: Windows 98 → All
Hardware: PC → All
Comment on attachment 90888 [details] [diff] [review]
patch
I would rather still have the searchvalue have the focus when there's more than
one search term.
This is because mscott had already fixed a bug that causes new search terms to
remember what the last searchattribute was set to and makes the new search term
contain the same searchattribute.
Because of that fix, it assumes the user wants the same attribute for the next
search term and thus having the focus on the searchvalue makes more sense to
me, IMHO.
In either case, r=ssu
Attachment #90888 -
Flags: review+
Reporter | ||
Comment 8•22 years ago
|
||
I think it's much more common to search with each row having a different field.
I might sometimes want to search for two words in a title, but I'll usually use
quick search for that (bug 123788).
Another argument for focusing the textbox when the user hits More (click or
Alt+M) is "Focusing the field dropdown helps users who use the keyboard whenever
possible, while focusing the text field helps uses who type with the keyboard
and do most other things with the mouse. There are more users in the second
group." While this is a valid argument, there are several factors that make it
somewhat weak:
1. Having to shift+tab is frustrating, while having to click a field when you
already have a hand on the mouse is normal.
2. Many mouse users will click the field anyway, not noticing that the field was
focused for them. I've seen this among Netscape engineers (at google.com) and I
suspect that it's even more common among normal users.
3. Many mouse users will select the field first, since that is the logical
order, and they won't gain the benefit of having the field already focused.
4. Keyboard users may select the field first, since that is the logical order.
That ends up being two shift+tabs and two tabs, which is inefficient and
potentially frustrating.
Reporter | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Comment 9•22 years ago
|
||
Comment on attachment 90888 [details] [diff] [review]
patch
sorry for the delay, jesse.
before you check in, make sure to test that editing existing filter rules still
behaves correctly. test filters with few rules (1 or 2) and many (5 or 10).
if that works fine, then sr=sspitzer
you may also have to make some similar changes for advanced addressbook search,
so that both our search dialogs behave the same. If this is the case, you can
spin that off to another bug.
Attachment #90888 -
Flags: superreview+
Reporter | ||
Comment 10•22 years ago
|
||
This goes back to focusing the filter name when creating or editing a filter.
I added a boolean argument to onMore saying whether to focus part of the newly
created rule and made it true everywhere except the filter dialog's onload.
Attachment #90888 -
Attachment is obsolete: true
Reporter | ||
Comment 11•22 years ago
|
||
The patch also works for address book search. Cool, I didn't know that :)
Comment 12•22 years ago
|
||
It is almost done. Can we make it for Buffy? I put nsbeta1 - usability.
Keywords: nsbeta1
Comment 13•22 years ago
|
||
Mail Triage team: nsbeta1+/adt3
Comment 14•21 years ago
|
||
Comment on attachment 95511 [details] [diff] [review]
patch v2
This patch doesn't apply anymore. :-(
Attachment #95511 -
Attachment is obsolete: true
Comment 15•21 years ago
|
||
*** Bug 108101 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 16•20 years ago
|
||
I'm no longer working on this bug.
Assignee: jruderman → sspitzer
Status: ASSIGNED → NEW
QA Contact: laurel
Target Milestone: mozilla1.2alpha → ---
Updated•20 years ago
|
Product: Browser → Seamonkey
Updated•20 years ago
|
Assignee: sspitzer → mail
Comment 17•19 years ago
|
||
(In reply to comment #14)
> (From update of attachment 95511 [details] [diff] [review] [edit])
> This patch doesn't apply anymore. :-(
It doesn't apply, as in it has bitrotted? Or, is there some other reason?
Comment 18•19 years ago
|
||
(In reply to comment #17)
> (In reply to comment #14)
> > (From update of attachment 95511 [details] [diff] [review] [edit] [edit])
> > This patch doesn't apply anymore. :-(
>
> It doesn't apply, as in it has bitrotted? Or, is there some other reason?
I just meant bitrotted back then.
Component: MailNews: Search → MailNews: Message Display
QA Contact: search
Updated•15 years ago
|
Assignee: mail → nobody
QA Contact: search → message-display
You need to log in
before you can comment on or make changes to this bug.
Description
•