Bug: Mobile gas pressures

Willem Ferguson willemferguson at zoology.up.ac.za
Wed Aug 30 12:08:32 PDT 2017


There is some interesting artwork with the gas pressure graphs on 
Subsurface-Mobile. See attached two images, one on mobile, same dive on 
desktop. I reckon what happens is as follows: the dive on Desktop has 
two dive computer profiles (actually it's a dive plan, saved as profile 
for DC2, including gas changes in the planned dive). When it is drawn on 
mobile, I suspect it tries to draw ALL the gas pressure information for 
BOTH representations (DC1=Uwatec, DC2=plan). The gas graphs for DC2 (the 
plan) are drawn totally incorrectly. Underneath, the gas pressure graphs 
for DC1 (Uwatec) appear to be correct.

This may be an artefact of the way I saved the info for this specific 
dive, and not the code. However, the way a plan is saved on desktop is a 
mess, reflected by the fact that SAC rate is not calculated on desktop 
with this specific scenario. To get the above right will probably need 
work on both desktop and mobile.

Kind regards,

willem



-------------- next part --------------
A non-text attachment was scrubbed...
Name: Profile_Mobile.jpg
Type: image/jpeg
Size: 48002 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170830/17c25594/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Profile_Desktop.jpg
Type: image/jpeg
Size: 33511 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170830/17c25594/attachment-0003.jpg>


More information about the subsurface mailing list