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

 
 

bug #17915: printing unimplemented

Submitter:  Marcus Brinkmann <marcus>
Submitted:  Thu 05 Oct 2006 12:01:52 AM UTC
   
 
Category:  None Severity:  1 - Wish
Release:  None Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-10-09 strk Severity2 - Minor 1 - Wish
    StatusConfirmed Need Info
    Summaryprinting causes erratic behaviour printing unimplemented
2006-10-05 strk Severity3 - Normal 2 - Minor
    StatusNone Confirmed

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code