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

            Bug ID: 162289
           Summary: Print dialog only pre-selects new CUPS default printer
                    when opened the second time
           Product: LibreOffice
           Version: 25.2.0.0 alpha0+
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Printing and PDF export
          Assignee: [email protected]
          Reporter: [email protected]

Steps to reproduce:

1) have at least 2 CUPS printers set up (can be dummy printers); in the
following, "PDF" and "somedummy" will be used
2) set "PDF" as CUPS user default printer:
    lpoptions -d PDF
3) start LO Writer
4) press Ctrl+P to open the Print dialog
   -> "PDF" is preselected (OK)
5) close print dialog again
6) change CUPS default printer to "somedummy":
    lpoptions -d somedummy
7) press Ctrl+P to open the Print dialog
   -> the old default printer "PDF" is preselected (NOK)
8) close print dialog
9) press Ctrl+P to open the Print dialog
   -> the new default printer "somedummy" is preselected (OK)

Actual behavior: s. above

Expected behavior: The new default printer should be preselected when the print
dialog is opened in step 7) already, not only when the print dialog is opened a
second time (step 9) after changing the default printer.

Further information:
This was initially noticed while testing the pending Gerrit change to update
support for the CPDB integration (s.
https://gerrit.libreoffice.org/c/core/+/169617 ), but is actually a preexisting
issue, also reproducible when using the CUPS-based implementation directly.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e3d5b3a5ea384fff2553ede8873be274af0f11f1
CPU threads: 32; OS: Linux 6.9; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to