<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>96108</bug_id>
          
          <creation_ts>2012-09-07 07:38:36 -0700</creation_ts>
          <short_desc>[EFL] [WK2] Set theme for the inspector view</short_desc>
          <delta_ts>2012-09-07 17:42:27 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit EFL</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sudarsana Nagineni (babu)">naginenis</reporter>
          <assigned_to name="Sudarsana Nagineni (babu)">naginenis</assigned_to>
          <cc>gyuyoung.kim</cc>
    
    <cc>kenneth</cc>
    
    <cc>lucas.de.marchi</cc>
    
    <cc>rakuco</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>714512</commentid>
    <comment_count>0</comment_count>
    <who name="Sudarsana Nagineni (babu)">naginenis</who>
    <bug_when>2012-09-07 07:38:36 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>714517</commentid>
    <comment_count>1</comment_count>
      <attachid>162769</attachid>
    <who name="Sudarsana Nagineni (babu)">naginenis</who>
    <bug_when>2012-09-07 07:50:46 -0700</bug_when>
    <thetext>Created attachment 162769
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>714715</commentid>
    <comment_count>2</comment_count>
      <attachid>162769</attachid>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2012-09-07 10:40:21 -0700</bug_when>
    <thetext>Comment on attachment 162769
Patch

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

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

Shouldn&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>714803</commentid>
    <comment_count>3</comment_count>
      <attachid>162769</attachid>
    <who name="Sudarsana Nagineni (babu)">naginenis</who>
    <bug_when>2012-09-07 11:38:11 -0700</bug_when>
    <thetext>Comment on attachment 162769
Patch

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

&gt;&gt; Source/WebKit2/UIProcess/efl/WebInspectorProxyEfl.cpp:50
&gt;&gt; +    ewk_view_theme_set(m_inspectorView, TEST_THEME_DIR&quot;/default.edj&quot;);
&gt; 
&gt; Shouldn&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>715145</commentid>
    <comment_count>4</comment_count>
      <attachid>162769</attachid>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2012-09-07 17:03:32 -0700</bug_when>
    <thetext>Comment on attachment 162769
Patch

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

&gt;&gt;&gt; Source/WebKit2/UIProcess/efl/WebInspectorProxyEfl.cpp:50
&gt;&gt;&gt; +    ewk_view_theme_set(m_inspectorView, TEST_THEME_DIR&quot;/default.edj&quot;);
&gt;&gt; 
&gt;&gt; Shouldn&apos;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.
&gt; 
&gt; I was about to fix your comment, but now I found that recently we dropped the default theme setting on the view initialization.
&gt; 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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>715152</commentid>
    <comment_count>5</comment_count>
      <attachid>162769</attachid>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2012-09-07 17:08:44 -0700</bug_when>
    <thetext>Comment on attachment 162769
Patch

We should probably land this and fix the real issues in a separate bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>715171</commentid>
    <comment_count>6</comment_count>
      <attachid>162769</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-09-07 17:42:24 -0700</bug_when>
    <thetext>Comment on attachment 162769
Patch

Clearing flags on attachment: 162769

Committed r127942: &lt;http://trac.webkit.org/changeset/127942&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>715172</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-09-07 17:42:27 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>162769</attachid>
            <date>2012-09-07 07:50:46 -0700</date>
            <delta_ts>2012-09-07 17:42:23 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>96108.patch</filename>
            <type>text/plain</type>
            <size>1546</size>
            <attacher name="Sudarsana Nagineni (babu)">naginenis</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdp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