-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A terminated activity could be unexpectedly restarted #290
Comments
This one I would consider a feature. I use the UNDO in case I accidentally selected a new activity, without wanting. So undoing the full action (including the termination of the previous one) seems logical. What do you think? |
Thanks for your explanation, Raphael. From my end, as a user, an activity A is started, if I accidentally selected another new activity B, the But, if I started A and then terminated A (which means I finished A), and then I accidentally selected another new activity B when I actually planned to select activity C. I hope the Thus, I think this could be a bug or issue that should be resolved to improve user experience. Hope my explanation makes sense :) Thanks. |
Yes, that totally makes sense. Thanks for detailing. Clearly if the termination time of the previous activity and the start time of the new one are nit exactly the same the old one shall.not be restarted! |
I have searched the history bug list, and have not found a similar bug.
The bug was found on the latest version 1.4.0 (and the master branch). The bug can be reproduced on an Android emulator 6.0 and a Google Pixel 3 XL phone.
Bug description
A terminated activity could be unexpectedly restarted when it is followed by a undo action on any other activity.
Start an activity
Cinema
and terminate it. On the history page, we can seeCinema
was correctly recorded and its state is terminated (with specific start time and end time)Start an activity
Cinema
and terminate it. Then, we startSleeping
and undo it. According to my understanding, the app now should show<No Activity>
on top. However, it showsCinema
, which was already terminated. On the history page, we can also seeCinema
was unexpectedly restarted (only w/ start time but wo/ end time).The text was updated successfully, but these errors were encountered: