simpletask-android icon indicating copy to clipboard operation
simpletask-android copied to clipboard

Bug: Press FAB to add new task, the previously opened task is opened rather than the new task

Open XYIheng opened this issue 1 year ago • 4 comments

Description

When I want to add a new task, the previously opened task is opened, rather than the new task fragment.

Step to reproduce

  1. Open an existing task, e.g., 'A'
  2. Click the options in the toolbar
  3. Click 'Help'
  4. Click the back button on the left side of the 'Help'. Then app returns to the task list rather than task A
  5. Click back
  6. Click the FAB to add a new task
  7. See the error: The task 'A' is opened rather than a new task.

Bug video

https://github.com/mpcjanssen/simpletask-android/assets/31406320/081c800e-5144-4614-86c8-9b83b6547e13

Environment:

Simpletask: 11.0.1 (Cloudless Version from F-Droid) Android8.0

XYIheng avatar Nov 24 '23 10:11 XYIheng

I haven't tried to reproduce, and not sure why you are pressing help in the middle of stuff. However I don't think it is opening the existing task at all (your task has no text at all). I think it is using settings prepopulated with an existing filter. Try to do it with an actual task with some content, and slow the video down so we can see what is going on...

aubreyz avatar Nov 24 '23 10:11 aubreyz

@aubreyz The task has the text 'A'. The must be something wrong when backing from the help page, as it affects the functionality of FAB

XYIheng avatar Nov 24 '23 13:11 XYIheng

@aubreyz https://github.com/mpcjanssen/simpletask-android/assets/31406320/7ba375b3-76f7-4e63-8d65-2cbb10e9a623

I update a new video to explain this bug.

There are two tasks. If I click the first task and then click the help button. Then back to the task list. If I click the FAB, it would redirect to the first task instead of creating a new task.

"not sure why you are pressing help in the middle of stuff " Because this step is required to trigger this bug

"I think it is using settings prepopulated with an existing filter. "
No, I didn't use any filter here

XYIheng avatar Jan 15 '24 15:01 XYIheng

I agree that looks slightly odd - after a hell of a convoluted set of steps. Unfortunately given the behaviour of Google it seems that these sorts of things are never going to be fixed or explored unless someone takes over this project (which is the best todo.txt app there is on any platform .. so it is a real pity).

aubreyz avatar Jan 15 '24 16:01 aubreyz