Closed
Bug 298658
Opened 20 years ago
Closed 20 years ago
When Enter key is pressed in FAYT mode, we should close find toolbar
Categories
(Toolkit :: Find Toolbar, defect, P2)
Toolkit
Find Toolbar
Tracking
()
RESOLVED
FIXED
mozilla1.8final
People
(Reporter: masayuki, Assigned: masayuki)
Details
Attachments
(1 file)
|
1.89 KB,
patch
|
bryner
:
review+
mconnor
:
approval1.8b4+
|
Details | Diff | Splinter Review |
When Enter key is pressed in FAYT mode, we should close find toolbar.
Because, if enter key is pressed in FAYT mode (including Ctrl + Enter and Shift
+ Enter), the FAYT mode is eneded. So the toolbar is not needed.
| Assignee | ||
Comment 1•20 years ago
|
||
nsITypeAheadFind.idl's update is my mistake too.
In bug 259454, I changed the interfase, bug I forgot to change GUID.
Attachment #187189 -
Flags: review?(bryner)
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → Firefox1.1
Comment 2•20 years ago
|
||
> if enter key is pressed in FAYT mode, the FAYT mode is ended.
not for me, why is this change needed?
| Assignee | ||
Comment 3•20 years ago
|
||
I changed FAYT behavior by bug 259454.
In that change, FAYT mode is ended when the find toolbar lost focus actualy.
Because if the focus is set the found link (so the find toolbar doesn't have
focus), we cannot handle IME transaction by Javascript code. So, if CJK users
are using IME in FAYT mode and press Ctrl + Enter, they may be confused that the
FAYT mode is continuing. (But actualy, they cannot use IME for FAYT)
| Assignee | ||
Comment 4•20 years ago
|
||
Comment on attachment 187189 [details] [diff] [review]
Patch rv1.0
I will recreate new patch.
Attachment #187189 -
Attachment is obsolete: true
Attachment #187189 -
Flags: review?(bryner) → review-
| Assignee | ||
Comment 5•20 years ago
|
||
Comment on attachment 187189 [details] [diff] [review]
Patch rv1.0
Sorry, this patch is right.
Please check this.
Attachment #187189 -
Attachment is obsolete: false
Attachment #187189 -
Flags: review- → review?(bryner)
Comment 6•20 years ago
|
||
(In reply to comment #3)
> I changed FAYT behavior by bug 259454.
>
> In that change, FAYT mode is ended when the find toolbar lost focus actualy.
err? the find toolbar isn't (and shoedn't be) focused when FAYT is used, have
you changed that?
(Going to test it myself anyway.)
| Assignee | ||
Comment 7•20 years ago
|
||
(In reply to comment #6)
> err? the find toolbar isn't (and shoedn't be) focused when FAYT is used, have
> you changed that?
Currently, the find toolbar has focus in FAYT mode.
The found link having "pseudo" focus only. Actual focus is set on the input
field of find toolbar.
| Assignee | ||
Comment 8•20 years ago
|
||
CJK users are confused by this problem.
Please block the release.
Flags: blocking-aviary1.1?
Updated•20 years ago
|
Attachment #187189 -
Flags: review?(bryner) → review+
| Assignee | ||
Comment 9•20 years ago
|
||
Comment on attachment 187189 [details] [diff] [review]
Patch rv1.0
Thank you Bryan.
Its risk is very low.
This bug may confuse users.
Attachment #187189 -
Flags: approval-aviary1.1a2?
Comment 10•20 years ago
|
||
Mike, is this something we want?
Updated•20 years ago
|
Attachment #187189 -
Flags: approval-aviary1.1a2? → approval1.8b4+
| Assignee | ||
Comment 11•20 years ago
|
||
checked-in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 12•20 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b3) Gecko/20050713
Firefox/1.0+ ID:2005071314
This now works (pressing enter or return IF what the user searched for is
found.) However, if the text the user has searched for is a link, and they press
return to get rid of the find bar, the link found containing the searched-for
text is then opened. Is this expected behaviour?
1. Go to http://forums.mozillazine.org/viewtopic.php?t=291588
2. Pop the find bar with /
3. Search for 178
4. Notice that '178' is found in the line "1. #178120 [Firefox]-Chevron box not
updated when renamed bookmarks exceed/under-run the Bookmark Toolbar [All]"
5. Press return to close the findbar
Expected (?)
- Find bar is closed.
Actual
- Find bar is closed, and bug 178120 is loaded.
I'm not exactly sure if the link should be navigated to, but I thought I'd
document what I see in case it's not meant to work like that.
Comment 13•20 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b3) Gecko/20050713
Firefox/1.0+ ID:2005071314
Actually, does this work?
If you pop the find bar on this page, and search for 'press' it finds text, but
on pressing enter or return, the find bar remains.
| Assignee | ||
Comment 14•20 years ago
|
||
> Expected (?)
> - Find bar is closed.
>
> Actual
> - Find bar is closed, and bug 178120 is loaded.
No, I designed "Find bar is closed, and bug 178120 is loaded".
If you pressed Enter when an link element has pseudo-focus, the Enter key
pressed event is fired the link element and after it, the Find bar is closed.
Updated•20 years ago
|
Flags: blocking-aviary1.1?
Comment 15•20 years ago
|
||
So Enter will no longer work for Find Again, is that right?
| Assignee | ||
Comment 16•20 years ago
|
||
(In reply to comment #15)
> So Enter will no longer work for Find Again, is that right?
Enter working for Find Again is only normal find mode(Ctrl + F) only.
In FAYT mode, Enter is not working for Find Again.
Comment 17•20 years ago
|
||
(In reply to comment #16)
> Enter working for Find Again is only normal find mode(Ctrl + F) only.
> In FAYT mode, Enter is not working for Find Again.
Correct you are. I shouldn't read bugs early in the morning.
Comment 18•20 years ago
|
||
When FAYT mode is set for links only, then ENTER should open that link. It's
the obvious reason for having a links only FAYT and was being used by many we
applications to speed data entry. We have missed this functionality since 9 and
have not upgraded our clients since then. Please allow this functionality again
as our users miss it and we would like to stay with a current version.
Comment 19•20 years ago
|
||
John, if you invoke FAYT in links only mode (i.e. pressing ') then Enter does
indeed act like this, just not when invoked with Ctrl-F, which has never behaved
like that.
Comment 20•20 years ago
|
||
(In reply to comment #19)
> John, if you invoke FAYT in links only mode (i.e. pressing ') then Enter does
> indeed act like this, just not when invoked with Ctrl-F, which has never behaved
> like that.
You are right. Sorry. We've been praying for the return of this feature for
several revisions. Thanks guys, you all rock.
Updated•17 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•