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

Site A Button does not function as expected #5

Open
3 tasks done
SourasishBasu opened this issue Oct 1, 2023 · 0 comments
Open
3 tasks done

Site A Button does not function as expected #5

SourasishBasu opened this issue Oct 1, 2023 · 0 comments
Labels
5 points wow :O 5 points bug Something isn't working

Comments

@SourasishBasu
Copy link
Collaborator

Issue Description

Button 5 does not behave properly on button press.

Summary

Button 5 does not react to button press action. Instead Button 4 image and values are changed/accessed upon pressing button 5.

Details

→ On the Site A screen, there will be a 3x3 grid of buttons. The buttons may be pressed to toggle their state between on (green)/off (grey).

→ There might be a situation where a specific button does not behave as intended. While pressing that button instead of toggling its state between green/grey it controls and changes the state of a completely different button. It also prevents you from completing the task if the button is part of the passcode.

→ For Ex:- You need to enter the passcode 3456 but you find pressing 5 returns the value 4 and changes the visual state of button 4 and not itself.

→ Button values and image toggle is controlled by the root.check_product(self, <button_id>) and root.change_img(self, <button_id>) functions under the on_press: parameter within the Button class in the sitea_screen.kv file.

Additional Information

Screenshots (if applicable)

image

Checklist

  • I have searched existing issues to ensure this is not a duplicate.
  • I have provided clear and detailed information about the issue.
  • I have included any necessary screenshots or files.

@SourasishBasu SourasishBasu changed the title Button does not function as expected Site A Button does not function as expected Oct 1, 2023
ritankar56 added a commit to ritankar56/octops that referenced this issue Oct 2, 2023
@Afterdie Afterdie added bug Something isn't working 5 points wow :O 5 points labels Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 points wow :O 5 points bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants