Opened 14 years ago

Closed 14 years ago

#2776 closed patch (fixed)

Composer doesnt add suffix for some filetypes

Reported by: vesnikos Owned by: nobody
Priority: minor: annoyance Milestone: Version 1.5.0
Component: Printing Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

  • Saving file in a specified format does not append the file extensions. This was observed in the Map/Print Composer. Although a pdf filetype was activated, we had to create a complete filename with the extension (i.e "map.pdf" and not "map") in order to save the file with the extension.

I attach the modified .ccp that fixes the problem for pdf and svg file type. Im not familiar creating diff files, so please excuse me :(

Attachments (1)

qgscomposer.cpp (47.3 KB ) - added by vesnikos 14 years ago.
modified source file, fixing the problem

Download all attachments as: .zip

Change History (4)

by vesnikos, 14 years ago

Attachment: qgscomposer.cpp added

modified source file, fixing the problem

comment:1 by lutra, 14 years ago

Type: bugpatch

comment:2 by lutra, 14 years ago

Component: MapCanvasPrinting

comment:3 by mhugent, 14 years ago

Resolution: fixed
Status: newclosed

Please attach a diff next time. You can generate it like this: svn diff &> mydifffile.diff

Then attach difffile to the ticket.

Your changes are applied in r13628 (with modification to also test for the dot). Thanks!

Note: See TracTickets for help on using tickets.