View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007535 | Taler | wallet (WebExtension) | public | 2022-12-25 19:23 | 2023-02-21 16:39 |
Reporter | davidak | Assigned To | sebasjm | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.9 | ||||
Target Version | 0.9.2 | Fixed in Version | 0.9.2 | ||
Summary | 0007535: camera image is mirrored, unable to scan qr code | ||||
Description | . | ||||
Steps To Reproduce | 1. withdraw money in bank 2. scan qr code in browser wallet extension with webcam 3. qr code not detected, because the image is mirrored | ||||
Additional Information | Wallet Core 0.9.0 673e7a417d043cd6b0644d2a7a52d1fdbc5345ee Web Extension 0.9.0.35 673e7a417d043cd6b0644d2a7a52d1fdbc5345ee webcam is https://www.amazon.de/gp/product/B085ZKNJF3/ref=ppx_yo_dt_b_asin_title_o08_s01?ie=UTF8&th=1 it is not mirrored in OBS or other websites like https://de.webcamtests.com/ Google Chrome 108.0.5359.124 on NixOS 22.11.1137.dac57a4eccf with Pantheon desktop | ||||
Tags | No tags attached. | ||||
|
|
|
It's actually the whole media player that is mirrored including the (hidden by default) controls. |
|
Looks like the library is doing a css transformation to flip the camera based on MediaStream api https://github.com/nimiq/qr-scanner/blob/master/src/qr-scanner.ts#L366 https://github.com/nimiq/qr-scanner/blob/abcfe1bce2703721408d8ce7ebde94a359998506/src/qr-scanner.ts#L877 https://github.com/nimiq/qr-scanner/blob/abcfe1bce2703721408d8ce7ebde94a359998506/src/qr-scanner.ts#L935 Also, the worker implementation is using URL.createObjectURL which is not present in every browser. I'm going to move to another implementation, probably https://github.com/cozmo/jsQR |
|
That works. |
|
fixed at 9d9a88af010ac39f026299ebccea3e1164e5242e moved to a lower level implementation, tested on firefox and chrome also implemented reading qrcode from file |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-12-25 19:23 | davidak | New Issue | |
2022-12-25 19:23 | davidak | Status | new => assigned |
2022-12-25 19:23 | davidak | Assigned To | => Florian Dold |
2022-12-25 19:23 | davidak | File Added: Screenshot from 2022-12-25 19-16-32.png | |
2023-01-08 10:17 | Christian Grothoff | Assigned To | Florian Dold => sebasjm |
2023-01-08 10:17 | Christian Grothoff | Target Version | => 0.9.2 |
2023-01-30 14:18 | davidak | Note Added: 0019715 | |
2023-01-30 14:18 | davidak | File Added: Screenshot from 2023-01-29 10-33-28.png | |
2023-01-30 16:19 | sebasjm | Note Added: 0019716 | |
2023-01-30 17:28 | davidak | Note Added: 0019717 | |
2023-01-30 17:28 | davidak | File Added: Screenshot from 2023-01-30 17-27-37.png | |
2023-01-31 14:22 | sebasjm | Status | assigned => resolved |
2023-01-31 14:22 | sebasjm | Resolution | open => fixed |
2023-01-31 14:22 | sebasjm | Fixed in Version | => git (master) |
2023-01-31 14:22 | sebasjm | Note Added: 0019718 | |
2023-02-17 16:33 | Christian Grothoff | Fixed in Version | git (master) => 0.9.2 |
2023-02-21 16:39 | Christian Grothoff | Status | resolved => closed |
2023-04-13 20:37 | Florian Dold | Category | wallet (WebExtensions) => wallet (WebExtension) |