Skip to content

(Agenda Bug) State change on REPEATING TODO's doesn't work #348

Closed
@stoladev

Description

@stoladev

Describe the bug

When a TODO item is set to a SCHEDULED REPEAT (ex. +1d | +1w), it does not visually update into a done state nor remove itself from that day's view.

WORKS if you re-open agenda view. Seems to be a visual-update type of bug.

Steps to reproduce

  1. Create a REPEATING TODO item.
  2. Open agenda view.
  3. Change the status of it.

Expected behavior

WHAT WORKS:

  • The TODO item successfully adds a property to itself (state DONE from TODO)
  • When you reload agenda view, that item is no longer visible for the day you set it done for
  • The other items still successfully display for other days

WHAT DOESN'T WORK:

  • The reason I noticed this issue was because after I hotkeyed the daily task for being DONE
  • It didn't update the visual of TODO -> DONE
  • Another thing it could have done was remove itself from my view, which it didn't either
  • Only AFTER I re-open agenda view, is the item gone for the day I finished it from.

WHAT I THINK THE PROBLEM IS:

  • I think adding some form of visual refresh after changing a TODO item's state would be enough to fix this issue.

POTENTIAL FIX:

  • Either visually changing the item to DONE (the same way it works in Agenda Mode with a NON-REPEATING TODO)
  • ...or removing that day's TODO item from the view

Emacs functionality

No response

Minimal init.lua

Minimal init.lua:
https://github.com/nvim-orgmode/orgmode/blob/master/scripts/minimal_init.lua

Screenshots and recordings

No response

OS / Distro

MacOS

Neovim version/commit

0.8

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions