couchbaselabs / couchbaselabs/mini-hacks

Checked List items disappear when an item inside the list is deleted.

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
137
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Issue found in kitchen-sync android version.

While the application opens up and the list items are displayed on the UI.

Say I start with four items in the list (the list in general may have n items).

I select say two items using their respective check boxes, as soon as I long press any other list item and confirm the deletion of the list item by pressing the yes in the dialog box that subsequently appears, all the checked items are unchecked.

Attached below are the snapshots of the issue:-
1. Starts syncing - (starts with 4 items in the list initially)
![startssyncing](https://cloud.githubusercontent.com/assets/9744692/10602249/e3400bac-7734-11e5-86e6-f5076122716c.JPG)
1. Two items inside the list are selected.
![twoitemsselected](https://cloud.githubusercontent.com/assets/9744692/10602283/08c52452-7735-11e5-8a8b-972f2bbf394f.JPG)
2. Fourth item long pressed and confirmed deleted -
![fourthitemlongpressed](https://cloud.githubusercontent.com/assets/9744692/10602305/1f6379fc-7735-11e5-97b9-82e460229b98.JPG)
3. Fourth item deleted, lost the checked list items -
![checkeditemslost](https://cloud.githubusercontent.com/assets/9744692/10602322/3cf7024a-7735-11e5-9203-01755a14c2a8.JPG)

Thank you. There is no additional log trace generated.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in the kitchen-sync Android application with four list items: check two items, long-press another item, and confirm deletion. Trace the list UI and deletion-confirmation flow to determine why the checked state is lost. Done means deleting an unchecked item leaves the other checked items checked, with no additional log trace required.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.