simon-knuth / scanner

An all-in-one scanner app built for the Universal Windows Platform
https://simon-knuth.github.io/scanner/index
Mozilla Public License 2.0
494 stars 28 forks source link

No scan output with HP LaserJet MFP M28 #119

Open OLiebknecht opened 10 months ago

OLiebknecht commented 10 months ago

Describe the bug

With the scanner from above there is no scan output. When starting a scan the hardware starts collecting and an indicator indicates that scan is in progress, however, when the scan is finished the scan window and list is still empty! Version used is 3.2.6.0 under Windwos 11. With the Windwos-Scanner app it works as expected.

Log data

log20231228.txt

simon-knuth commented 10 months ago

Hi there,

please ignore the previous comment, I missed the last sentence in your description, my apologies.

I've taken a look at the log and can't find anything wrong. The code that's causing the error seems to be Microsoft-owned, which is why I don't understand how the Windows-Scan app is apparently working fine. All of the folders and scan options check out as well, but the scan operation is still being cancelled for an unknown reason instead of handing over the result to Scanner.

Unfortunately, without some more extensive analysis and cooperation I'm not able to help. If you have the time and expertise I encourage you to debug the call to ScanFilesToFolderAsync() in ScanService.GetScanAsync() and check whether the debugger can provide any more information (variable values, stack traces, etc.).

This is probably not what you hoped for, I'm sorry I can't be more helpful.