Bug 34946 - REGRESSION: Selection painting issue in bug review textbox
Summary: REGRESSION: Selection painting issue in bug review textbox
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All OS X 10.5
: P1 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2010-02-15 09:50 PST by Simon Fraser (smfr)
Modified: 2010-02-18 12:56 PST (History)
1 user (show)

See Also:


Attachments
Patch with repaint test (42.35 KB, patch)
2010-02-18 11:35 PST, mitz
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2010-02-15 09:50:02 PST
Go into a bug review, like
https://bugs.webkit.org/attachment.cgi?id=48732&action=review

Place the caret in the middle of a line.
Hit command-left arrow to move the caret to the left edge.
Hit shift-down arrow a few times to select some lines
Hit down arrow once to deselect and move to the next line.

At this point you'll see a bogus selection rectangle left to the right of the previously selected lines.

This didn't use to happen.
Comment 1 mitz 2010-02-15 10:35:38 PST
I think the steps to reproduce are missing one crucial step: before pressing the down arrow key to clear the selection, scroll the text area vertically.
Comment 2 Alexey Proskuryakov 2010-02-15 14:02:39 PST
Regression->P1
Comment 3 Alexey Proskuryakov 2010-02-15 14:17:25 PST
<rdar://problem/7650652>
Comment 4 mitz 2010-02-18 11:35:50 PST
Created attachment 49034 [details]
Patch with repaint test
Comment 5 mitz 2010-02-18 12:56:15 PST
Fixed in <http://trac.webkit.org/changeset/54982>.