Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000519OLVUser Interfacepublic2012-01-31 22:252012-02-03 21:12
ReporterBenFenner 
Assigned ToBenFenner 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformAllOSAllOS VersionAll
Product Version0.0.3-SNAPSHOT 
Target Version0.0.3Fixed in Version0.0.3 
Summary0000519: CSV-type files do not center correctly upon initial loading. (They do zoom correctly.)
DescriptionWhen 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (0001175)
Fred (administrator)
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.
User avatar (0001176)
BenFenner (developer)
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.
User avatar (0001177)
BenFenner (developer)
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
User avatar (0001187)
Fred (administrator)
2012-02-03 21:02

Works fine now.
User avatar (0001188)
BenFenner (developer)
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


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker