<?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>19251</bug_id>
          
          <creation_ts>2008-05-26 01:53:22 -0700</creation_ts>
          <short_desc>[Qt] setTextSizeMultiplier does not scale button fonts</short_desc>
          <delta_ts>2008-06-02 05:58:03 -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 Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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>0</everconfirmed>
          <reporter name="Siraj razick">siraj</reporter>
          <assigned_to name="Siraj razick">siraj</assigned_to>
          <cc>hausmann</cc>
    
    <cc>pierre-luc.beaudoin</cc>
    
    <cc>vestbo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81518</commentid>
    <comment_count>0</comment_count>
    <who name="Siraj razick">siraj</who>
    <bug_when>2008-05-26 01:53:22 -0700</bug_when>
    <thetext>setTextSizeMultiplier does not scale the font size of buttons text.  This is inconsistent with the way it happens in gtk webkit. I&apos;ll be attaching a fix shortly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81522</commentid>
    <comment_count>1</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2008-05-26 03:58:42 -0700</bug_when>
    <thetext>Please note that on Mac we do want a fixed size button font. See RenderThemeQt::adjustButtonStyle().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81571</commentid>
    <comment_count>2</comment_count>
      <attachid>21359</attachid>
    <who name="Siraj razick">siraj</who>
    <bug_when>2008-05-27 01:54:08 -0700</bug_when>
    <thetext>Created attachment 21359
setTextSizeMultiplier now  scales button fonts

With this patch, setTextSizeMultiplier will scale the button fonts. It reproduces GtkWebKit behavior implemented by Barisione (http://people.collabora.co.uk/~bari/zoom.png): except on Mac, where the Safari behavior is reproduced.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82097</commentid>
    <comment_count>3</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2008-06-02 02:52:17 -0700</bug_when>
    <thetext>Tested on Mac and X11, looks good. Thanks for the patch, Simon will commit it later today.

http://code.staikos.net/cgi-bin/gitweb.cgi?p=webkit;a=commitdiff;h=a9e4748a35a9f4d4c5196ddb9adbf2666520b20d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82101</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2008-06-02 03:09:23 -0700</bug_when>
    <thetext>Landed in r34296</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82111</commentid>
    <comment_count>5</comment_count>
    <who name="Siraj razick">siraj</who>
    <bug_when>2008-06-02 05:58:03 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Tested on Mac and X11, looks good. Thanks for the patch, Simon will commit it
&gt; later today.
&gt; 
&gt; http://code.staikos.net/cgi-bin/gitweb.cgi?p=webkit;a=commitdiff;h=a9e4748a35a9f4d4c5196ddb9adbf2666520b20d
&gt; 

(In reply to comment #3)
&gt; Tested on Mac and X11, looks good. Thanks for the patch, Simon will commit it
&gt; later today.
&gt; 
&gt; http://code.staikos.net/cgi-bin/gitweb.cgi?p=webkit;a=commitdiff;h=a9e4748a35a9f4d4c5196ddb9adbf2666520b20d
&gt; 

Thank you!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>21359</attachid>
            <date>2008-05-27 01:54:08 -0700</date>
            <delta_ts>2008-06-02 03:08:27 -0700</delta_ts>
            <desc>setTextSizeMultiplier now  scales button fonts</desc>
            <filename>qtwebkit-19251fix.diff</filename>
            <type>text/plain</type>
            <size>1573</size>
            <attacher name="Siraj razick">siraj</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiAzNDEzMCkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTcgQEAKKzIwMDgtMDUtMjYgIFNpcmFqIFJhemljayAgPHNpcmFqLnJhemlja0Bj
b2xsYWJvcmEuY28udWs+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisK
KyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE5MjUxCisK
KyAgICAgICAgW1F0XSBzZXRUZXh0U2l6ZU11bHRpcGxpZXIgZG9lcyBub3Qgc2NhbGUgYnV0dG9u
IGZvbnRzCisKKyAgICAgICAgc2V0VGV4dFNpemVNdWx0aXBsaWVyIGRvZXMgbm90IHNjYWxlIHRo
ZSBmb250IHNpemUgb2YgYnV0dG9ucyB0ZXh0LgorICAgICAgICBUaGlzIGlzIGluY29uc2lzdGVu
dCB3aXRoIHRoZSB3YXkgaXQgaGFwcGVucyBpbiBndGsgd2Via2l0LgorCisgICAgICAgICogcGxh
dGZvcm0vcXQvUmVuZGVyVGhlbWVRdC5jcHA6CisgICAgICAgIChXZWJDb3JlOjpSZW5kZXJUaGVt
ZVF0OjphZGp1c3RCdXR0b25TdHlsZSk6Cis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gZm9udEZhbWlseTsK
ICAgICBmb250RmFtaWx5LnNldEZhbWlseShtX2J1dHRvbkZvbnRGYW1pbHkpOwogICAgIGZvbnRE
ZXNjcmlwdGlvbi5zZXRGYW1pbHkoZm9udEZhbWlseSk7Cg==
</data>
<flag name="review"
          id="9332"
          type_id="1"
          status="+"
          setter="hausmann"
    />
          </attachment>
      

    </bug>

</bugzilla>