Bug 121 - data always scrolls out of view
Summary: data always scrolls out of view
Alias: None
Product: PulseView
Classification: Unclassified
Component: Data display (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
Depends on:
Reported: 2013-05-21 14:56 CEST by Bert Vermeulen
Modified: 2015-07-24 18:39 CEST (History)
2 users (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Bert Vermeulen 2013-05-21 14:56:08 CEST
No matter which zoom level PulseView is at, live incoming data always scrolls off-screen.

If the user scrolls all the way to the right, PV should have that right border stick, so new data always scrolls into view.

This should probably be the default as well, when pulseview is started.
Comment 1 Uwe Hermann 2014-11-26 23:50:05 CET
This could be a nice feature indeed if the user can disable it (since a valid use-case is also to view the start of the stream at leasure while the rest is still loading or being captured).

There are multiple possible ways:

 a) disable the "automatically stay at the right side of the screen and always show the newest samples" mode when the user performs an "override" action such as zooming (scrollwheel) or scrolling to the left or to the right or clicking a mouse button or such.

 b) Have a key assigned to toggle between "manual zoom/scroll mode controlled by the user" (the current PV behaviour) and "automatically stay at the right side of the screen and always show the newest samples" mode.

I think I prefer option b) since it allows you to conveniently switch between both modes at any time.

E.g. when doing a long acquisition with a Saleae Logic the default could be "stay at the right side" mode. The user doesn't have to scroll, he'll always see the newest samples. When the user spots some interesting chunk in the data he can press the hotkey (say 'a') and PulseView switches from "stay at the right side" mode to "manual scroll/zoom mode". The user can inspect any interesting data, zoom in and out, scroll left/right and so on. Once the user has seen what he wanted to see, he can press 'a' again to go back to "stay at the right side" mode to always view the latest samples again until some other interesting chunk is spotted.

When in "stay at the right side" mode, it would probably make sense to also allow zooming, so that the user gets to choose how many samples should be shown (and in which level of detail). I.e., the user gets the chance to change the zoom level at runtime (while not leaving "stay at the right side" mode).
Comment 2 Uwe Hermann 2015-07-24 18:39:40 CEST
Implemented in c7b03d9daa9574bd633fbac2d5976716f58027f5, thanks a lot!