Hi Timothy,
thank you for your answer. I did not know of these two bugs, but
they are both very interesting. I have opened a new bug in the mean
time, that is very similar to 542298, mine is 682129. And also
written a few patches already.
For your patch I would like to know which commit id it got in the
git master. Anyway I have commented to both bugs and attached
references to some other bugs that you might find interesting. Would
you be interessted to help with patches for bug #668529?
Best Regards
Sebastian
On 20/08/12 02:38, Timothy Arceri
wrote:
I would like to know if the Print dialog that is used
in Ubuntu, is
provided by a Gnome package or whether it is added by
Ubuntu.
This is part of GTK. You are looking in the right spot for
the code, most of the filename generation is done in http://git.gnome.org/browse/gtk+/tree/modules/printbackends/file/gtkprintbackendfile.c
You can see my patch in
https://bugzilla.gnome.org/show_bug.cgi?id=657322 as an
example.
Also it looks like there is already a bug with the same
sort of idea as you see:
https://bugzilla.gnome.org/show_bug.cgi?id=542298
Tim Arceri
From:
"ubuntu-devel-discuss-requ...@lists.ubuntu.com"
ubuntu-devel-discuss-requ...@lists.ubuntu.com
To:
ubuntu-devel-discuss@lists.ubuntu.com
Sent:
Thursday, 16 August 2012 10:00 PM
Subject:
Ubuntu-devel-discuss Digest, Vol 69, Issue 14
Send Ubuntu-devel-discuss mailing list submissions to
ubuntu-devel-discuss@lists.ubuntu.com
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
or, via email, send a message with subject or body 'help' to
ubuntu-devel-discuss-requ...@lists.ubuntu.com
You can reach the person managing the list at
ubuntu-devel-discuss-ow...@lists.ubuntu.com
When replying, please edit your Subject line so it is more
specific
than "Re: Contents of Ubuntu-devel-discuss digest..."
Today's Topics:
1. Print Dialog / Improving "Print to file" option
(Lanoxx)
2. Re: Print Dialog / Improving "Print to file" option
(Lanoxx)
3. Re: Print Dialog / Improving "Print to file" option
(Dale Amon)
--
Message: 1
Date: Wed, 15 Aug 2012 16:08:51 +0200
From: Lanoxx lan...@gmx.net
To: desktop-devel-l...@gnome.org,
ubuntu-devel-discuss@lists.ubuntu.com
Subject: Print Dialog / Improving "Print to file" optionhttp://git.gnome.org/browse/gtk+/tree/modules/printbackends/file/gtkprintbackendfile.c
Message-ID: 502bad73.1080...@gmx.net
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
I would like to know if the Print dialog that is used in
Ubuntu, is
provided by a Gnome package or whether it is added by
Ubuntu. In
particular, there is a default printer option named Print to
File in
Ubuntu, and when it is chosen, then one can print to PDF,
Postscript or
SVG (at least in Inkscape). The problem with this dialog
makes saving
the file unnecessary complicated, because on has to first
select the
folder which normally requires at least 4 clicks:
1. click on the dropdown
2. click "other..."
3. Choose the folder (might require more clicks)
4. click open
Then the filename says output.pdf which any sane person will
probably
want to change. So I have to type the file name and then
also add .pdf
again and finally I can click "Print".
There are another two caveats here, first if I forget to add
".pdf" to
the filename, then the file will be saved without the ".pdf"
extension.
There is no logic to add it automatically. And second if I
had printed
the document to a file before and now I want to save it