<?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>8824</bug_id>
          
          <creation_ts>2006-05-10 01:29:23 -0700</creation_ts>
          <short_desc>SVG: print any page</short_desc>
          <delta_ts>2006-09-10 23:24:14 -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>SVG</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.peepo.co.uk</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>SVGHitList</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>10383</dependson>
    
    <dependson>10648</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="jay">jay</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>ian</cc>
    
    <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>41839</commentid>
    <comment_count>0</comment_count>
    <who name="jay">jay</who>
    <bug_when>2006-05-10 01:29:23 -0700</bug_when>
    <thetext>It should be possible to print any SVG page, as per HTML.

One application that can print, and save as SVG is Apple&apos;s Sketch demo application from ObjectiveC 

also ASV</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48640</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2006-07-06 18:09:11 -0700</bug_when>
    <thetext>Attempting to print preview the URL provided results in Preview displaying &quot;File error.&quot;, &quot;Couldn&apos;t open the file.&quot;.  A quick look through the PDF that is generated shows it looks roughly like a PDF document, so the contents of it are likely to be the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52207</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-08-10 19:08:40 -0700</bug_when>
    <thetext>Looking at the console log, this occurs because we&apos;re holding on to a CGContext too long.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52208</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-08-10 19:10:35 -0700</bug_when>
    <thetext>This is the log I see:

Warning: The printing graphics context is being released by the printing system but is retained by the drawing client. This usually produces damaged PDF documents!

I expect this is due to KCanvasRenderingDeviceContextQuartz.

I also see the whole SVG repainting itself twice during the print, which surprises me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55091</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-09-08 17:23:23 -0700</bug_when>
    <thetext>This is probably fixed by bug 10648</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55102</commentid>
    <comment_count>5</comment_count>
    <who name="jay">jay</who>
    <bug_when>2006-09-09 03:41:47 -0700</bug_when>
    <thetext>re #4

Eric this is almost certainly not fixed. as well as the URI  above I checked a simple SVG: http://bugzilla.opendarwin.org/attachment.cgi?id=8239

in both cases print preview dialogue: &quot;file error couldn&apos;t open the file OK&quot;
and trying again later opened a blank pdf document

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55202</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-09-10 13:12:06 -0700</bug_when>
    <thetext>Fixed by 10648.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55204</commentid>
    <comment_count>7</comment_count>
    <who name="jay">jay</who>
    <bug_when>2006-09-10 13:41:03 -0700</bug_when>
    <thetext>eric, macdome please explain why this is fixed?

the latest nightly is not printing either of the svgs in the 2 URIs given

10383 is not showing as fixed, yet this bug is apparently dependent on it...


cheers

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55232</commentid>
    <comment_count>8</comment_count>
    <who name="jay">jay</who>
    <bug_when>2006-09-10 23:24:14 -0700</bug_when>
    <thetext>Amazing, congratulations and thanks, I&apos;ve already filed a style bug, and will try to file a few more print bugs assuming they&apos;re present ~:&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>