WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 97015
[EFL][WK2] Implement PageClientImpl::isViewFocused.
https://bugs.webkit.org/show_bug.cgi?id=97015
Summary
[EFL][WK2] Implement PageClientImpl::isViewFocused.
Ryuan Choi
Reported
2012-09-18 06:44:47 PDT
In WebKit2/Efl, PageClientImpl::isViewFocused always return true. So contents can not receive window.onblur although webview lost focus.
Attachments
Patch
(3.91 KB, patch)
2012-09-18 07:00 PDT
,
Ryuan Choi
no flags
Details
Formatted Diff
Diff
Patch
(1.48 KB, patch)
2012-09-18 17:36 PDT
,
Ryuan Choi
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ryuan Choi
Comment 1
2012-09-18 07:00:05 PDT
Created
attachment 164550
[details]
Patch
Chris Dumez
Comment 2
2012-09-18 07:05:18 PDT
Comment on
attachment 164550
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=164550&action=review
Can you unskip any test with this fix?
> Source/WebKit2/UIProcess/API/efl/PageClientImpl.h:45 > + void setViewFocused(bool isFocused) { m_isViewFocused = isFocused; }
Why do we need this?
> Source/WebKit2/UIProcess/API/efl/PageClientImpl.h:57 > + virtual bool isViewFocused() { return m_isViewFocused; }
evas_object_focus_get(m_viewWidget) ?
> Source/WebKit2/UIProcess/API/efl/PageClientImpl.h:122 > + bool m_isViewFocused;
Why do we need a new member? We can certainly get focused state from m_viewWidget, right?
Ryuan Choi
Comment 3
2012-09-18 17:36:03 PDT
Created
attachment 164639
[details]
Patch
Ryuan Choi
Comment 4
2012-09-18 17:38:02 PDT
(In reply to
comment #2
)
> (From update of
attachment 164550
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=164550&action=review
> > Can you unskip any test with this fix?
My results are same with this.
> > > Source/WebKit2/UIProcess/API/efl/PageClientImpl.h:45 > > + void setViewFocused(bool isFocused) { m_isViewFocused = isFocused; } > > Why do we need this? > > > Source/WebKit2/UIProcess/API/efl/PageClientImpl.h:57 > > + virtual bool isViewFocused() { return m_isViewFocused; } > > evas_object_focus_get(m_viewWidget) ? > > > Source/WebKit2/UIProcess/API/efl/PageClientImpl.h:122 > > + bool m_isViewFocused; > > Why do we need a new member? We can certainly get focused state from m_viewWidget, right?
yes, it is enough. Fixed.
Gyuyoung Kim
Comment 5
2012-09-18 18:23:02 PDT
Comment on
attachment 164639
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=164639&action=review
> Source/WebKit2/ChangeLog:9 > + So window.onblur events will not be generated when webview lost focus.
lost -> losts ?
Gyuyoung Kim
Comment 6
2012-09-18 18:25:31 PDT
Comment on
attachment 164639
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=164639&action=review
>> Source/WebKit2/ChangeLog:9 >> + So window.onblur events will not be generated when webview lost focus. > > lost -> losts ?
No ?
WebKit Review Bot
Comment 7
2012-09-18 18:32:41 PDT
Comment on
attachment 164639
[details]
Patch Clearing flags on attachment: 164639 Committed
r128958
: <
http://trac.webkit.org/changeset/128958
>
WebKit Review Bot
Comment 8
2012-09-18 18:32:45 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