webContents.getPrintersAsync() not returning printer list on Linux Mint Cinnamon 19.1 #42002
Closed
3 tasks done
Labels
bug 🪲
component/printing
has-repro-gist
Issue can be reproduced with code at https://gist.github.com/
platform/linux
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: