[GH-ISSUE #293] Checkboxes in task description require page refresh #6052

Closed
opened 2026-04-20 16:35:58 -05:00 by GiteaMirror · 9 comments
Owner

Originally created by @cortl on GitHub (Jul 25, 2024).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/293

Description

There are a few issues around checkboxes in descriptions, sometimes the boxes do not check/uncheck.

Steps to Reproduce

  1. Add a task, create a description
[] test
  1. Click save
  2. Check test
  3. Refresh page
  4. test should be checked, but isn't

Vikunja Version

v0.24.1

Browser and version

Brave

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

You can see here where I checked a box, saved, then unchecked the box. The result should be that "0 of 2 tasks" and the text should not have strikethrough styling. Refreshing the page will also show this checkbox checked again.
image

Originally created by @cortl on GitHub (Jul 25, 2024). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/293 ### Description There are a few issues around checkboxes in descriptions, sometimes the boxes do not check/uncheck. _Steps to Reproduce_ 1. Add a task, create a description ``` [] test ``` 2. Click save 3. Check `test` 4. Refresh page 5. `test` should be checked, but isn't ### Vikunja Version v0.24.1 ### Browser and version Brave ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots You can see here where I checked a box, saved, then unchecked the box. The result should be that "0 of 2 tasks" and the text should not have strikethrough styling. Refreshing the page will also show this checkbox checked again. ![image](https://github.com/user-attachments/assets/4b4e9326-5ef5-4c95-8945-d5698d3f89a2)
GiteaMirror added the upstream issue label 2026-04-20 16:35:58 -05:00
Author
Owner
<!-- gh-comment-id:2273750895 --> @kolaente commented on GitHub (Aug 7, 2024): https://community.vikunja.io/t/tasks-list-in-description-completely-broken/2490/2
Author
Owner

@PMP161316 commented on GitHub (Apr 2, 2025):

Dear kolaente,
Thank you very much for this helpful tool.
Unfortunately, I stumble across the bug described here almost every day and often lose information (checked checkbox) as a result.
Would it perhaps be conceivable - as a kind of work-around - to automatically reload/refresh the page after saving until this bug can be fixed?

<!-- gh-comment-id:2773531000 --> @PMP161316 commented on GitHub (Apr 2, 2025): Dear kolaente, Thank you very much for this helpful tool. Unfortunately, I stumble across the bug described here almost every day and often lose information (checked checkbox) as a result. Would it perhaps be conceivable - as a kind of work-around - to automatically reload/refresh the page after saving until this bug can be fixed?
Author
Owner

@kolaente commented on GitHub (Apr 9, 2025):

I think that would be possible. I'll look into it, but happy to merge a PR if someone wants to have a stab at it.

<!-- gh-comment-id:2790393908 --> @kolaente commented on GitHub (Apr 9, 2025): I think that would be possible. I'll look into it, but happy to merge a PR if someone wants to have a stab at it.
Author
Owner

@kolaente commented on GitHub (Apr 18, 2025):

https://github.com/go-vikunja/vikunja/issues/563 has a little more info from me debugging this (but no fix, sadly)

<!-- gh-comment-id:2814892734 --> @kolaente commented on GitHub (Apr 18, 2025): https://github.com/go-vikunja/vikunja/issues/563 has a little more info from me debugging this (but no fix, sadly)
Author
Owner

@kolaente commented on GitHub (Aug 3, 2025):

https://github.com/go-vikunja/vikunja/issues/837 is another issue with the same root cause.

<!-- gh-comment-id:3148670131 --> @kolaente commented on GitHub (Aug 3, 2025): https://github.com/go-vikunja/vikunja/issues/837 is another issue with the same root cause.
Author
Owner

@scosu commented on GitHub (Sep 12, 2025):

Probably the same bug a bit differently:

  1. Add task with checkboxes in the description
  2. reload the page with the open task
  3. Check the box
  4. Uncheck the box (here the line still has a line through it though it shouldn't)
  5. Reload the page with the open task
  6. The box you unchecked is still checked
<!-- gh-comment-id:3285730308 --> @scosu commented on GitHub (Sep 12, 2025): Probably the same bug a bit differently: 1. Add task with checkboxes in the description 2. reload the page with the open task 3. Check the box 4. Uncheck the box (here the line still has a line through it though it shouldn't) 5. Reload the page with the open task 6. The box you unchecked is still checked
Author
Owner

@jasiekk913 commented on GitHub (Oct 22, 2025):

Hi, has anything changed with this issue?

Also if you check/uncheck them in editing mode, everything works as expected (but number of completed tasks updates only when you save).

<!-- gh-comment-id:3431761745 --> @jasiekk913 commented on GitHub (Oct 22, 2025): Hi, has anything changed with this issue? Also if you check/uncheck them in editing mode, everything works as expected (but number of completed tasks updates only when you save).
Author
Owner

@vikunja-bot-app[bot] commented on GitHub (Dec 19, 2025):

This issue has been fixed in #2007, please check with the next unstable build (should be ready for deployment in ~30min, also on the demo).

<!-- gh-comment-id:3675637703 --> @vikunja-bot-app[bot] commented on GitHub (Dec 19, 2025): This issue has been fixed in #2007, please check with the next unstable build (should be ready for deployment in ~30min, also on [the demo](https://try.vikunja.io)).
Author
Owner

@kolaente commented on GitHub (Dec 19, 2025):

This should now be fixed as per the bot's comment, please check if it works for you.

<!-- gh-comment-id:3675638917 --> @kolaente commented on GitHub (Dec 19, 2025): This should now be fixed as per the bot's comment, please check if it works for you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6052