[BUG] Must tap checkbox twice to mark a task as completed in widget
Describe the bug
I have tasks displayed in the JTX widget on my Android home screen. When I press the checkbox to mark a task as completed, nothing happens at first. I must press it again for it to be marked as done. Once this is done, marking a second task as done works immediately. It seems like the first tap is missed.
To Reproduce
- Add JTX widget to homescreen
- Display unfinished tasks
- Tap the checkbox to mark task as completed
- Nothing happens
- Tap it again
- The task is completed
Expected behavior
Should be marked as completed at first tap
Screenshots
Device and version
- Device: Pixel 6a
- Android version: Graphene OS (newest)
- jtx Board version: 2.11.00
- Downloaded from: F-Droid
It only seems to be an issue when jtx is NOT running in the background.
It is pretty annoying to deal with, especially for shopping lists.
https://github.com/user-attachments/assets/19a7acab-d90b-4539-9e95-3ee35522b0ba
Device and version
Device: Oneplus nord ce 3 Android version: Android 15 jtx Board version: 2.11.02 Downloaded from: Google Playstore
Hi @kalsan , hi @DeeKahy , sorry that this took a while to come back to your issue. I needed a hiatus from everything. However, I checked it out closer again, I could reproduce it once, but only once... It seems to be even random when this happens. Without a reproducible behavior, it's really hard to debug this. However, I did a change now, hoping that this would improve the behavior. I'll put it in the upcoming release. It would be great if you could observe if the issue persists in the version after the fix.
I can reliably reproduce by force quitting the application.
It works fine whilst it's running in the background, but as soon as android decides it's time to close the process it dies.
Edit:
Forgot to mention that I haven't tried with this new fix yet, but I'll pay attention to it when I get the update.
Also absolutely no worries. Everyone needs a break and it is just a minor issue anyways.
@patrickunterwegs thank you for replying! Today, F-Droid installed the newest version of JTX and the bug still persists. If the release already includes the commit, the bug is not fixed.
I can confirm this behavior for Pixel 9 with Grapheneos, A16 and jtx 2.14.00.ose