Bug 67449 - PRINTING: Printer Settings - Double Sided - Do not stay selected (HP printers)
Summary: PRINTING: Printer Settings - Double Sided - Do not stay selected (HP printers)
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: possibleRegression
Depends on:
Blocks:
 
Reported: 2013-07-28 21:45 UTC by Peter Sewell
Modified: 2016-09-19 16:48 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Sewell 2013-07-28 21:45:10 UTC
Problem description: 

After the update to 4.1.0.4 using Ubuntu 12.04LTS when I select the Printer Options and change the Duplex setting from the OFF option - these settings do not STAY after I press OK.

Current behavior:

After pressing OK they go back to OFF

Expected behavior:

To stay on the options selected and work.
Operating System: Ubuntu
Version: 4.1.0.4 release
Last worked in: 4.0.4.2 release
Comment 1 Joel Madero 2013-08-06 20:24:58 UTC
How did you update? Did you pudate with official PPA or through libreoffice.org? I don't experience this problem on Bodhi Linux.

If you updated through libreoffice.org - we recommend you always update with PPA.


For now marking as WFM - if you updated through the PPA and are experiencing this please let us know and mark bug as UNCONFIRMED and I'll get another QA member involved. If you updated through libreoffice.org please purge your system completely of LibreOffice and install via PPA
Comment 2 Peter Sewell 2013-08-06 21:53:58 UTC
I updated using the download from the libreoffice website.

But I think the problem is actually with the HP latest drivers, because when I tried installing the latest libreoffice in a live CD copy of ubuntu without installing the latest hp drivers everything works fine.

But in my current operating version of ubuntu I can't remove the latest HP drivers, and so I can't install the latest libreoffice. 

I will however try using the ppa for updating libreoffice, although I can't see why this would give a different result as I would have thought downloading direct from libreoffice's website would be no different than the Ppa. I did completely remove the libreoffice 4.0.4 before installing 4.1.

I will update this bug report sometime tomorrow once I've had time to play.
Comment 3 Joel Madero 2013-08-06 22:47:59 UTC
Yeah with that extra info sounds like driver issue which is notourbug. 

But just FYI - the package from the PPA is different from the one from libreoffice.org so perhaps it will fix it
Comment 4 Peter Sewell 2013-08-07 12:24:50 UTC
I've now tested this fully in a LiveCD version of Ubuntu 12.04LTS so I didn't mess up my working copy of Ubuntu.

I've removed Libreoffice 4.0.4 and purged the system of any left over files.

I added the PPA for Libreoffice 4.1 and installed it.

All worked fine.

But this was with the HPlip drivers which came with the liveCD so that's version 3.12.2 of the HPLIP.

Then I updated the HPLIP to 3.13.7 via the HP website as I have done on my normal live system.

And then the printer settings don't work any more.

So something has changed from Libreoffice 4.0.4 to 4.1 in the printer part of the system to cause it not to remember the printer settings in the DUPLEX option. You can test this for yourself by updating the HPLIP to 3.13.7 and trying to print a duplex page because as soon as you press OK on the options screen it forgets the duplex setting and prints on single sided paper.

I know that this is a combination of HP and Libreoffice but everything was fine before the update to Libreoffice 4.1 so I'm guessing it's a change that was made in the 4.1 update.

Please can you help?
Comment 5 Joel Madero 2013-08-07 15:57:32 UTC
Well you said it worked fine with 4.1 until you updated the driver - so this is NOTOURBUG it is a bug with the driver. My suggestion - don't upgrade the driver and let HP know they have a bug.

Marking as NOTOURBUG
Comment 6 Peter Sewell 2013-08-07 16:32:39 UTC
But I also said that libreoffice 4.0.4 worked fine with the updated HP drivers, until libreoffice was updated. So as I said earlier, something has changed in the latest update to libreoffice which has clashed with the print drivers.
Comment 7 Joel Madero 2013-08-07 16:36:50 UTC
But why do you assume LibreOffice is to blame vs. HP changing something random that broke compatibility in 4.1? 

Can you print double sided in other software within Linux (try for instance acroread or some other pdf viewer). If you can I'll be more convinced it's our bug vs. HP muffing something
Comment 8 Peter Sewell 2013-08-07 17:04:02 UTC
The reason why I think it could be a problem caused by libreoffice is because it worked fine in version 4.0.4 and the only thing that has changed on my system is the update to libreoffice 4.1!

Once again I'll state that yes I've updated the HP drivers but that was working fine with libreoffice 4.0.4.

I will just not use the updated libreoffice until either the next update comes out or HP update their drivers.

Oh and yes duplex printing works fine in all other software with the updated HP drivers, which once again makes me think that libreoffice have changed something in their printing code.

Is there a change log to see if anyone has changed anything in the printing section of code between 4.0.4 & 4.1?

Change logs should show if there has been an amendment to any code in this section.
Comment 9 Joel Madero 2013-08-07 17:19:52 UTC
That info was much more helpful - just because it worked with 4.0.4 and now doesn't with 4.1.0.4 doesn't mean much as maybe we fixed a bug which caused a side affect on a crappy implementation by HP - but the fact that it works in all other software, marking as UNCONFIRMED
Comment 10 Peter Sewell 2013-08-07 18:24:37 UTC
Thank you, I look forward to hearing any help you can offer. I'm happy staying on libreoffice 4.0.4 until you tell me to test something else.

I will also try reporting this to hp.
Comment 11 Joel Madero 2013-08-08 02:17:34 UTC
Are you willing to try a daily build just to see if it's still in 4.2 - please note that the daily builds are not expected to be stable - just want to verify that it's still a problem.

Thanks for your help tracking down the issue
Comment 12 Peter Sewell 2013-08-08 07:08:44 UTC
Yes, I'll test a daily build for you.

Just tell me where to download it from and I'll have a go.
Comment 13 Peter Sewell 2013-08-13 16:42:21 UTC
I have now tested Libreoffice 4.1 in OpenSuSE with the updated HPLIP drivers and the same problems occur - it will NOT remember the Printer settings for a Duplex page.

I have tried to install Libreoffice 4.2 in OpenSuSE and Ubuntu and I have failed to get it to run. It's install, it opens the splash screen and then nothing else happens.

Maybe I'll give it a few days and I'll try another build number.

But the good thing is that I can confirm that it is not just happening in Ubuntu.
Comment 14 Peter Sewell 2013-08-14 15:20:03 UTC
Finally I've been able to run the Daily Build of Libreoffice 4.2 in OpenSuSE 12.3 and Ubuntu 13.04 & 12.04LTS. 

The reason why I couldn't run the daily build was because it was missing libjpeg62! But hadn't told me this was missing during the install - but when I managed to work out how to run writer via a terminal it gave me the error message and I could install the missing libjpeg62.

So, I can now confirm that the printer problem is still present in the daily build (13th Aug 2013).

I hope this helps.

I'm more than willing to assist in any testing you want me to do - now I know how to run the daily builds - plus I've found out how to convert RPMs to DEBs so I can test in Ubuntu now too!

A steep learning curve but most rewarding and interesting.

Peter
Comment 15 Robinson Tryon (qubit) 2013-10-16 03:08:27 UTC
Changing 'regression' -> 'PossibleRegression' until we can get 2nd-party confirmation of this bug.
Comment 16 George Emigh 2013-10-18 20:17:35 UTC
I've been frustrated about this for a while now, as I'm really tired of printing to a PDF file so I can print it correctly with Okular.

I'm using Gentoo and my printer is an HP Officejet Pro 8600
Just installed libreoffice-4.1.2.3 to see if it was fixed.... NOPE.

When I go to Printer Properties and select Auto Duplex settings and click OK, it still prints single sided.

Go back to properties and check the settings and it's not set to Auto Duplex.

I have Auto Duplex setup in hplip as the default, so my printing from Okular and Firefox duplex print fine automatically.

But Libreoffice 4.1.2.3 still REFUSES to remember the printer settings and ALWAYS prints single sided pages.

Thank you for any attention to this matter.
Comment 17 Peter Sewell 2013-10-18 21:44:29 UTC
I've now performed a clean install of ubuntu 13.04 and I haven't updated the hplip but left it as the standard which comes with ubuntu 13.04 and all works fine for me. So my advice is don't update the hp drivers!

