Bug 1839

Summary: Request: switch between wall time and relative time from zero point at the top
Product: PulseView Reporter: cedric <cedric.dewijs>
Component: UIAssignee: Nobody <nobody>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Mockup of the requested change in the time notation of pulseview

Description cedric 2023-04-15 18:09:51 CEST
Created attachment 794 [details]
Mockup of the requested change in the time notation of pulseview

Overview: 
At the top of the Pulseview window, the relative time from the zero point is displayed. I would like to be able to switch between relative time from the zero point and the wall time, so I don't have to remember when I started a capture, and perform that calculation myself.

Steps to Reproduce:
1) Start Pulseview
2) Right-click on the strip with +100ms, +200ms and so on. 

Actual Results:
A drop down menu shows up with the following options: "Create Marker here", "Set as Zero point", and "Disable mouse hover marker"

Expected Results:
I would like to also have the option "Switch to wall time", and then see the system time at the time the sample is taken at the top. When right-clicking again, the option "Switch to relative time" can be used to return to the relative time (0 for the first sample, +100ms, +200msec and so on) again.

Build Date & Hardware: I build it myself on 04/15/2023 on a 64 bit AMD machine.
PulseView 0.5.0-git-62c0968
libsigrok 0.6.0-git/4:0:0 (rt: 0.6.0-git-5bce22ac/4:0:0)
Kernel version: $ uname -a 
Linux cedric 6.2.11-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 13 Apr 2023 16:59:24 +0000 x86_64 GNU/Linux

Additional Builds and Platforms:
Not tested

Additional Information:
See the attached screenshot for a mockup of the wanted changes