New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webContents.getPrintersAsync() not returning printer list on Linux Mint Cinnamon 19.1 #42002
Comments
Hello @RohitSaroj. Thanks for reporting this and helping to make Electron better! Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use. Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests. Now adding the
blocked/need-repro
|
This comment was marked as off-topic.
This comment was marked as off-topic.
Unfortunately there's not much we can do here - this function is directly plumbed to |
Preflight Checklist
Electron Version
24.8.8
What operating system are you using?
Other Linux
Operating System Version
Linux Mint Cinnamon 19.1
What arch are you using?
x64
Last Known Working Electron version
13.2.2
Expected Behavior
webContents.getPrinters() or webContents.getPrintersAsync() should return the list of printers present in the OS. For electron version 13.2.2 on which my old app was based, I was getting the list of printers.
Actual Behavior
webContents.getPrintersAsync() is not returning the list of printers for Linux Mint only. For Ubuntu and Windows, it's working fine.
Testcase Gist URL
https://gist.github.com/RohitSaroj/ca0341da6abe965d752bf3fafac7c494
Additional Information
Is anyone aware of this issue since the electron versions involved here are old? I cannot go beyond 24.8.8 as all the versions above that have an ongoing print issue.
The text was updated successfully, but these errors were encountered: