bugGnash - The GNU Flash player - Bugs: bug #17915, printing unimplemented

 
 

bug #17915: printing unimplemented

Submitted by:  Marcus Brinkmann <marcus>
Submitted on:  Thu 05 Oct 2006 12:01:52 AM UTC  
 
Category: NoneSeverity: 1 - Wish
Release: NoneStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 07 Oct 2006 11:19:02 AM UTC, comment #4:

The warning works for me now. That's much better than opening a browser window, thanks a lot. I am still a total noob at flash, so I don't have more info about the semantics at this point.

Marcus Brinkmann <marcus>
Thu 05 Oct 2006 02:36:32 PM UTC, comment #3:

Confirmed. Committed a quick patch that at least warns about printing not being implemented. If you have more info about semantic of the 'target' paramenter in this case, that'd be helpful
for future developments (I'm assuming print of a specific movieclip is requested).

Sandro Santilli <strk>
Project Member
Thu 05 Oct 2006 12:23:34 PM UTC, comment #2:

Hi,

you are right, my description was incomplete, I didn't notice this earlier. You need to click a second time after the target file is loaded. See the debug output below.

BTW, this indicates another bug: Gnash should initiate the "print:" action as soon as the file is loaded. It does display the "Printing info sheet" text above the button for a split second, but it does not open the print: URL. Strange.

14:19:12: get url: target=tech_sheet, url=file:///home/marcus/gnu/gnash/flashkit/013-custom-print/tech_sheet.swf (tech_sheet.swf)
14:19:12: getURL2 target load
14:19:21: get url: target=tech_sheet, url=file:///home/marcus/gnu/gnash/flashkit/013-custom-print/tech_sheet.swf (tech_sheet.swf)
14:19:21: getURL2 target load
14:19:21: movie already in library
14:19:21: get url: target=tech_sheet, url=file:///home/marcus/gnu/gnash/flashkit/013-custom-print/print: (print:)
14:19:21: Launching URL... firefox -remote "openurl(file:///home/marcus/gnu/gnash/flashkit/013-custom-print/print:)"

Thanks,
Marcus

Marcus Brinkmann <marcus>
Thu 05 Oct 2006 09:37:17 AM UTC, comment #1:

mm, gnash -v reports:

get url: target=tech_sheet, url=http://images2.flashkit.com/tutorials/Getting_Started/Customis-Eddie_Ca-31/tech_sheet.swf (tech_sheet.swf)

This means that the URL component of the getUrl tag is just
'tesch_sheet.swf', there's no 'print:' involved, it seems.

BTW, there's no attempt to open a new browser window,
as the tag includes a "loadTarget" flag, which we belive
means load the resource in a movieclip, named as the "target"
parameter (tech_sheet in this case).

Are you using currenct CVS version of gnash ?
Can you try using 'gnash -v' (a remote url works just fine)

Sandro Santilli <strk>
Project Member
Thu 05 Oct 2006 12:01:52 AM UTC, original submission:

Have a look at
http://images2.flashkit.com/tutorials/Getting_Started/Customis-Eddie_Ca-31/ad_banner.swf

This little flash (version 4) file has a customized print button. When one presses the print button at the end of the animation (be sure to check out bug #17913 if you can't find it, ie minimize the viewport), gnash tries to open BASE-URL+"print:" in the browser. This of course leads to a File Not Found error.

Suggested fix: Catch the "print:" special URL in the URL handler and in case it is detected, do not open the URL, but invoke a print-handler (which for now I suppose would just print a debug log message and ignores the request).

Marcus Brinkmann <marcus>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 09 Oct 2006 12:56:08 PM UTCstrkSeverity2 - Minor=>1 - Wish
  StatusConfirmed=>Need Info
  Summaryprinting causes erratic behaviour=>printing unimplemented
Thu 05 Oct 2006 02:36:32 PM UTCstrkSeverity3 - Normal=>2 - Minor
  StatusNone=>Confirmed

Back to the top


Powered by Savane 3.1-cleanup