Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Event viewer arrow-key navigation could be improved #787

@randomascii

Description

@randomascii

The left-arrow key does not always select the correct flow event, and it does not make it visible.

If two flow events finish ("f") near the same time on the same thread then the second event is shown on a subsequent row (at least that is my interpretation of what is happening). This is okay, but unfortunately this display change appears to affect the behavior of how the left-arrow key decides which flow event to select.

The flow event associated with a RunTask event will, presumably, be the "f" event on the same thread which occurred immediately before. However the left arrow key actually selects the previous event that is on the same row, even if there is another flow event that is closer. This means that the left-arrow key does not reliably locate the relevant flow arrow.

It should be an easy fix to always find the immediately previous flow event.

Additionally (could be a separate issue if desired) the flow event that is selected is not reliably made visible. If it is off the left edge of the viewport then the viewport is moved so that it is exactly at the edge of the viewport -- still invisible. The viewport should be moved so that it is, perhaps 10% in, so that the red-highlighted flow arrow can be seen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions