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

Hidden (via hideturtle) receive click events #114

Closed
rigdern opened this issue Jul 30, 2024 · 2 comments
Closed

Hidden (via hideturtle) receive click events #114

rigdern opened this issue Jul 30, 2024 · 2 comments

Comments

@rigdern
Copy link

rigdern commented Jul 30, 2024

Repro steps

I reproed this with Boxer 3.4.19 2024-06-24

  1. Download, unzip, and open hidden sprite repro.box.zip
  2. Click the middle of the graphics context. There's a large hidden (via hideturtle) rectangular sprite there

Actual result: The output box updates to say "Clicked sprite". This indicates the sprite's mouse-down-on-sprite handler has run. This is unexpected since the sprite is hidden

Expected result: The output box remains empty. The sprite's mouse-down-on-sprite handler hasn't run because the sprite is hidden.

Here's a screenshot of the repro file:
image

@sgithens
Copy link
Member

Fixed in 9ce6d7b will be in 3.4.21

@sgithens
Copy link
Member

sgithens commented Nov 7, 2024

Verified on v3.4.21 and closing.

@sgithens sgithens closed this as completed Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants