Bug 134436 - [EFL] Fix occurrence of two cursors on WK2 EFL
Summary: [EFL] Fix occurrence of two cursors on WK2 EFL
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-29 09:04 PDT by KwangHyuk
Modified: 2014-07-01 21:50 PDT (History)
6 users (show)

See Also:


Attachments
Patch for fixing occurrence of two cursor images on WK2 EFL. (1.19 KB, patch)
2014-06-29 09:04 PDT, KwangHyuk
no flags Details | Formatted Diff | Diff
Add bug id to Changelog. (1.25 KB, patch)
2014-06-29 09:30 PDT, KwangHyuk
gyuyoung.kim: review-
Details | Formatted Diff | Diff
Update the patch according to reviewer's comment. (1.25 KB, patch)
2014-06-30 08:26 PDT, KwangHyuk
andersca: review+
Details | Formatted Diff | Diff
Update changelog. (1.29 KB, patch)
2014-07-01 10:52 PDT, KwangHyuk
no flags Details | Formatted Diff | Diff
Apply reviewer's comment. (1.29 KB, patch)
2014-07-01 21:06 PDT, KwangHyuk
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description KwangHyuk 2014-06-29 09:04:14 PDT
Created attachment 234060 [details]
Patch for fixing occurrence of two cursor images on WK2 EFL.

Currently I could notice two different cursor images when I used WK2 EFL's mini browser whenever mouse cursor gets into the banner area on the google.com site. In addition, there are similar issues on other sites too.
This patch is just for allowing only one cursor image for WK2 EFL.
Comment 1 WebKit Commit Bot 2014-06-29 09:06:31 PDT
Attachment 234060 [details] did not pass style-queue:


ERROR: Source/WebKit2/ChangeLog:1:  ChangeLog entry has no bug number  [changelog/bugnumber] [5]
Total errors found: 1 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 2 KwangHyuk 2014-06-29 09:30:14 PDT
Created attachment 234061 [details]
Add bug id to Changelog.

Add bug id to Changelog.
Comment 3 Ryuan Choi 2014-06-29 17:51:29 PDT
Comment on attachment 234061 [details]
Add bug id to Changelog.

View in context: https://bugs.webkit.org/attachment.cgi?id=234061&action=review

> Source/WebKit2/ChangeLog:5
> +        ecore_x_window_cursor is released when ecore_evas_object_cursor should be shown in order to avoid occurrence of two cursors.

This comment should be below of "Reviewed by NOBODY..."

> Source/WebKit2/UIProcess/API/efl/EwkView.cpp:473
> +    ecore_x_window_cursor_set(getEcoreXWindow(ecoreEvas), 0);

At least, it should be in the guard #ifdef HAVE_ECORE_X
Comment 4 Gyuyoung Kim 2014-06-29 18:30:04 PDT
Comment on attachment 234061 [details]
Add bug id to Changelog.

View in context: https://bugs.webkit.org/attachment.cgi?id=234061&action=review

r- because of comments.

> Source/WebKit2/ChangeLog:3
> +        Fix occurrence of two cursors on WK2 EFL.

Please add [EFL] prefix in bug title.
Comment 5 KwangHyuk 2014-06-30 08:26:48 PDT
Created attachment 234078 [details]
Update the patch according to reviewer's comment.
Comment 6 KwangHyuk 2014-07-01 10:52:24 PDT
Created attachment 234173 [details]
Update changelog.

Update "reviewed by" to Changelog.
Comment 7 Gyuyoung Kim 2014-07-01 18:22:56 PDT
Comment on attachment 234173 [details]
Update changelog.

View in context: https://bugs.webkit.org/attachment.cgi?id=234173&action=review

> Source/WebKit2/UIProcess/API/efl/EwkView.cpp:472
>      // ecore_evas takes care of freeing the cursor object.

Move this comment to 475 line as below.

#ifdef HAVE_ECORE_X
    ecore_x_window_cursor_set(getEcoreXWindow(ecoreEvas), 0);
#endif

// ecore_evas takes care of freeing the cursor object.
ecore_evas_object_cursor_set(ecoreEvas, cursorObject.release(), EVAS_LAYER_MAX, hotspotX, hotspotY);
Comment 8 KwangHyuk 2014-07-01 21:06:41 PDT
Created attachment 234238 [details]
Apply reviewer's comment.
Comment 9 KwangHyuk 2014-07-01 21:07:25 PDT
> Move this comment to 475 line as below.

Done. :)
Comment 10 WebKit Commit Bot 2014-07-01 21:49:56 PDT
Comment on attachment 234238 [details]
Apply reviewer's comment.

Clearing flags on attachment: 234238

Committed r170696: <http://trac.webkit.org/changeset/170696>
Comment 11 WebKit Commit Bot 2014-07-01 21:50:00 PDT
All reviewed patches have been landed.  Closing bug.