[Webkit-unassigned] [Bug 7146] New WebKit API needed for communicating PostScript conversion progress via delegate method

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Feb 8 20:27:18 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7146





------- Comment #1 from ddkilzer at kilzer.net  2006-02-08 20:27 PDT -------
[10:09pm] darin: ddkilzer: When I tested it I saw a spinning cursor for a while
-- I wonder why.
[10:09pm] darin: Preview didn't seem to take as long to convert to PDF.
[10:09pm] ddkilzer: darin: Did you have any thoughts on how to handle errors? 
ap suggested that I use the status bar, but I don't think that's turned on by
default.
[10:10pm] darin: I think we should report the errors to Safari and let it
handle them some nice way.
[10:10pm] ddkilzer: darin: Preview has a dialog while the conversion happens,
too.
[10:10pm] darin: We need to make sure WebKit API has a good way to tell about
the errors
[10:10pm] darin: I was about to mention that.
[10:10pm] darin: In general we want to let the browser control such things.
[10:10pm] ddkilzer: darin: Is there an example of code in WebKit where an error
is reported?
[10:11pm] darin: ddkilzer: You should probably talk to John Sullivan about this
-- it's probably OK to send him emal.
[10:11pm] darin: Errors are reported through the page load delegate.
[10:11pm] darin: frame load delegate I guess
[10:11pm] ddkilzer: darin: Should I file a follow-up bug to track the issue,
too?
[10:11pm] darin: sure, we could even use 2
[10:11pm] ddkilzer: darin: Add sullivan(at)apple.com to the CC list.  Two?
[10:11pm] darin: 1 for the "converting PostScript" and another for the error
case
[10:12pm] darin: and the bugs aren't about what Safari does
[10:12pm] darin: because those don't belong in WebKit
[10:12pm] darin: but rather bugs about adding WebKit API for this
[10:12pm] darin: xenon is another guy to talk to about this
[10:12pm] darin: - (void)webView:(WebView *)sender
didFailLoadWithError:(NSError *)error forFrame:(WebFrame *)frame;
[10:12pm] darin: that's how errors get reported
[10:12pm] darin: it's not clear how to communicate that loading is taking place
[10:13pm] ddkilzer: Adding WebKit API to report PS conversion status and to
report an error
[10:13pm] darin: that might require some new delegate call
[10:13pm] darin: sure
[10:13pm] darin: I guess PS conversion progress would be ideal, but the
framework doesn't tell us that
[10:13pm] darin: instead it's just "start and stop" I guess
[10:13pm] darin: ddkilzer: I think the "report an error" case really just means
using the existing delegate and a new NSError code
[10:13pm] ddkilzer: darin: No, actually that's what that zeroed-out callback is
for.
[10:13pm] darin: neat
[10:14pm] darin: so we'd want to report the progress too then
[10:14pm] darin: so those are the two bugs
[10:14pm] ddkilzer: darin: The callback struct calls methods at various points
in the conversion process.
[10:14pm] darin: neat
[10:14pm] darin: maybe we can turn that into something abstract enough to be in
the general WebKit API
[10:14pm] darin: sullivan and xenon are 2 great people to talk to about this


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list