Bug 23252

Summary: need a flag to remove the selection rectangle in text controls
Product: WebKit Reporter: scroggo
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, caryclark, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Other   
Attachments:
Description Flags
add a flag to remove the selection rectangle in text controls
none
add a flag to remove the selection rectangle in text controls adele: review-

Description scroggo 2009-01-12 07:48:09 PST
On the android platform, we draw our own renderer on top of a focused RenderTextControl.  Just like with ENABLE_TEXT_CARET, we want to remove the drawing of the selection rectangle in a RenderTextControl.  This is important because we are multithreaded, and our webkit thread lags behind, so when we remove our renderer, the selection (if any), which is no longer valid, shows up.
Comment 1 scroggo 2009-01-12 07:52:08 PST
Created attachment 26631 [details]
add a flag to remove the selection rectangle in text controls
Comment 2 scroggo 2009-01-12 08:24:30 PST
Created attachment 26632 [details]
add a flag to remove the selection rectangle in text controls

added email address to changelog
Comment 3 Mark Rowe (bdash) 2009-01-12 23:41:49 PST
Do we really need independent defines for every UI quirk that Android has?
Comment 4 Adele Peterson 2009-03-23 11:51:58 PDT
Comment on attachment 26632 [details]
add a flag to remove the selection rectangle in text controls

I agree with Mark.  Its unnecessary to have all these #defines.  One way to do this would be to cause the selection color to be clear in methods like platformActiveSelectionBackgroundColor.  Or you could have RenderTheme/some other platform class provide a way to tell if selection is supported on a particular platform, and you could ask that method before drawing selection.
Comment 5 Ahmad Saleem 2022-09-20 05:55:40 PDT
ap@webkit.org - It was for Android, do we need this anymore? Thanks!
Comment 6 Ryosuke Niwa 2022-09-20 21:29:32 PDT
We're not gonna support Android at this point.