Closed Bug 153073 Opened 23 years ago Closed 23 years ago

Find again multiple highlights on same screen

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED
Chimera0.6

People

(Reporter: stf, Assigned: sfraser_bugs)

Details

Attachments

(1 file)

If you make a Find Again (Cmd-G) and if the searched string is visible on the same screen, the previous selected text remains highlighted (selected). If several searched items are on the same screen, you'll get several highlighted text.
minor, ->pinkerton
Assignee: saari → pinkerton
this regressed at some point. it didn't happen when i first did the feature
Status: NEW → ASSIGNED
Target Milestone: --- → Chimera0.5
Related to bug 155896? See also bug 153116 and bug 153572.
this is annoying note: this only happens when it scrolls in response to the find next (if it doesn't need to scroll, it renders correctly)
Target Milestone: Chimera0.5 → Chimera0.6
Note that forcing a redraw before the scroll behaves incorrectly, because the view manager has already repositioned the widget contents, so the wrong bits of content redraw. This patch was the only way I could find to fix it. I also note that despite the care taken to invalidate only the newly exposed portion of the content, the entire view repaints after scrolling. I think it has something to do with the views not being opaque.
I thought this was a feature before I saw this bug :-) Reference to emacs, which does this as well, personally I like it.
The patch here also fixes bug 157635.
Taking
Assignee: pinkerton → sfraser
Status: ASSIGNED → NEW
I checked the patch in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: