Otter wrote:Okay, let's see if I can blow this thing up.
0.8.4 didn't have any trouble with the old SleepApp folder...
except that the FL and snore graphs are blank. Was this expected? Newly imported data shows FL and snore.
It looks like I forgot to increment the internal ResMed loader version number yet again.. If I had of done that, it would of offered to automatically clean up..
Importing directories with hundreds of erroneous SAD.edf files still crashes SH.
SAD.edf is the S9's oximetry attachment data files.. Do/did you have one of them? It shouldn't crash if they are empty.
Does it crash during import, or after? You can put the debug window to full screen by dragging it up all the way.. If you do it before you import, you might be able to see the file it's crashing on..
I'm still seeing sub-decasecond hypopneas. No biggie in an alpha, though. It's easy to mentally add 10 seconds if you know you need to.
I thought I added the 10 seconds in event tab. It gets applied in the loader during import.. So if you looked before reimporting it might have been different.
If it's still not working, I must of made a typo near that section of code..
The dates for the AHI and usage tooltips appear to be one day behind.
When zoomed in, the dates are shown on the left side of the bar. It allowed reuse of the same x-axis tickers. It needs a bit of tweaking to make more sense, but I really don't want different alignment between the graphs like what was happening in the last overview screen. (it was very screwy)
I need some way of telling the x-axis tickers to offset for bar graphs... or offseting the actual bars themselves by half a bar, and plot the xtickers starting a half day earlier.
New mouse stuff seems to work. Being able to zoom all the way out with a flick of the scroll wheel is going to be nice.
But is there a way to scroll horizontally through the data? I was in the habit of using the arrow keys for that, but now they seem to be stuck on the left pane. If I click on the calendar, the arrow keys switch days even if I later click on a graph. And if I click on the lower tabs, the arrow keys do nothing.
Right click and drag on event flags (which is the control graph) allows panning the selection area horizontally.
Being a total GUI & Graph Rewrite, there is no cursor key support yet.. It hasn't been forgotten, just has to be rewritten to fit the new graphing system.
It would be a little confusing at the moment anyway, with the overview graphs shoved in temporarily. The graphs are no longer separate widgets, there is no real way of telling which individual graph was supposed to get a keypress. It will work fine when there is just the normal linked graphs on the screen, as moving one will move them all anyway.. (you will still have to focus the graph area to use the keyboard there, like before)
Trying to find a way to scroll with the mouse, I manged to crash SH again. Zoom in as far as it will go with the mouse buttons or scroll wheel, then select a short section of data. If it doesn't crash the first time, select a short section again.
Hmm. Nice Catch. This one is easily solveable at least.. I just need to limit the selection area to stop you from being able to zoom that far in.
I see what you mean about the tooltips not going away, but a quick right click, left click is an easy workaround.
It will be solved when I write a proper ToolTip object with a timer. Right now it's just a dirty hack to demonstrate the concept.
Left pane now shows all seven days and can be made wider. Would be nice to be able to narrow this or make it go away to see more data on the right.
You can drag the left pane all the way to the left to collapse it.. Just keep dragging past the point where it stops.. Can get it back by dragging from the edge.
I'd love to narrow the left pane. I'm not fond of the 4 bits of info (min,avg,p90 & max) for each channel stacked that wide.. I'm not sure how to present that data without being ugly.. Ideas are very welcome..
I like the inclusion of session stats. Was that there before? Please consider hiding SessionID somehow and displaying the duration of each session instead. That would be really useful when trying to figure out how long I actually slept.
Session stats has been there since the beginning.. down the bottom, usually off screen.
The full SessionID is important at this stage for debugging loader problems.. But there will be a way to show the individual session length too.
Graphs are resizable. It's a little difficult to make the bottom one bigger, though.
That last ones tricky.. Turning off the debug window in Help makes it easier to grab at least.. I need to make the splitter just a little bit taller.
Having to drag it offscreen is a pain, but if it scrolled up as it was dragging, I'd have to deal with repositioning the mouse cursor.. I'll tinker further on it..
Memory usage is down about 15 or 20 MB under xp x64 too. When you posted about that before, I thought you said that it was down to 20 MB, which blew my mind a little. I'm actually kind of relieved that it's not true.
100MB is nothing for an app that works with this much data.. I was extremely pleased the new graphing system turned out to be so light.. A totally unexpected side effect. Most of the bloat in SleepyHead is now just Qt base libraries.. (and most of that is the silly web browser)
Still, what's the point of having multi-gigabyte RAM in systems if we can't abuse it occasionally
It's looking good, Mark. I'm really grateful to you for doing this. Because there is no simple way to install ResScan on my system, SH has made a huge difference to me.
I'm glad you find it useful..