WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
99322
[EFL][WK2] Display tooltip in MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=99322
Summary
[EFL][WK2] Display tooltip in MiniBrowser
Jinwoo Song
Reported
2012-10-15 07:01:49 PDT
Display tooltip in MiniBrowser using elm_object_tooltip_text_set().
Attachments
Patch
(3.38 KB, patch)
2012-10-15 07:07 PDT
,
Jinwoo Song
no flags
Details
Formatted Diff
Diff
Patch
(2.55 KB, patch)
2012-10-25 09:50 PDT
,
Jinwoo Song
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jinwoo Song
Comment 1
2012-10-15 07:07:33 PDT
Created
attachment 168707
[details]
Patch
Gyuyoung Kim
Comment 2
2012-10-19 23:18:33 PDT
Comment on
attachment 168707
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=168707&action=review
> Tools/MiniBrowser/efl/main.c:529 > +on_tooltip_text_set(void *user_data, Evas_Object *obj, void *event_info)
MiniBrowser's been used *webview* for Evas_Object variable name.
> Tools/MiniBrowser/efl/main.c:532 > + char *message = (char *)event_info;
tooltip message is sent as const char. So, I think you have to use const char.
> Tools/MiniBrowser/efl/main.c:544 > +on_tooltip_text_unset(void *user_data, Evas_Object *obj, void *event_info)
ditto.
Chris Dumez
Comment 3
2012-10-20 04:54:03 PDT
***
Bug 99846
has been marked as a duplicate of this bug. ***
Chris Dumez
Comment 4
2012-10-20 04:59:58 PDT
Can you please take a look at my patch from
Bug 99846
? It seems simpler and it was working fine based on my testing. Feel free to inspire from it.
Chris Dumez
Comment 5
2012-10-20 05:02:54 PDT
Comment on
attachment 168707
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=168707&action=review
> Tools/MiniBrowser/efl/main.c:58 > + Evas_Object *tooltip;
Why do we need to keep a pointer to the tooltip?
> Tools/MiniBrowser/efl/main.c:539 > + evas_object_move(window->tooltip, x, y);
Why do we need to move it?
> Tools/MiniBrowser/efl/main.c:664 > + app_data->tooltip = elm_label_add(app_data->window);
Why do we need a label?
Jinwoo Song
Comment 6
2012-10-20 16:15:24 PDT
(In reply to
comment #4
)
> Can you please take a look at my patch from
Bug 99846
? > It seems simpler and it was working fine based on my testing. Feel free to inspire from it.
Yes, it seems simpler way, but I see an error message from elementary. Is it a bug from elementary? How do you think about this? ERR<4848>:elementary elm_label.c:400 elm_label_add() could not add 0x27641c0 as sub object of 0x250deb0'
Chris Dumez
Comment 7
2012-10-21 00:00:21 PDT
(In reply to
comment #6
)
> (In reply to
comment #4
) > > Can you please take a look at my patch from
Bug 99846
? > > It seems simpler and it was working fine based on my testing. Feel free to inspire from it. > > Yes, it seems simpler way, but I see an error message from elementary. Is it a bug from elementary? How do you think about this? > ERR<4848>:elementary elm_label.c:400 elm_label_add() could not add 0x27641c0 as sub object of 0x250deb0'
Yes, I have seen this error on the terminal too. It looks like an elementary bug but the visual output looks correct.
Jinwoo Song
Comment 8
2012-10-25 09:50:25 PDT
Created
attachment 170677
[details]
Patch
Jinwoo Song
Comment 9
2012-10-25 09:54:01 PDT
I refined the patch referring to Chris's simpler approach.
Chris Dumez
Comment 10
2012-10-25 09:55:39 PDT
Comment on
attachment 170677
[details]
Patch LGTM.
WebKit Review Bot
Comment 11
2012-10-25 19:38:05 PDT
Comment on
attachment 170677
[details]
Patch Clearing flags on attachment: 170677 Committed
r132560
: <
http://trac.webkit.org/changeset/132560
>
WebKit Review Bot
Comment 12
2012-10-25 19:38:09 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