Skip to content

Allow slow clicks in the UI #2859

Open
Open
@martenbjork

Description

@martenbjork

Maybe this is an EGUI implementation decision — I'm curious to learn more.

When clicking things in Rerun, the click "times out" after ~750ms.

✅ Working: Mousedown, wait 100ms, mouse up = Click is registered
❌ Not working: Mousedown, wait 1000ms, mouse up = Click is not registered

If you slow-click an interactive element, like the > Blueprints toggle in the selection view, you can see this behavior in action. After ~750ms, the visual click state disappears as if your click has been cancelled.

Is there good rationale for this? I often slow-click, when I suddenly have doubt about whether I want to go through with the click. (Mousedown => Haaaaang on... => drag mouse outside control => release => phew!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    eguiRequires egui/eframe workuiconcerns graphical user interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions