After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794941 - Both print icons export to pdf
Both print icons export to pdf
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Reports
3.0
Other Windows
: Normal major
: 3.1
Assigned To: gnucash-reports-maint
gnucash-reports-maint
: 795104 795592 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2018-04-03 17:37 UTC by occurs-60189
Modified: 2018-06-30 00:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description occurs-60189 2018-04-03 17:37:33 UTC
Today, 4/3/18, I downloaded release 3.0. There are 2 icons on the tool bar, 1 for printing a report, and 1 for exporting to a pdf. BOTH ICONS DO THE SAME THING -- EXPORT TO A PDF!. How am I supposed to print my reports? It used to be very easy! Now it is impossible! CHANGE IT FAST!
Comment 1 Chris Good 2018-04-04 19:27:58 UTC
Perhaps you don't realize, but you come over very rude to people who voluntarily give a huge amount of time for the benefit of others.

Perhaps an anger management course will help?

This may help you:
http://gnucash.1415818.n4.nabble.com/GNUCash-3-0-Report-Printing-problems-td4698825.html

If there is a problem printing the PDF, you should go back to a previous version of GnuCash.

Can someone please change Booth to Both in this bug title - I cannot.
Comment 2 Chris Good 2018-04-04 19:47:23 UTC
See also https://bugzilla.gnome.org/show_bug.cgi?id=787018 WebKit2 doesn’t support direct printing of PDF reports.
Comment 3 occurs-60189 2018-04-04 21:17:16 UTC
(In reply to Chris Good from comment #2)
> See also https://bugzilla.gnome.org/show_bug.cgi?id=787018 WebKit2 doesn’t
> support direct printing of PDF reports.

I am not trying to print a pdf. I am simply trying to print a report, like I used to. I used to tell it to print a report and it would send it to the printer. Now, whichever button I use, I get the same screen which is titled Export to pdf and has a reproduction of my computer's list of files with no apparent way to export to pdf if that were what I was trying to do, which it is not! 

It would be nice if when a new release is issued, on the first use a screen would come up showing what the new release changed or updated, and have a way to get back to that screen after the first use following the new release. Just an idea.
Comment 4 Chris Good 2018-04-04 21:43:45 UTC
You haven't told us anything extra about your printing problem but I hope venting has lowered your stress levels. Darn, now I'm venting - off to anger management for me :-)

Oh you HAVE told us something new: That list of files is how you tell GnuCash where and what name you want to use for the PDF report file you can create.

I the PDF doesn't print nicely for you (ie bad page breaks), use Ctrl-A to highlight all the report, then paste it into a spreadsheet and print that, or paste it into a text editor, then save it as an xxx.html file, open that in web browser then print that. Not convenient, but is possible.

Good idea about having a link to the release notes which seems to have been moved fairly recently to https://www.gnucash.org/news.phtml
Maybe have that link in the About info in the menu bar.
Patches always welcome...

The Release notes are distributed in the gnucash-users & gnucash-devel mailing lists which presumably is what you read to find out about the new release.
Comment 5 occurs-60189 2018-04-05 13:53:36 UTC
(In reply to Chris Good from comment #4)
> You haven't told us anything extra about your printing problem but I hope
> venting has lowered your stress levels. Darn, now I'm venting - off to anger
> management for me :-)
> 
> Oh you HAVE told us something new: That list of files is how you tell
> GnuCash where and what name you want to use for the PDF report file you can
> create.
> 
> I the PDF doesn't print nicely for you (ie bad page breaks), use Ctrl-A to
> highlight all the report, then paste it into a spreadsheet and print that,
> or paste it into a text editor, then save it as an xxx.html file, open that
> in web browser then print that. Not convenient, but is possible.
> 
> Good idea about having a link to the release notes which seems to have been
> moved fairly recently to https://www.gnucash.org/news.phtml
> Maybe have that link in the About info in the menu bar.
> Patches always welcome...
> 
> The Release notes are distributed in the gnucash-users & gnucash-devel
> mailing lists which presumably is what you read to find out about the new
> release.

There used to be a button that said Print; when clicked, that would send the report to the printer. Why can't the print button in release 3 do the same thing? Why do I now have to deal with an unwanted pdf? As far as the list of files, they are existing files; what happens to them if I click on 1 of them to export a pdf which is not what I want to do in the first place? Why can't the button on the toolbar that says print do just that -- print?
Comment 6 Frank H. Ellenberger 2018-04-06 23:51:56 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 787018 ***
Comment 7 Geert Janssens 2018-04-10 07:07:29 UTC
I'm not convinced yet this is a duplicate of bug 787018, though it's certainly related.

The other bug is about an issue with the webkit2 printing interface in that it no longer supports printing to pdf directly.

We have made changes in the code to acknowledge that. However on Windows and OS X we are still using the webkit1 interface for technical reasons. In theory that interface does allow the choice of printing to pdf or to printer. It looks like the changes we made for the webkit2 interface also crippled our webkit1 code path, but rather in the other direction.
Comment 8 occurs-60189 2018-04-10 12:10:02 UTC
(In reply to Geert Janssens from comment #7)
> I'm not convinced yet this is a duplicate of bug 787018, though it's
> certainly related.
> 
> The other bug is about an issue with the webkit2 printing interface in that
> it no longer supports printing to pdf directly.
> 
> We have made changes in the code to acknowledge that. However on Windows and
> OS X we are still using the webkit1 interface for technical reasons. In
> theory that interface does allow the choice of printing to pdf or to
> printer. It looks like the changes we made for the webkit2 interface also
> crippled our webkit1 code path, but rather in the other direction.

I agree that it is not a duplicate. Why show 2 different icons for doing 2 different tasks, then have each of those 2 icons do the same task (which is not the task I want to do)?
Comment 9 Geert Janssens 2018-04-27 13:52:47 UTC
Definitely not a duplicate. The issue on linux is the opposite of the issue on Windows and OS X and will need a different solution.

I'm currently testing a fix for Windows/OS X.
Comment 10 Geert Janssens 2018-04-27 13:54:27 UTC
*** Bug 795104 has been marked as a duplicate of this bug. ***
Comment 11 Geert Janssens 2018-04-27 13:55:10 UTC
*** Bug 795592 has been marked as a duplicate of this bug. ***
Comment 12 Geert Janssens 2018-04-27 14:14:40 UTC
A fix for this bug has been pushed into our software repository.
It will appear in gnucash 3.1.
Comment 13 Adrien 2018-04-30 16:54:13 UTC
Just tested on 3.1.2 on MacOS 10.13.4. Works as expected. Thanks!
Comment 14 occurs-60189 2018-04-30 17:33:18 UTC
I just downloaded version 3.1 and checked it out. The change you made in version 3.0 has now been corrected. Thank you! 

I would like to suggest another change. When I click the icon to open GnuCash, it takes all of 2 minutes for it to pop up on the screen and in those 2 minutes there is no indication that anything is happening. It would be nice to have something showing on the screen that says GnuCash has been opened. I have often tried to open it again because I didn't think the first time had registered. Just a suggestion, not really a bug.
Comment 15 John Ralls 2018-04-30 17:42:06 UTC
Do you have "Show Splash Screen" checked in the General Tab of Preferences?
Comment 16 occurs-60189 2018-04-30 17:58:05 UTC
I do now. Thanks, I didn't even know that was there. It works just fine.
Comment 17 John Ralls 2018-06-30 00:06:55 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=794941. Please update any external references or bookmarks.