https://bugs.documentfoundation.org/show_bug.cgi?id=173642

--- Comment #7 from Julien Nabet <[email protected]> ---
(In reply to Buovjaga from comment #6)
> (In reply to Julien Nabet from comment #5)
> ...
> 
> Yes, double-checked now in both Linux and Windows 26.8 repos and the
> preceding commit does not show the issue.
> ...
Indeed, with this test patch, it works again:

diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index bc1fe19b7a97..7b48f0425af1 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -931,6 +931,7 @@ void PrintDialog::setPaperSizes()
             mxPaperSizeBox->set_active(nRotatedSizeMatch);

         // Override with document dimension match if enum matching failed.
+/*
         if (nDocDimMatch != -1)
         {
             mxPaperSizeBox->set_active(nDocDimMatch);
@@ -939,6 +940,7 @@ void PrintDialog::setPaperSizes()
         {
             mxPaperSizeBox->set_active(nDocDimRotatedMatch);
         }
+*/

         // No printer paper matches — probe the driver for custom size.
         // If rejected (e.g. size below driver minimum), fall back to

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to