FreeEMS Issues - OLV
View Issue Details
0000519OLVUser Interfacepublic2012-01-31 22:252012-02-03 21:12
BenFenner 
BenFenner 
normalminoralways
closedfixed 
AllAllAll
0.0.3-SNAPSHOT 
0.0.30.0.3 
0000519: CSV-type files do not center correctly upon initial loading. (They do zoom correctly.)
When a log file is first loaded, it should zoom to fit inside the window, and it should center itself in the window. When loading a CSV-type data log file, the centering part of that does not seem to work.
No tags attached.

Notes
(0001175)
Fred   
2012-01-31 22:30   
This could be because it centres on the array size and not the data loaded into that array. Once upon a time those things definitely matched, not now.
(0001176)
BenFenner   
2012-01-31 22:31   
I've looked into it some and the centering algorithm is assigning the correct position. It seems to get moved somehow after that though, so the hunt continues.
(0001177)
BenFenner   
2012-01-31 22:55   
The graph position was getting reset superfluously. Tested good on both FreeEMS-type and CSV-type logs.

Git hash: 05cee560bd01912bdfae633f8207c79456dc823f
(0001187)
Fred   
2012-02-03 21:02   
Works fine now.
(0001188)
BenFenner   
2012-02-03 21:12   
Fixing this introduced a bug where zooming out completely no longer worked. You could be left with a two-pixel long graph trace instead of a single pixel point in some cases.

This git hash fixes the bug: 562f9ca501ef3b17365aa090540dafc6c256714b