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

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>85127</bug_id>
          
          <creation_ts>2004-07-13 23:42:46 +0000</creation_ts>
          <short_desc>&lt;g&gt; transform attribute animation failure</short_desc>
          <delta_ts>2011-10-17 21:06:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>ksvg</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>UNMAINTAINED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Karol">drpsycho</reporter>
          <assigned_to name="Nikolas Zimmermann">wildfox</assigned_to>
          <cc>cfeck</cc>
    
    <cc>clara.gnos</cc>
    
    <cc>esigra</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>40</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>248536</commentid>
    <comment_count>0</comment_count>
    <who name="Karol">drpsycho</who>
    <bug_when>2004-07-13 23:42:46 +0000</bug_when>
    <thetext>Version:           KSVG @KDE3.2.3 (using KDE KDE 3.2.3)
Installed from:    Gentoo Packages
Compiler:          gcc 3.3 
OS:                Linux

I defined some rectangle inside &lt;g&gt; element

&lt;g onmousemove=&quot;all_move(evt)&quot; transform=&quot;translate(10,80)&quot; onmouseup=&quot;all_up(evt)&quot;&gt;
    &lt;rect onmousedown=&quot;xdown(evt)&quot; width=&quot;70&quot; x=&quot;0&quot; y=&quot;0&quot; rx=&quot;4&quot; height=&quot;50&quot; 
          ry=&quot;4&quot; style=&quot;fill:#FFEE7F; stroke:black;&quot; id=&quot;r-r1&quot; /&gt;  &lt;/g&gt;

Now I try to animate it using JavaScript function which changes g&apos;s transform attribute while dragging the rectangle
but nothing happens. When I dump current-in-memory-SVG to file (View Memory option) I see, that transform attribute had changed. 
[JS code]
   my_g.setAttribute(&quot;transform&quot;,&quot;translate(&quot;+some_X+&quot;,&quot;+some_Y+&quot;)&quot;)
[/JS]

When I switch the finction to change rect&apos;s X and Y attributes everything works.

Under Adobe&apos;s SVG 3.01+MozillaFF (linux) my code works in both cases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>347807</commentid>
    <comment_count>1</comment_count>
      <attachid>11341</attachid>
    <who name="Clara Gnos">clara.gnos</who>
    <bug_when>2005-06-05 17:30:28 +0000</bug_when>
    <thetext>Created attachment 11341
rotate.svg

I noticed a very interesting behaviour. Try to open the svg and click on the
triangle. It should be rotated and after a second click at the normal position
(deer park, adobe svg viewer,... shows it correct). When you open it in ksvg
you will see the triangle but i will not be rotated. After some clicks you can
zoom in and out. Sometimes the triangle is rotated, but too much after more
clicks and zooms.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1174442</commentid>
    <comment_count>2</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2011-10-17 21:06:34 +0000</bug_when>
    <thetext>This component has been replaced with the QtSvg based &quot;svgpart&quot; in KDE 4. If
this issue still needs to be addressed, please add a comment.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>11341</attachid>
            <date>2005-06-05 17:30:28 +0000</date>
            <delta_ts>2005-06-05 17:30:28 +0000</delta_ts>
            <desc>rotate.svg</desc>
            <filename>rotate.svg</filename>
            <type>image/svg+xml</type>
            <size>719</size>
            <attacher name="Clara Gnos">clara.gnos</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjwh
RE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4wLy9FTiIgImh0dHA6Ly93d3cu
dzMub3JnL1RSL1NWRy9EVEQvc3ZnMTAuZHRkIj4gCjxzdmcgd2lkdGg9IjEwMCIgaGVpZ2h0PSIx
MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+Cgk8dGl0bGU+VHJhbnNmb3Jt
IFByb2JsZW08L3RpdGxlPgoJPGRlc2M+T2JqZWN0IGlzbnQgcm90YXRlZCBhbmQgc29tZXRpbWVz
ICh6b29tIGluIGFuZCBvdXQpIGl0IGlzIHJvdGF0ZWQgdG8gbXVjaDwvZGVzYz4KCTxzY3JpcHQg
dHlwZT0iYXBwbGljYXRpb24veC1qYXZhc2NyaXB0Ij4KCQl2YXIgcm90YXRlZCA9IGZhbHNlOwoJ
CWZ1bmN0aW9uIHJvdGF0ZShldnQpCgkJewoJCQlpZiAocm90YXRlZCA9PSBmYWxzZSkKCQkJewoJ
CQkJZXZ0LnRhcmdldC5zZXRBdHRyaWJ1dGUoInRyYW5zZm9ybSIsICJyb3RhdGUoLTEwKSIpOwoJ
CQkJcm90YXRlZCA9IHRydWU7CgkJCX0KCQkJZWxzZQoJCQl7CgkJCQlldnQudGFyZ2V0LnNldEF0
dHJpYnV0ZSgidHJhbnNmb3JtIiwgIiIpOwoJCQkJcm90YXRlZCA9IGZhbHNlOwoJCQl9CgkJfQoJ
PC9zY3JpcHQ+Cgk8cG9seWdvbiBwb2ludHM9IjUwLDUwIDUwLDgwIDgwLDgwIiBmaWxsPSJibGFj
ayIgb25jbGljaz0icm90YXRlKGV2dCkiIC8+Cjwvc3ZnPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>