Closed Bug 1616936 Opened 5 years ago Closed 2 years ago

Won't keep default printer using terminal services

Categories

(Core :: Printing: Setup, defect, P3)

71 Branch
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: bgt, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

Steps to reproduce:

If there is a local printer attached to the computer it, won't keep it as the default printer using remote desktop connection to a server using terminal services.

Actual results:

It keeps reverting to the last network printer in the list rather than keeping my default local printer.

Expected results:

It is supposed to retain the last printer that was used.

I have attempted to reproduce this issue in Windows 10 and Firefox Release v73.0.1. Did you reproduce it on Windows 10 and Firefox v71? Does it reproduce on the latest Release Firefox v73?

I think this is not a Firefox issue because the setting that retains the primary printer is on OS level, not on the browser level, however, @Barry, I would like you to write a detailed list of steps to reproduce that I can attempt on my machine. Thank you.

@triage owner: can you have an opinion on how this issue should be troubleshot. Thank you.

Component: Untriaged → Printing: Setup
Flags: needinfo?(bgt)
Product: Firefox → Core

It’s not Windows 10, its Windows Server 2016. We are using Firefox 73.0.1 (32-bit). It's not using the default printer from the OS. It is selecting the last network printer displayed in devices and printers that is connected to the server. You also must be using Remote Desktop Connection to connect to the server and have your default printer be a local printer that is connected via usb to that computer. Use local printers must be selected in remote desktop as well.

Flags: needinfo?(bgt)

Thanks for the additional details, Barry. I don't have access to Windows Server to test this out with myself. Do you know if other applications (including other browsers) correctly pick up the default, local printer, or if they also choose the last network printer in the list?

Flags: needinfo?(bgt)

It works correctly with Chrome & IE.

Flags: needinfo?(bgt)

The priority flag is not set for this bug.
:jwatt, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jwatt)

So, Chrome uses GetDefaultPrinter, but we use GetDefaultProfileW to query the default printer name. This can probably fixed by using the GetDetaultPrinter API.

Flags: needinfo?(jwatt)
Priority: -- → P3

Barry, could you please try a binary with the change in comment 6 that is supposed to work. You can download the binary in below link, "Job Details" -> target.zip.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=60601aea835ce92053948bf6ca56f622fcb22c1a&selectedJob=293271099

Thanks!

Flags: needinfo?(bgt)
See Also: → 1656733
Severity: normal → S3

A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Given that the bug is still UNCONFIRMED, closing the bug as incomplete.

For more information, please visit BugBot documentation.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(bgt)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.