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

False positive selection error (inconsistant) #473

Open
An-anonymous-coder opened this issue Sep 12, 2024 · 3 comments
Open

False positive selection error (inconsistant) #473

An-anonymous-coder opened this issue Sep 12, 2024 · 3 comments

Comments

@An-anonymous-coder
Copy link

An-anonymous-coder commented Sep 12, 2024

Description

Occasionally while selecting and deselecting options in the QR Scan tab, the error message "Please ensure that at least one barcode is selected in manual mode". This is inconsistent behavior, but it's consistent enough that if you try the reproducible steps a couple times it should work.

Steps

  1. Open the camera app
  2. Select the "QR SCAN" tab
  3. Switch to manual mode by clicking the "X" in the bottom left. Ignore this step if it is already in manual mode.
  4. Deselect all scan options on the top.
  5. Open the "More Options" window by tapping on the three dots in the top right.
  6. Deselect all options except for a single option (e.g. "CODABAR").
  7. Click "OK" in the bottom right.
  8. Open the "More Options" window by tapping on the three dots in the top right.
  9. Select another option and deselect your first option (e.g. select "CODE_39" and deselect "CODABAR"). It does not matter if you select the second option before or after deselecting the first option (e.g. you can deselect "CODABAR" before selecting "CODE_39" and it will still reproduce the bug).
  10. Click "OK" in the bottom right.
  11. If no error message pops up, repeat steps 8 through 10.

Unexpected behavior

Eventually, the error message "Please ensure that at least one barcode is selected in manual mode" should pop up, despite an option being selected. Opening the "More Options" menu by tapping the three dots in the top right shows that now both options have been selected.

Expected behavior

No error message should appear. Only one option should be selected.

Video example

In the video, it does not error the first time trying steps 8 through 10 but does error the second time. I have found that it usually does not error on the first try.

Recording.mp4
@MHShetty
Copy link
Member

Hi @An-anonymous-coder,

Thanks a lot for testing out the camera app and reporting this issue!

Could you please test the apk present in the following link for this issue?

https://drive.proton.me/urls/B2K0BTBM24#EmTKQjhs0uBK

@An-anonymous-coder
Copy link
Author

Hi @An-anonymous-coder,

Thanks a lot for testing out the camera app and reporting this issue!

Could you please test the apk present in the following link for this issue?

https://drive.proton.me/urls/B2K0BTBM24#EmTKQjhs0uBK

Tried it out, and it works as intended! Good job!

@MHShetty
Copy link
Member

That's great to know. Will make a PR for the same soon

Thanks a lot for testing our app and reporting this issue @An-anonymous-coder!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants