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

App doesn't handle mouse event until button loses focus #230

Open
CoNsTaRs opened this issue Nov 12, 2019 · 1 comment
Open

App doesn't handle mouse event until button loses focus #230

CoNsTaRs opened this issue Nov 12, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@CoNsTaRs
Copy link

CoNsTaRs commented Nov 12, 2019

Description

with_callback doesn't handle On::MouseUp and On::MouseDown until the button loses focus.

Version / OS

  • azul version:
    5984b80

  • Operating system:
    Linux (Ubuntu 18.04)

  • Windowing system (X11 or Wayland, Linux only):
    Wayland

Steps to Reproduce

Hello World example, label doesn't actually update when mouse up and down, it updates only on next mouse down or when button loses focus.

@CoNsTaRs CoNsTaRs added the bug Something isn't working label Nov 12, 2019
@jhwgh1968
Copy link

FWIW, I encountered this on master along with other rendering glitches.

I tried to bisect this, going all the way back to f2d7625 (committed in May of this year). That version and a couple before it seemed to react better to the mouse, but due to other rendering glitches, the counter never updated at all or did not display.

In other words, I have no idea where this actually broke, and it seems really hard to pin down due to other issues. But I will open separate bugs for those once I can characterize them better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants