Bug 106831 - Can't print #10 envelopes properly and with proper orientation
Summary: Can't print #10 envelopes properly and with proper orientation
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.1.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
: 146888 (view as bug list)
Depends on:
Blocks: Envelope
  Show dependency treegraph
 
Reported: 2017-03-28 17:37 UTC by Lloyd
Modified: 2024-06-08 13:43 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:


Attachments
Simple number 10 envelope that never prints with text matching orientation. (8.89 KB, application/vnd.oasis.opendocument.text)
2018-01-04 21:09 UTC, Per Nystrom
Details
Simple number 10 envelope that prints correctly but is hard to edit (9.03 KB, application/vnd.oasis.opendocument.text)
2018-01-04 21:10 UTC, Per Nystrom
Details
Step 1 in print envelope screenshot (5.29 KB, image/png)
2024-02-19 20:24 UTC, Ian Eales
Details
Step 2 in print envelope screenshot (7.94 KB, image/png)
2024-02-19 20:25 UTC, Ian Eales
Details
Step 3 in print envelope screenshot (4.41 KB, image/png)
2024-02-19 20:25 UTC, Ian Eales
Details
Print preview (152.65 KB, image/jpeg)
2024-06-08 13:41 UTC, digixmax
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lloyd 2017-03-28 17:37:49 UTC
Description:
Can’t get LibreOffice to print #10 envelopes. Have tried to use the envelope printing wizard, and also tried to set up manually. Can’t get LibreOffice to print in Landscape mode, at all. When the envelope is exported to PDF file, the text location is wrong. Need LibreOffice to both print in Landscape mode, and with the text promoted to the proper locations.

Steps to Reproduce:
1.Try to print a #10 envelope
2.Same problem every time on multiple versions of LibreOffice.
3.

Actual Results:  
Envelopes always printed in Portrait Mode. Landscape mode not accessible. If saved as a PDF file, then PDF program will (Sometimes) print in Landscape mode with text in wrong location.

Expected Results:
Expected a properly addresses envelope.


Reproducible: Always

User Profile Reset: No

Additional Info:
Have tried disabling auto rotation in printer. Made things worse.


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Xisco Faulí 2017-03-29 07:52:38 UTC
Hello Lloyd,

it seems you're using an old version of LibreOffice.
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 2 Per Nystrom 2018-01-04 16:41:16 UTC
This bug is still present in the latest version of Libreoffice in Fedora 27, 5.4.4.2-1.  I opened another bug with Fedora, but perhaps this is the best place to track it:

https://bugzilla.redhat.com/show_bug.cgi?id=1530398

Envelope printing works correctly in older versions.  In particular, I still have a Fedora 21 box running Libreoffice 4.3.7.2-12, and envelope printing works correctly on it.
Comment 3 Per Nystrom 2018-01-04 21:09:44 UTC
Created attachment 138887 [details]
Simple number 10 envelope that never prints with text matching orientation.

I am submitting the same attachments I did with the bug I filed for Fedora.
Comment 4 Per Nystrom 2018-01-04 21:10:30 UTC
Created attachment 138888 [details]
Simple number 10 envelope that prints correctly but is hard to edit

I am submitting the same attachments I did with the bug I filed for Fedora.  This one prints correctly, but you have to tilt your head sideways to edit it.
Comment 6 Per Nystrom 2018-01-31 22:31:52 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2018-02-11 11:06:35 UTC
(In reply to Per Nystrom from comment #6)
> Each of the bugs listed has somewhat different symptoms, and arose in
> different releases of LO.  The particular behavior I reported in this bug
> didn't start until sometime after version 4.3.7.2-12.

Ok, adding regression keyword.
Comment 8 Rob Miller 2018-09-21 06:56:24 UTC
I am having the same issue on my Fedora 28 KDE machine. I have a brothers HL-3170CDW printer. I am running version of 6.0.6.2 of Libreoffice, Build ID: 6.0.6.2-1.fc28. The orientation is incorrect.
Comment 9 QA Administrators 2019-09-22 02:59:22 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2021-09-22 03:37:48 UTC Comment hidden (obsolete)
Comment 11 m_a_riosv 2022-01-21 17:45:04 UTC
*** Bug 146888 has been marked as a duplicate of this bug. ***
Comment 12 Ian Eales 2022-12-07 21:39:16 UTC
Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

#10 envelope does not print landscape. Preview shows right half of letter size page portrait and that it is how printed.

Brother MFC-5620DW

This is the first envelope failure ever in OO or LO. Worked fine in 7.3.6
Comment 13 Buovjaga 2022-12-17 12:43:59 UTC
(In reply to Ian Eales from comment #12)
> Version: 7.4.3.2 (x64) / LibreOffice Community
> Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
> CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL:
> win
> Locale: en-US (en_US); UI: en-US
> Calc: threaded
> 
> #10 envelope does not print landscape. Preview shows right half of letter
> size page portrait and that it is how printed.
> 
> Brother MFC-5620DW
> 
> This is the first envelope failure ever in OO or LO. Worked fine in 7.3.6

If it worked fine in 7.3, you can pinpoint the exact code commit that caused it.

https://wiki.documentfoundation.org/QA/Bibisect/Windows

Grab this repo for the research: https://bibisect.libreoffice.org/win64-7.3

As preview already shows it, there is no need to print. But as your issue is a newer one, you should open a new report when you find the guilty commit.

You can email me, if you need assistance with this, such as a screensharing session.
Comment 14 raal 2023-12-09 09:36:10 UTC
Works good in Version: 7.3.7.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: cs-CZ
Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.3
Calc: threaded

In Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 0f82e9d42822e627edd1fb3b3c87e1f8a22136a4
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
  the landscape orientation is preserved, but print dialog load (and print) paper size A4, not Envelope #10. But it's probably another bug 158614. Please, can you retest it?
Comment 15 Stéphane Guillou (stragu) 2024-02-19 08:37:07 UTC
Hard to know if Lloyd and Per were seeing the same issue, and Lloyd was reporting several problems already in comment 0.
No printer model from Lloyd or Per.
Ian says it started between 7.3.6 and 7.4.3.2, Per says between 4.3.7.2 and 5.4.4.2. But Ian's issue manifests at preview already, so likely a different problem.

See also bug 77277.
Comment 16 Per Nystrom 2024-02-19 16:44:03 UTC
(In reply to Stéphane Guillou (stragu) from comment #15)
> Hard to know if Lloyd and Per were seeing the same issue, and Lloyd was
> reporting several problems already in comment 0.
> No printer model from Lloyd or Per.
> Ian says it started between 7.3.6 and 7.4.3.2, Per says between 4.3.7.2 and
> 5.4.4.2. But Ian's issue manifests at preview already, so likely a different
> problem.
> 
> See also bug 77277.

My printer is a Brother MFC9970CDW.

I can also report that the version of LibreOffice I'm now running, 7.5.9.2, handles envelope orientation correctly again.  I'm not sure when it got fixed.
Comment 17 Buovjaga 2024-02-19 16:58:25 UTC
Ok, let's set to needinfo while we wait for feedback from Lloyd.
Comment 18 Ian Eales 2024-02-19 20:23:22 UTC
In 7.5.9.2, Selecting Page 1 [the Envelope] to print:

1. Preview is horizontal 8.94 x 5.00
2. Choose paper size #10 envelope and preview is Vertical 
3. Choose Orientation Landscape and preview is correct

Previous versions went directly to the correct preview and orientation
Comment 19 Ian Eales 2024-02-19 20:24:41 UTC
Created attachment 192643 [details]
Step 1 in print envelope screenshot
Comment 20 Ian Eales 2024-02-19 20:25:09 UTC
Created attachment 192644 [details]
Step 2 in print envelope screenshot
Comment 21 Ian Eales 2024-02-19 20:25:29 UTC
Created attachment 192645 [details]
Step 3 in print envelope screenshot
Comment 22 digixmax 2024-06-08 13:41:06 UTC
Created attachment 194607 [details]
Print preview
Comment 23 digixmax 2024-06-08 13:43:32 UTC
I encountered this same bug with LO-v7.6.7.2 on Windows10-Home using the printer Canon-MX870.