Skip to content

🍳 puffin-egui: Incorrect flamegraph frame selection input handling  #205

@tosti007

Description

@tosti007

Describe the bug
With prior versions it was possible to select a specific frame within the flamegraph viewer. With the lastest version selecting a specific scope focuses the ScrollArea wrapping the lists of scopes instead. I think this is due to egui v0.27's changes to how input handling is performed.

To Reproduce
Steps to reproduce the behavior:

  1. Run the eframe.rs example.
  2. Open the flamegraph.
  3. Pause the frame collection with space.
  4. Select any of the previous frames.
  5. Notice that this is not possible and scrolling is activated instead.

Expected behavior
I expect to select the frame I clicked on, as was the case with egui v0.26.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions