<?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>38440</bug_id>
          
          <creation_ts>2010-05-02 13:49:49 -0700</creation_ts>
          <short_desc>[Qt] use QT_MOBILE_THEME in Symbian</short_desc>
          <delta_ts>2010-05-14 08:41:32 -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>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>38439</dependson>
          <blocked>35784</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Luiz Agostini">luiz</reporter>
          <assigned_to name="Luiz Agostini">luiz</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>cshu</cc>
    
    <cc>hausmann</cc>
    
    <cc>kenneth</cc>
    
    <cc>koshuin</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>yael</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>219891</commentid>
    <comment_count>0</comment_count>
    <who name="Luiz Agostini">luiz</who>
    <bug_when>2010-05-02 13:49:49 -0700</bug_when>
    <thetext>Putting QT_MOBILE_THEME into use for Symbian.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>219892</commentid>
    <comment_count>1</comment_count>
      <attachid>54889</attachid>
    <who name="Luiz Agostini">luiz</who>
    <bug_when>2010-05-02 13:56:07 -0700</bug_when>
    <thetext>Created attachment 54889
patch 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>219906</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-05-02 14:34:12 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Created an attachment (id=54889) [details]
&gt; patch 1

rs=me :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221082</commentid>
    <comment_count>3</comment_count>
    <who name="Janne Koskinen">koshuin</who>
    <bug_when>2010-05-05 06:41:23 -0700</bug_when>
    <thetext>Umm... why would we use maemo5style on Symbian ?

We have s60Style that we currently use albeit yes it sucks with dissappearing check-boxes etc.. If that QT_MOBILE_THEME style/palette is considered to be the best color scheme for mobiles and is accepted by S60 LAF guides I see why not take it in. But then the class name has to be changed from maemo5style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221087</commentid>
    <comment_count>4</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2010-05-05 06:48:53 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Umm... why would we use maemo5style on Symbian ?
&gt; 
&gt; We have s60Style that we currently use albeit yes it sucks with dissappearing
&gt; check-boxes etc.. If that QT_MOBILE_THEME style/palette is considered to be the
&gt; best color scheme for mobiles and is accepted by S60 LAF guides I see why not
&gt; take it in. But then the class name has to be changed from maemo5style.

Funny :-)
I thought we were going to use QHbStyle in Symbian^4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221125</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-05-05 08:32:32 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Umm... why would we use maemo5style on Symbian ?
&gt; 
&gt; We have s60Style that we currently use albeit yes it sucks with dissappearing
&gt; check-boxes etc.. If that QT_MOBILE_THEME style/palette is considered to be the
&gt; best color scheme for mobiles and is accepted by S60 LAF guides I see why not
&gt; take it in. But then the class name has to be changed from maemo5style.

Yes, the name maemo5style is confusing, but essentially this is about using the windows style plus a custom stylesheet for the rendering of form elements, instead of the native style with buttons and input fields with finger friendly sizes that break web site layout.

Luiz, can you elaborate a bit on that? :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221186</commentid>
    <comment_count>6</comment_count>
    <who name="Luiz Agostini">luiz</who>
    <bug_when>2010-05-05 10:40:10 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #3)
&gt; &gt; Umm... why would we use maemo5style on Symbian ?
&gt; &gt; 
&gt; &gt; We have s60Style that we currently use albeit yes it sucks with dissappearing
&gt; &gt; check-boxes etc.. If that QT_MOBILE_THEME style/palette is considered to be the
&gt; &gt; best color scheme for mobiles and is accepted by S60 LAF guides I see why not
&gt; &gt; take it in. But then the class name has to be changed from maemo5style.
&gt; 
&gt; Yes, the name maemo5style is confusing, but essentially this is about using the
&gt; windows style plus a custom stylesheet for the rendering of form elements,
&gt; instead of the native style with buttons and input fields with finger friendly
&gt; sizes that break web site layout.
&gt; 
&gt; Luiz, can you elaborate a bit on that? :)

Maemo5Style is responsible for rendering radio buttons, checkboxes and combo boxes buttons. All other elements are rendered by webkit using a customized style sheet. Any other QStyle, if provided, will be ignored.

What is now been enabled for Symbian is the use of Maemo5Style class, customized style sheet and replacing list boxes by combo boxes. There are some screen shots of the expected result in bug 36370.

All &lt;select&gt; elements will be rendered as combo boxes but customized popups are not provided. To provide customized popups it is needed to create a platform plugin. See bug 38438.

Yes the name Maemo5Style does not make sense now. I plan to rename files and class in future patch.

I an submitting this patch and previous one (bug 38439) because I understood that it was agreed that it should be done. Please let me know if I am wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221596</commentid>
    <comment_count>7</comment_count>
    <who name="Janne Koskinen">koshuin</who>
    <bug_when>2010-05-06 02:50:54 -0700</bug_when>
    <thetext>Hi, I know the background of the bug and I do agree that we need webstyle which is separated from user themes for visibility and usability reasons. Esp. on S60 where native controls don&apos;t fit to webpage layouts and color schemes at all. What worries here in your comments is that controls would be smaller. It is already very difficult in e.g. 5800 to use elements due to their small size.

non-touch S60 UI uses popups for all of these elements (radiobutton, checkbox, combobox). I think we might need to extend the work you&apos;ve done to combobox popup to apply to radiobuttons and checkboxes as well when UI style is non-touch. We have a fullscreen list for combobox type already available but this doesn&apos;t allow multiselection. How much should be put effort supporting non-touch UI is bit questionable and I don&apos;t have answer for it.

Yael&apos;s concern about orbit is also valid as that is Direct single touch UI where I could see combobox being operated in-place. Anyone know if Orbit even has comboboxes? How does combobox work in DUI (Maemo6/MeeGo)? Plugin mechanism is the technical answer, now we need to find out how many plugin variations we need to implement.

But let&apos;s put it in, and test it with full range of devices we have to see what are the implications.

I&apos;m fairly certain I will find this change from my mail box quite often in upcoming months :D</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221690</commentid>
    <comment_count>8</comment_count>
      <attachid>55241</attachid>
    <who name="Luiz Agostini">luiz</who>
    <bug_when>2010-05-06 08:16:35 -0700</bug_when>
    <thetext>Created attachment 55241
patch 2

As everyone seems to be ok with the changes I will land it and deal with the issues as they come.
I will also supply a patch renaming Maemo5WebStyle to DefaultMobileWebStyle or something similar.

Thanks for the comments Janne, Yael and Simon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221932</commentid>
    <comment_count>9</comment_count>
      <attachid>55241</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-05-06 13:38:15 -0700</bug_when>
    <thetext>Comment on attachment 55241
patch 2

Clearing flags on attachment: 55241

Committed r58906: &lt;http://trac.webkit.org/changeset/58906&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221933</commentid>
    <comment_count>10</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-05-06 13:38:22 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>222236</commentid>
    <comment_count>11</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-05-07 01:11:10 -0700</bug_when>
    <thetext>While I agree that this is the right way forward and that the platform plugins will help to smoothen things out even further, I would like to double check if we _do_ want this change in the QtWebKit 2.0 release.

The 2.0 release on Symbian is going to be used only on platforms that use Avkon and where the Browser uses Avkon appearance for the buttons, etc. in form elements.

In the context of this, is the integration into the release still intentional?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>222245</commentid>
    <comment_count>12</comment_count>
    <who name="Janne Koskinen">koshuin</who>
    <bug_when>2010-05-07 02:09:41 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; The 2.0 release on Symbian is going to be used only on platforms that use Avkon
&gt; and where the Browser uses Avkon appearance for the buttons, etc. in form
&gt; elements.

This patch doesn&apos;t touch buttons. Only checkboxes , radiobuttons and comboboxes.

&gt; In the context of this, is the integration into the release still intentional?

We have no styled radiobutton nor checkboxes for Avkon base S60Style. What we have is terrible hack which doesn&apos;t work properly on white nor black background.
What we would need for 2.0 release is the combobox implementation.

So, yes the integration is intentional.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>222283</commentid>
    <comment_count>13</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2010-05-07 05:12:37 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; While I agree that this is the right way forward and that the platform plugins
&gt; will help to smoothen things out even further, I would like to double check if
&gt; we _do_ want this change in the QtWebKit 2.0 release.
&gt; 
&gt; The 2.0 release on Symbian is going to be used only on platforms that use Avkon
&gt; and where the Browser uses Avkon appearance for the buttons, etc. in form
&gt; elements.
&gt; 
&gt; In the context of this, is the integration into the release still intentional?

Chang worked on the Avkon integration. cc&apos;ing him as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>222293</commentid>
    <comment_count>14</comment_count>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2010-05-07 05:40:03 -0700</bug_when>
    <thetext>You probably still need to modify the CSS etc for Avkon right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>225845</commentid>
    <comment_count>15</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-05-14 08:41:18 -0700</bug_when>
    <thetext>Revision r58906 cherry-picked into qtwebkit-2.0 with commit c5f27fb7e594c65e12239faa6e1c316c3534817b</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>54889</attachid>
            <date>2010-05-02 13:56:07 -0700</date>
            <delta_ts>2010-05-06 08:16:35 -0700</delta_ts>
            <desc>patch 1</desc>
            <filename>0001-Qt-use-QT_MOBILE_THEME-in-Symbian.patch</filename>
            <type>text/plain</type>
            <size>1376</size>
            <attacher name="Luiz Agostini">luiz</attacher>
            
              <data encoding="base64">RnJvbSA1ZDk4OGQyZjE0ZTU0ZmY1OTBjMTVlZTc1OWRlMWYzNmRiMDdlYTg4IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBMdWl6IEFnb3N0aW5pIDxsdWl6LmFnb3N0aW5pQG9wZW5ib3Nz
YS5vcmc+CkRhdGU6IFN1biwgMiBNYXkgMjAxMCAxNzo1MTozMSAtMDMwMApTdWJqZWN0OiBbUEFU
Q0hdIFtRdF0gdXNlIFFUX01PQklMRV9USEVNRSBpbiBTeW1iaWFuCiBodHRwczovL2J1Z3Mud2Vi
a2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9Mzg0NDAKClJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEp
LgoKUHV0dGluZyBRVF9NT0JJTEVfVEhFTUUgaW50byB1c2UgZm9yIFN5bWJpYW4uCgoqIFdlYkNv
cmUucHJvOgotLS0KIFdlYkNvcmUvQ2hhbmdlTG9nICAgfCAgIDExICsrKysrKysrKysrCiBXZWJD
b3JlL1dlYkNvcmUucHJvIHwgICAgMiArLQogMiBmaWxlcyBjaGFuZ2VkLCAxMiBpbnNlcnRpb25z
KCspLCAxIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL1dlYkN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YWVtbzUgeworbWFlbW81fHN5bWJp
YW4gewogICAgIERFRklORVMgKz0gV1RGX1VTRV9RVF9NT0JJTEVfVEhFTUU9MQogfQogCi0tIAox
LjYuMy4zCgo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>55241</attachid>
            <date>2010-05-06 08:16:35 -0700</date>
            <delta_ts>2010-05-06 13:38:15 -0700</delta_ts>
            <desc>patch 2</desc>
            <filename>0001-Qt-use-QT_MOBILE_THEME-in-Symbian.patch</filename>
            <type>text/plain</type>
            <size>1328</size>
            <attacher name="Luiz Agostini">luiz</attacher>
            
              <data encoding="base64">RnJvbSAwZGEwYTk2ZTQ4OGFmMjE5OTM2NWU1NGUzYzg0YjhmN2Q4YWJkMDMwIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBMdWl6IEFnb3N0aW5pIDxsdWl6LmFnb3N0aW5pQG9wZW5ib3Nz
YS5vcmc+CkRhdGU6IFRodSwgNiBNYXkgMjAxMCAxMjowODo0MSAtMDMwMApTdWJqZWN0OiBbUEFU
Q0hdIFtRdF0gdXNlIFFUX01PQklMRV9USEVNRSBpbiBTeW1iaWFuCiBodHRwczovL2J1Z3Mud2Vi
a2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9Mzg0NDAKClJ1YmJlci1zdGFtcGVkIGJ5IFNpbW9uIEhh
dXNtYW5uLgoKUHV0dGluZyBRVF9NT0JJTEVfVEhFTUUgaW50byB1c2UgZm9yIFN5bWJpYW4uCgoq
IFdlYkNvcmUucHJvOgotLS0KIFdlYkNvcmUvQ2hhbmdlTG9nICAgfCAgIDExICsrKysrKysrKysr
CiBXZWJDb3JlL1dlYkNvcmUucHJvIHwgICAgMiArLQogMiBmaWxlcyBjaGFuZ2VkLCAxMiBpbnNl
cnRpb25zKCspLCAxIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9n
IGIvV2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