WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
133024
[Phone Number Detection] drop-down menu in the phone number detection box doesn't appear
https://bugs.webkit.org/show_bug.cgi?id=133024
Summary
[Phone Number Detection] drop-down menu in the phone number detection box doe...
Brent Fulgham
Reported
2014-05-16 21:17:49 PDT
The data detector menu was not working because the 'drawRects' function was clearing the set of selected phone numbers on each draw operation. This is wrong, because the drawRect function is called for each drawing tile. Since the screen often has ~9 tiles, and the last tile is likely to not have a phone number causing the set of selected phone numbers to get cleared.
Attachments
Patch
(1.70 KB, patch)
2014-05-16 21:20 PDT
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2014-05-16 21:20:11 PDT
Created
attachment 231620
[details]
Patch
Brent Fulgham
Comment 2
2014-05-16 21:22:00 PDT
<
rdar://problem/16917021
>
Sam Weinig
Comment 3
2014-05-16 21:45:19 PDT
Comment on
attachment 231620
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=231620&action=review
> Source/WebKit2/ChangeLog:10 > + time we call drawRect. This gets called ~9 times per screen refresh, so end up with no active
~9 times? That seems like a lot. Do we have a bug tracking why we are calling drawRect here so much?
Brent Fulgham
Comment 4
2014-05-17 00:20:27 PDT
Comment on
attachment 231620
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=231620&action=review
>> Source/WebKit2/ChangeLog:10 >> + time we call drawRect. This gets called ~9 times per screen refresh, so end up with no active > > ~9 times? That seems like a lot. Do we have a bug tracking why we are calling drawRect here so much?
Once per tile. It varies by how much of the screen is dirty, and how large the screen is. I think this is working as designed..
WebKit Commit Bot
Comment 5
2014-05-17 14:50:26 PDT
Comment on
attachment 231620
[details]
Patch Clearing flags on attachment: 231620 Committed
r168998
: <
http://trac.webkit.org/changeset/168998
>
WebKit Commit Bot
Comment 6
2014-05-17 14:50:29 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug