Bug 998

Summary: Zoom to fit when acquisition stops doesn't work for files
Product: PulseView Reporter: Uwe Hermann <uwe>
Component: Data displayAssignee: Nobody <nobody>
Status: RESOLVED WORKSFORME    
Severity: normal CC: Gerhard.Sittig, soeren
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: PulseView 0.5.0   
Hardware: All   
OS: All   

Description Uwe Hermann 2017-07-22 15:26:25 CEST
The "Zoom to fit when acquisition stops" feature works fine with devices, but not for .sr file apparently. This can be reproduced e.g. with a long file such as dcf77_480s.sr.
Comment 1 Gerhard Sittig 2018-02-04 12:45:55 CET
It just worked for me for the dcf77_480s.sr file that you mention, as well as 
for other files (VCD from bug 360).  Does the issue still reproduce, or could 
it have been fixed in the meantime?
Comment 2 Soeren Apel 2018-05-30 23:18:37 CEST
*bump*
Comment 3 Soeren Apel 2018-06-02 23:37:23 CEST
I can't reproduce the issue.

Do keep in mind, btw, that changing the view in any way while the file is loading means that the zoom-to-fit will *not* be performed after the file loaded. The rationale for this behavior is that we don't want to mess up the user's view if he/she wanted to start examining the file before it loaded fully.
Comment 4 Uwe Hermann 2018-06-16 17:47:10 CEST
Can't reproduce anymore either, closing the bug.

Either this was fixed in the mean time or I accidentally clicked / dragged the trace in my tests without noticing or something like that.

I fully agree with the rationale you mentioned, that works exactly like it should indeed.