Closed Bug 413940 Opened 17 years ago Closed 17 years ago

corruption at bottom of textfield in find bar

Categories

(Toolkit :: Find Toolbar, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 412646

People

(Reporter: dholbert, Unassigned)

Details

There's a 2px-tall strip at the bottom of the fast-find textbox that is getting some graphical corruption.  It basically looks like we're not invalidating the right region of the text box.  (specifically, we're missing the bottom ~2px or so)

Here are steps to reproduce one aspect of this bug:
EXPERIMENT A:
============
1. Press Ctrl-f to trigger the find bar.
2. Type "y"
3. Press Ctrl-a to select the full contents of the find box.
  * NOTICE: the highlighted region doesn't extend far down enough -- the bottom edge of the "y" sticks out slightly.

4. Now drag the mouse cursor over the find textbox.
  * NOTICE: As the cursor crosses the boundary of the textbox, the highlighted region suddenly grows 2px downwards.  (Now it covers the whole 'y', as it should)

EXPERIMENT B:
============
1. Press Ctrl-f to trigger the find bar.
2. Type "abc"
3. Press Ctrl-f again, to highlight it
4. Press Esc to close the find bar
5. Press Ctrl-f once more, to bring the find bar back, with "abc" highlighted
6. Type "x", which will overwrite the "abc".
  * NOTICE: The lower 2px of abc's highlighting still remains, even though the "abc" has been replaced with "x"

Expected behavior:  The stuff flagged "NOTICE" shouldn't happen

I see this bug in today's nightlies on both Windows and Linux:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b3pre) Gecko/2008011804 Minefield/3.0b3pre
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2008012404 Minefield/3.0b3pre

Flagging blocking-firefox3 -- we should definitely fix this for the next beta, as it happens a fair amount during normal use, and it looks pretty broken.
Flags: blocking-firefox3?
Sounds like a dupe of bug 412646?
Yup.
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: blocking-firefox3?
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.