Skip to content
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

Trezor suite never release camera usage after you open and close scan in Send form #13460

Closed
bosomt opened this issue Jul 23, 2024 · 3 comments
Closed
Assignees
Labels
bug Something isn't working as expected

Comments

@bosomt
Copy link
Contributor

bosomt commented Jul 23, 2024

Describe the bug
Trezor suite never release camera usage after you open and close scan in Send form.
Managed to replicate issue in Firefox and Chrome.
You can turn off camera by reloading or closing tab, navigate out of send form does not help.

EDIT: found out if you wait some time before closing modal camera is released, but if you only open and close modal in less than 5 seconds /for example you clicked on scan button in mistake/ it will hang forever

Steps to reproduce:

  1. Navigate to Send form
  2. Click on Scan button
  3. Close Scan QR code modal via X botton
  4. Wait till camera turns off
  5. It never turns off

Info:

  • Suite version: web 24.8.0 (3e342aa)
  • Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
  • OS: MacIntel
  • Screen: 1512x982
  • Device: Trezor T2T1 2.7.2 regular (revision da75d8f4b67410b40a9cfd2954d183d81dd6e8e8)
  • Transport: BridgeTransport 2.0.33

Screenshots:
telegram-cloud-photo-size-4-5836807929485967709-y

@github-project-automation github-project-automation bot moved this to 🎯 To do in Issues Suite Jul 23, 2024
@bosomt bosomt added the bug Something isn't working as expected label Jul 23, 2024
@Lemonexe
Copy link
Contributor

FIY: can't reproduce on Linux Ubuntu, so it has to be fixed by a developer with MacOS.

@MiroslavProchazka
Copy link
Contributor

@bosomt can you please test on newest MacOs Sequoia?

@komret
Copy link
Contributor

komret commented Sep 24, 2024

I could reproduce this by quickly opening and closing the modal. This seems to be a bug in the underlying library as reported here. I opened an issue to replace the library. Let's close this one.

@komret komret closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2024
@github-project-automation github-project-automation bot moved this from 🏃‍♀️ In progress to 🤝 Needs QA in Issues Suite Sep 24, 2024
@bosomt bosomt moved this from 🤝 Needs QA to ✅ Approved in Issues Suite Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected
Projects
Archived in project
Development

No branches or pull requests

4 participants