Skip to content

Feature request: Go to next/previous zone of the same name. #1138

@mcourteaux

Description

@mcourteaux

Example Scenario: I often find myself searching for a zone just by scrubbing the timeline. Relying on the search function is great to find a zone, but that doesn't help me find the zone I really need.
I'm looking for a particular zone, around a particular time in my program. So I'd zoom in to where I'm looking, but as my application is fast, most of the frame time is spent idling, and all of the relevant zones are squished to 5% of the screen. Let's say I'm looking for a zone that takes 1% of the time of the relevant 5%. That makes what I'm looking for really narrow, and takes a lot of mental effort locating that zone. Let's say I have found the zone, but the one I care about is actually a couple frames further or back, I have no convenient way to find the same zone in the next or previous frame.

Proposed Solution: In the "Zone info" window, we have the "Go to parent" button (which is cool, but not that useful, as I can simply click the parent zone in the timeline). Having "Go to next" and "Go to previous" would be convenient. Holding Alt can be the modifier to specify go to next/previous "in same thread".

Not-mutually exclusive alternative solution: While I like the buttons idea the most. This could also be fixed by highlighting the selected zone in the "Found zones" section of the "Find zone" (aka Statistics) window.

Image

Then I could easily select another match, a couple rows below or above the highlighted one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions