jtxBoard icon indicating copy to clipboard operation
jtxBoard copied to clipboard

[BUG] Must tap checkbox twice to mark a task as completed in widget

Open kalsan opened this issue 9 months ago • 5 comments

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

  1. Add JTX widget to homescreen
  2. Display unfinished tasks
  3. Tap the checkbox to mark task as completed
  4. Nothing happens
  5. Tap it again
  6. 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

kalsan avatar Mar 12 '25 09:03 kalsan

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

DeeKahy avatar Apr 27 '25 07:04 DeeKahy

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.

patrickunterwegs avatar Jun 08 '25 16:06 patrickunterwegs

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.

DeeKahy avatar Jun 08 '25 18:06 DeeKahy

@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.

kalsan avatar Jun 13 '25 08:06 kalsan

I can confirm this behavior for Pixel 9 with Grapheneos, A16 and jtx 2.14.00.ose

basings avatar Oct 15 '25 21:10 basings