[mobile] missing dives after swiping to the left
Dirk Hohndel
dirk at hohndel.org
Thu Jun 22 03:04:49 PDT 2017
> On Jun 22, 2017, at 2:59 AM, Davide DB <dbdavide at gmail.com> wrote:
>
> On 22 June 2017 at 02:37, Dirk Hohndel <dirk at hohndel.org> wrote:
>>> #1 I found a bug probably not related to these changes.
>>> Based on Thomas hints I discovered that I can swipe to the right the main
>>> action button (+). I don't understand what I get (it seems to edit a dive)
>>> but coming back at the list I miss some dives. Each time I swipe, I move
>>> the form and I come back I miss more dives. Fortunately if I restart
>>> subsurface everything is ok.
>>
>> This is odd. If I right-drag the button, it just opens the global drawer
>> (the main menu that slides open from the left). But oddly, if I left drag
>> it, no menu opens (of course, since we have no context menu) and instead
>> the button action is executed... Marco, that does seem like a bug in
>> Kirigami?
>>
>> Additionally, why do you miss dives? Can you create a video for that so I
>> can understand what's happening? Maybe you start an edit, abort the edit,
>> and somehow our dive list gets confused? Definitely something I want to
>> follow up on.
>>
>
> Yesterday I was a little tired so I confused left with right.
Oh good (in a weird way - at least this makes sense to me)
> Hereafter a video showing the bug:
>
> https://www.youtube.com/watch?v=MoJNCv_ofk0
>
> Steps to reproduce the bug in my case:
>
> My newest dive is #158.
> I select one dive (#156 not the latest).
> I come back to the dive list.
> I swipe the (+) button to the left.
> A new dive is created (#159).
> I swipe the dive to the bottom and the previous selected dive is shown.
> I come back to the dive list.
> I select one dive (#154)
> I come back to the dive list.
> I swipe the (+) button to the left.
> A new dive is created (#160).
> I swipe the dive to the bottom and the previous selected dive is shown.
> I come back to the dive list.
> As you see dive #157 is missing now.
> I swipe the (+) button to the left.
> A new dive is created (#161).
> I swipe the dive to the bottom and the previous selected dive is shown.
> I come back to the dive list.
> Now I miss dives #157 and #158
> I swipe the (+) button to the left.
> A new dive is created (#162).
> I swipe the dive to the bottom and the previous selected dive is shown.
> I come back to the dive list.
> Now #158 is back but I miss #155 #156 #157
> I swipe the (+) button to the left.
> A new dive is created (#163).
> I come back to the dive list.
> Now I miss several dives but note I lost sorting too: dive #156 is
> listed before #154
> I select dive #151 but dive #155 is shown.
>
> Basically the dive list is screwed up.
Yep - we are messing up the model. I'll need to add some debug code
to see what exactly is going on, but I think I have a pretty good idea
what's up.
/D
More information about the subsurface
mailing list