Closed Bug 534219 Opened 15 years ago Closed 9 years ago

"find in this page" not case sensitive after searching for the same string with "find as you type"

Categories

(SeaMonkey :: Find In Page, defect)

SeaMonkey 2.0 Branch
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ntm.perso, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4) Gecko/20091106 SeaMonkey/2.0
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4) Gecko/20091106 SeaMonkey/2.0

"Find as you type" is not case sensitive, at least be default on my system.
"Find in this page" (Ctrl+F) has an option for case-sensitive searches that usually works fine.
However if FAYT has been used to search for a string, and then you realize you need some case sensitivity in your search: you press Ctrl+F and activate "match case", then search for your string again (change the case of some chars if you want but apart from the case keep the same string) expecting a case-sensitive search, but it doesn't work: "find in this page" is not case-sensitive.


Reproducible: Always

Steps to Reproduce:
1. Open the URL (seamonkey home page) in a browser.
2. "find text as you type" (hit '/') and type "sea" (without quotes). FAYT is case insensitive so you get matches on SeaMonkey.
3. Hit Ctrl+F, activate "match case", search for "sea" again.
Actual Results:  
You still get matches for SeaMonkey although S is in upper-case.


Expected Results:  
Once "match case" is activated, find should only match on text where "sea" is all lower-case. Today the only match is a Sept 3 2009 entry linking to the seamonkey home page, i.e. www.seamonkey-project.org .



Note that it seems only the latest FAYT string is affected.
For example in the case above after step 3: 
4. close the Find dialog box;
5. FAYT for string "project";
6. type Ctrl+F, activate "match case", and search for "sea".
Result: the search is now case sensitive!

I also noticed that if the search string (in Ctrl+F) is not identical to the FAYT string except for some characters' case, the bug does not occur. For example, if after step 3 you add an 'm' to the search string, it works (no longer matches on SeaMonkey).
Version: unspecified → SeaMonkey 2.0 Branch
Confirming with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7pre) Gecko/20091211 SeaMonkey/2.0.2pre, FAYT and Find in this page don't like each other very much if used together...
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: x86_64 → All
Found this very old bug that I submitted in 2009, it's fixed in seamonkey-2.32.1.en-US.linux-x86_64.tar.bz2 so I'll mark it fixed.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.