Not the best solution but it solved this problem for me.
Comment 18 Robinson Tryon (qubit) 2013-10-18 22:11:50 UTC
Looks like https://bugs.launchpad.net/hplip/+bug/1225558

*Might* be related:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1082941
Comment 19 George Emigh 2013-10-19 20:37:25 UTC
To make a long story short, On my Linux Mint install I was able to select Long Edge, paper was set to letter and driver set to postscript and I got duplex printing. I suspect it's using hpijs instead of hpcups in hplip.


On Gentoo, Libreoffice 4.1.2.3, Hplip 3.13.9 hpcups
I found by setting Cups to be auto duplex by default and in Libreoffice Papersize Letter, Duplex <ignore>, device Printer Language type: Automatic:PDF I could get Libreoffice to duplex print.


Selecting Long Edge from the Duplex option in Libreoffice print dialog would always FAIL.

So LibreOffice has the problem!

All other software I use works as expected.

But there is a workaround if you get it just right.

I hope this info helps someone, burned up a lot of paper and ink to get it.
Comment 20 Venturi Jérôme 2014-02-25 13:57:48 UTC
Hello,

Just to Say i have the same bug :

Gentoo, libreoffice-4.2.0.4, hplip 3.14.1, cups 1.7.1
Comment 21 Joel Madero 2014-02-27 05:14:51 UTC
Requesting input: Is this our bug or is it Comment 18 correct that this is likely not ours?
Comment 22 Peter Sewell 2014-02-27 15:59:40 UTC
As far as I can see (as I don't know anything about the way Libreoffice is written) this problem only affects Libreoffice Printing - but it caused by updating the HPLIP to the latest versions - which as in comment 18 explains that when the update is done to the latest HPLIP it removes one very important file.

So it looks like it's a problem with HPLIP but as someone else has suggested it's the way that Libreoffice calls the printing that mine be addressing the wrong code, as it only started affecting Libreoffice since version 4.1.

My printing is now working absolutely fine as I haven't updated the HPLIP software. But I wonder what will happen when ubuntu 14.04 comes out within the next few months!
Comment 23 Joel Madero 2014-02-27 16:02:33 UTC
That last comment again makes me think not our bug. So we call on HP code and the HP code is poorly written - that really is not our problem from what I can see. It most definitely is not LibreOffice's job to screw up our own code in order to handle other bad code. But I'll refrain from further comment and let a developer confirm/close/etc . . .
Comment 24 Venturi Jérôme 2014-02-27 17:34:12 UTC
So I Post a bug report on hplip bug tracker : https://bugs.launchpad.net/hplip/+bug/1285788

Any way, i don't want to start a war just to get this fixed.
Comment 25 Jordan F 2014-03-03 23:31:37 UTC
I know there is the question of whether this is a Libre Office problem or HPLIP's problem, so I will just make one comment on that. All other software that I printed from, printed duplex with out a problem: Firefox, Thunderbird, Evince, Inkscape, Dia, Okular, (Even) Ninja IDE.
Work around is to "Export as PDF" in Libre Office and then open that document in any supporting program other than Libre Office for printing.
OS: Linux Mint 16 64-bit
Libre Office: 4.1.3.2
Build ID: 410m0(Build:2)
HPLIP: 3.13.9
Printer HP Officejet Pro 8600 Plus
Comment 26 tommy27 2014-10-31 05:51:38 UTC
I set status to NEW since there are other users having the same issue here (see comment 19, comment 20 and comment 25).

anyway in the meantime new LibO version have been releases.
has any of the affected users tried to upgrade to 4.2.7 or even better to 4.3.3 (both released yesterday) and see if the bug is still there?
Comment 27 Robinson Tryon (qubit) 2015-12-09 18:40:19 UTC Comment hidden (obsolete)
Comment 28 tommy27 2016-02-29 18:35:11 UTC
@Peter
I've seen you changed the status to FIXED
can you please confirm with a post that you do not reproduce the issue anymore?
in this case a WORKSFORME status is more appropriate since we don't know the exact committ that fixed it
Comment 29 Peter Sewell 2016-02-29 19:43:15 UTC
In Libreoffice 5.1.0.3 it is now fixed and can not be reproduced anymore.
Comment 30 Xisco Faulí 2016-09-19 16:48:07 UTC Comment hidden (obsolete)