Bug 582531 - Let users specify/go to exact window time range
Summary: Let users specify/go to exact window time range
Status: NEW
Alias: None
Product: Tracecompass
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Project Inbox CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-13 15:59 EDT by Christophe Bedard CLA
Modified: 2024-05-13 12:52 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Bedard CLA 2023-10-13 15:59:03 EDT
This is a feature request to be able to set the start & end timestamps of the window time range OR a start timestamp and window span value. This would be useful when we want to jump to a specific section of the trace, for example when we know through other means (e.g., logs, babeltrace output timestamps) that we want to visualize a specific section. This would also be useful when we want to reliably/consistently set the window time range, e.g., for taking screenshots, etc.

The histogram view allows setting selection start & end timestamps and a window span value [1], but it's not quite the same given that it is the selection range and not the window range. Furthermore, this feature request isn't really about the histogram view specifically. It applies to any view with a typical time axis.

This feature could be implemented as a simple dialog with text boxes for start & end timestamp OR start timestamp and window span that is opened by:

1. A keyboard shortcut
2. Double-clicking on the timestamps shown in the lower left corner
3. Right-clicking on a view's time axis values and clicking on something like "Set window time range"
4. Or some other mechanism

I could probably contribute this feature, but I just need us to agree on the exact mechanism and whether this feature would be welcome.


[1] https://archive.eclipse.org/tracecompass/doc/stable/org.eclipse.tracecompass.doc.user/Trace-Compass-Main-Features.html#Histogram_View
Comment 1 Bernd Hufmann CLA 2023-11-09 16:23:09 EST
Hi Christophe

this is a interesting feature suggestion. I agree it would be good to have a way to input a specific time range to navigate to. The histogram view has way to specify the selection range. But, to be honest, it should not have been separate from the Histogram view and it only allows to set the selection range.

The Time Graph views, like the Resources view allow to zoom to a window range that is currently selected by pressing the Z keyboard button. This is good, but it require such a view to be open.

Having an separate window for specifying the window range would be good. Not sure what is the best UX. For sure such a feature needs to be easily discoverable by the user. A dialog or a so called "Fast View" of Eclipse could be a way. 

You could decide to allow to specify the selection window and have a button and Keyboard short (e.g. Z) cut to zoom to that selection. 

If you could come up with a proposal implementation would be highly appreciated, because currently we don't have the bandwidth to work on it. Maybe let it try by your users to give feedback and then we can review it and give our feedback.

Thanks a lot for your initiative.

Bernd
Comment 2 Ivan Grinenko CLA 2023-11-10 04:39:03 EST
Hi,

This is a very nice to have feature. As for me I see it implemented as something global (a key combination, or a button on a toolbar of a supported view). By 'global' I mean it should apply the selected time range to all the views having the 'Align Views' option eneabled.

Thanks!
Comment 3 Christophe Bedard CLA 2024-05-13 12:52:52 EDT
I moved this issue to the new GitHub repo here: https://github.com/eclipse-tracecompass/org.eclipse.tracecompass/issues/80