FossifyOrg / Notes

A simple text field for adding quick notes without ads.
https://www.fossify.org
GNU General Public License v3.0
223 stars 16 forks source link

Reordering checklists works strangely when "Move checked items to the bottom" is checked #59

Open nemliza opened 4 months ago

nemliza commented 4 months ago

Checklist

Affected app version

1.1.0

Affected Android/Custom ROM version

Android 13

Affected device model

Zenfone 8

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. Add a new checklist
  2. Add items
  3. Check some of the items
  4. Make sure that the option "Move checked items to the bottom" is checked under Sort by
  5. Long tap an unchecked item and try to reorder the list by dragging it

Expected behavior

The dragged item stays in the place where it was dragged

Actual behavior

The dragged item jumps to a different position (mostly when dragged upwards from the bottom of the list)

Screenshots/Screen recordings

No response

Additional information

No response

naveensingh commented 4 months ago

I could not reproduce this, how many items do you have?

Aga-C commented 4 months ago

@naveensingh

  1. Open any checklist and set sorting by date, with moving items to the bottom.
  2. Create a new checklist and add some items to it.
  3. Check some items.
  4. Try to move any non-checked item.

I've tested on two devices and on one I'm always able to reproduce it (Android 14), and on the other it sometimes works properly (Android 13).

EDIT: It appears to be very random. Now, on Android 14, I have troubles with reproducing it. Once it works, once it doesn't work. However, when I turned on the toast informing about saving a list, it appears that the checklist is constantly saving during dragging.

nemliza commented 4 months ago

I could not reproduce this, how many items do you have?

I just tried with eight items, check this video.

naveensingh commented 4 months ago

I can reproduce it now, thanks guys!