Bug 96108 - [EFL] [WK2] Set theme for the inspector view
Summary: [EFL] [WK2] Set theme for the inspector view
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sudarsana Nagineni (babu)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-07 07:38 PDT by Sudarsana Nagineni (babu)
Modified: 2012-09-07 17:42 PDT (History)
5 users (show)

See Also:


Attachments
Patch (1.51 KB, patch)
2012-09-07 07:50 PDT, Sudarsana Nagineni (babu)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sudarsana Nagineni (babu) 2012-09-07 07:38:36 PDT
Right now the theme is not set for the inspector view, so all the tests are failing on EFL Debug bot. We must set the theme for the inspector view when it is created.
Comment 1 Sudarsana Nagineni (babu) 2012-09-07 07:50:46 PDT
Created attachment 162769 [details]
Patch
Comment 2 Chris Dumez 2012-09-07 10:40:21 PDT
Comment on attachment 162769 [details]
Patch

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

> Source/WebKit2/UIProcess/efl/WebInspectorProxyEfl.cpp:50
> +    ewk_view_theme_set(m_inspectorView, TEST_THEME_DIR"/default.edj");

Shouldn't we do this in _ewk_view_initialize() so that we are sure every view has a theme set? Since it seems to be causing crashes when a view does not have a theme set, I think we should fix this at the origin.
Comment 3 Sudarsana Nagineni (babu) 2012-09-07 11:38:11 PDT
Comment on attachment 162769 [details]
Patch

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

>> Source/WebKit2/UIProcess/efl/WebInspectorProxyEfl.cpp:50
>> +    ewk_view_theme_set(m_inspectorView, TEST_THEME_DIR"/default.edj");
> 
> Shouldn't we do this in _ewk_view_initialize() so that we are sure every view has a theme set? Since it seems to be causing crashes when a view does not have a theme set, I think we should fix this at the origin.

I was about to fix your comment, but now I found that recently we dropped the default theme setting on the view initialization.
https://bugs.webkit.org/show_bug.cgi?id=94778
Comment 4 Kenneth Rohde Christiansen 2012-09-07 17:03:32 PDT
Comment on attachment 162769 [details]
Patch

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

>>> Source/WebKit2/UIProcess/efl/WebInspectorProxyEfl.cpp:50
>>> +    ewk_view_theme_set(m_inspectorView, TEST_THEME_DIR"/default.edj");
>> 
>> Shouldn't we do this in _ewk_view_initialize() so that we are sure every view has a theme set? Since it seems to be causing crashes when a view does not have a theme set, I think we should fix this at the origin.
> 
> I was about to fix your comment, but now I found that recently we dropped the default theme setting on the view initialization.
> https://bugs.webkit.org/show_bug.cgi?id=94778

Huh? So we are supposed to not have a default theme and it should then paint what?
Comment 5 Kenneth Rohde Christiansen 2012-09-07 17:08:44 PDT
Comment on attachment 162769 [details]
Patch

We should probably land this and fix the real issues in a separate bug.
Comment 6 WebKit Review Bot 2012-09-07 17:42:24 PDT
Comment on attachment 162769 [details]
Patch

Clearing flags on attachment: 162769

Committed r127942: <http://trac.webkit.org/changeset/127942>
Comment 7 WebKit Review Bot 2012-09-07 17:42:27 PDT
All reviewed patches have been landed.  Closing bug.