Steps to reproduce with master on Linux (should be similar on Windows): 1) set up two printers "foo" and "bar" on the system 2) make "foo" the default printer (e.g. using command 'lpoptions -d foo') 3) start LibreOffice Writer with a new document 4) run Mail Merge Wizard with any data source 5) click the "Print Merged Documents" icon in toolbar -> the "Print merged documents" dialog appears with no printer preselected 6) select printer "bar" (i.e. not the default printer) 7) click "Print Documents" -> printout happens on the selected printer "bar" (OK) 8) click the "Print Merged Documents" icon in toolbar again -> the "Print merged documents" dialog appears with printer "bar" preselected 9) click "Print Documents" Result: The printout happens on printer "foo" (default printer) instead of the selected printer "bar". Expected result: Printout should happen on the selected printer "bar". Notes: * This works as expected when temporarily selecting another printer, then switching back to "bar". Version: 6.4.0.0.alpha0+ Build ID: 8e3f4317823aa83e0ad9e7dc008a1550ef3c9798 CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: kde5; Locale: en-GB (en_GB.UTF-8); UI-Language: en-US Calc: threaded
* This bug report is mainly for documentation purposes. I've analyzed the issue and will submit a patch soon.
Gerrit change: https://gerrit.libreoffice.org/75933 and somewhat related: https://gerrit.libreoffice.org/75932
May this be the same as bug #114099 ?
(In reply to Gabor Kelemen from comment #3) > May this be the same as bug #114099 ? That was my first thought as well. However, looking at it more closely, the dialogs being used for the both use cases are different ones. For the use case described above, there is a "Print merged document" dialog that has some printer preselected (should be the "correct one" with above two patches). For the case in bug 114099, there is first a "Mail Merge" dialog, and then the default print dialog is used. The above two patches don't change that the default printer is still selected there.
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/0f0adc34889ff68da584cea97a9de649174b0333%5E%21 tdf#126471 Apply selected MM printer on dialog open It will be available in 6.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Fixed on master now. Pending backports for 6.3 and 6.2: https://gerrit.libreoffice.org/#/c/75966/ https://gerrit.libreoffice.org/#/c/75968/
Michael Weghorn committed a patch related to this issue. It has been pushed to "libreoffice-6-2": https://git.libreoffice.org/core/+/9711e8ed4c7353e453aa5a9b59187f6cd31f24f1%5E%21 tdf#126471 Apply selected MM printer on dialog open It will be available in 6.2.6. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Weghorn committed a patch related to this issue. It has been pushed to "libreoffice-6-3": https://git.libreoffice.org/core/+/fad14c70bec997bf99818ee3c08e83ba968c1b0f%5E%21 tdf#126471 Apply selected MM printer on dialog open It will be available in 6.3.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.