Description: Issue with Ubuntu MATE 22.04 LTS - fully up to date. [Kernel: 5.15.0.57] Default printer set in OS settings not recognised by Libre Office - writer, and Calc - but I suspect all of the LO suite. Libre Office always chooses printer at top of alpha-numeric list. What ever settings for printer I make via CUPs [2.4.1], or Admin panel, etc, it always reverts to non-default printer, ie. the top listed alpha-numerically. See below: [1. HP Deskjet360 - WiFi] [2. Kyocera P2040DN - Ethernet System Default Printer] Steps to Reproduce: 1.File/Print from menu bar at the top. 2.Default printer not selected, it's always the first in alpha-numeric list 3.Select (default) printer via drop-down box - for me it's the second choice. 4.Prints with selected printer. Actual Results: Default printer not recognised and not selected by default choice. Instead Libre Office selects printer from top of alpha-numeric list. Expected Results: Expect Libre Office to automatically choose the system default printer. Reproducible: Always All other programs/applications behave as they should in regards to printer selection of default. Computer is connected via Ethernet to LAN. Both printers have IP addresses assigned via MAC address in router. Thank-you.
I can't reproduce on Ubuntu 20.04 with GNOME 3.36.8, with a printer set as default in the GNOME settings, and LO: Version: 7.3.7.2 / LibreOffice Community Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Nor in a recent master build: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 88bd66d258de5fee3d35aba80c61fec49eb2a969 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded My default printer is always selected when reopening the Print dialog (and it is not the first one in the alphanumerically sorted list). Can you please test again in a currently supported version (preferably 7.5)? Is it from a new file too? (Because it is possible to select a preferred printer per-file, in File > Printer Settings.)
I am observing the same problem in my system. LibreOffice ignores the default printer, and simply takes the first printer alphabetically on the list. This is reproducible on my system. Ubuntu 22.04.3 LTS GNOME Shell 42.9 Version: 7.5.6.2 (X86_64) / LibreOffice Community Build ID: f654817fb68d6d4600d7d2f6b647e47729f55f15 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
"New" as per comment 2.
I cannot reproduce. Note that LibreOffice currently only evaluates printers on start, so any changes to the default printer will only take effect after restarting LibreOffice. Questions: 1) What is the output when running the command `lpstat -t` in a terminal? 2) What is the printer that is selected? 3) What is the printer you were expecting to be selected? Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 86a73635a8efaedbcf2128501bbc34bf725534b3 CPU threads: 32; OS: Linux 6.6; UI render: default; VCL: qt6 (cairo+wayland) Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: CL threaded
(In reply to Michael Weghorn from comment #4) > Note that LibreOffice currently only evaluates printers > on start, so any changes to the default printer will only take effect after > restarting LibreOffice. It turns out that this is actually not true. Changing the CUPS default printer while LO is running is taken into account when the print dialog is opened. Currently, that only happens the second time the dialog is opened, which is now tracked in tdf#162289. Not sure whether this is the same issue that you ran into, though, as you mention that the first printer in alphabetic order is always used, which sounds like a different issue. Is the correct printer preselected for you if you open, close, and open the dialog again?