problem with auto-group trips when downloading dives

Dirk Hohndel dirk at hohndel.org
Thu Jun 27 21:22:14 PDT 2019


It seems more complicated.
If I download a new dive from one of my dive computers (Garmin Descent) it creates a new trip for it.
If I then download the same dive from a second dive computer (Shearwater Teric) it doesn't merge it with the existing dive, but instead adds it to the correct trip as a separate dive.

Odd

/D

On June 28, 2019 1:00:44 PM GMT+09:00, Dirk Hohndel <dirk at hohndel.org> wrote:
>Every time I download a new dive from my dive computer, Subsurface
>creates a new trip for the downloaded dive instead of adding the dive
>to the existing dive trip.
>
>Reading the code I can see that we have two very different paths for
>"addDive":
>
>DiveListBase::addDive() which is called when importing from a dive
>computer - which doesn't even try to match the dive to an existing trip
>AddDive::addDive() which appears to do the right thing, but creates an
>undo event per dive that's added (which isn't what we want for the
>import).
>
>Berthold, I tried to figure out how to make DiveListBase::addDive() do
>the right thing, but I think it would be easier if you took a look. My
>attempts didn't look right :-)
>(and didn't work).
>
>Thanks
>
>/D
>_______________________________________________
>subsurface mailing list
>subsurface at subsurface-divelog.org
>http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

-- 
From my phone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20190628/a813d4fb/attachment.html>


More information about the subsurface mailing list