Closed Bug 264842 Opened 20 years ago Closed 20 years ago

Match Case option on find toolbar has no effect on Highlighting

Categories

(Toolkit :: Find Toolbar, defect)

1.7 Branch
x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: wgianopoulos, Assigned: bugzilla)

Details

(Keywords: fixed-aviary1.0)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041017 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041017 Firefox/1.0

The Match case option on the Find Toolbar appears to work correctly for Finding
text, but not for hightlighting.  Highlighting appears to always be
case-insensitive.  This is not very intuitive.

Reproducible: Always
Steps to Reproduce:
1.  visit http://www.mozilla.org
2.  press ctrl-f
3.  enter the text mozilla in the findbar
4.  select Match case
5.  select Highlight
Actual Results:  
All occurances of either "mozilla" or "Mozilla" are hightlighted.

Expected Results:  
Only occurances of "mozzilla" should have been highlighted.  "Mozilla" should
NOT be highlighted.
I can reproduce this bug everytime.  Case is definitely being ignored.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041018 Firefox/1.0
nominating, in case the fix for this would be easy and unlikely to cause
regressions (minus otherwise).
Flags: blocking-aviary1.0?
OS: Windows XP → All
Version: unspecified → 1.0 Branch
Fixed.
Status: NEW → RESOLVED
Closed: 20 years ago
Flags: blocking-aviary1.0? → blocking-aviary1.0+
Resolution: --- → FIXED
Keywords: fixed-aviary1.0
There is still on minor nit with this fix installed.  If you enter the find
string and then select Highlight, so that the matches are now highlighted,
toggling the Match case checkbox does not change the highlighting.  Toggling the
match case checkbox if the hightlight button is already selected and the find
text is not null needs to trigger a redo of the highlighting.  If you think this
should be a seperate bug I will file one.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This patch fixes the problem described in comment #4.  If there is a change in
the match case setting and there is text highlighted, the highlighted text is
cleared and re-highlighted to ensure the highlighted text matches the match
case state.
Attachment #162890 - Flags: review?(firefox)
Comment #4 is still not fixed in FF 1.0 RC 2.
The issue with highlighting not changing with Match case is still there in
Firefox 1.0.
This bug as summarized is fixed in 1.0.  However, the dynamic changing of match
case does not work.  From what I can tell, the patch in comment #5 was never
approved/checked in. To stop some of the confusion here, I'll make that a new
bug and mark this one fixed.  
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
created bug 273149 for the dynamic change issue.
Attachment #162890 - Flags: review?(firefox)
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: