can't add task when masterlist is empty

Bug #264933 reported by Selene ToyKeeper
This bug report is a duplicate of:  Bug #482491: enh: show empty task files in GUI/TUI. Edit Remove
2
Affects Status Importance Assigned to Milestone
TKDO
Invalid
Medium
Unassigned

Bug Description

When the master list is empty, such as when running for the first time, TKDO has no way to add new tasks. The o/O keys should be able to, as well as the external editor. But these all require a task to be selected first, and there are none to select.

So, this should be handled somehow to prevent the 'add task' functions from failing.

Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

Perhaps this should just be special-cased to ask the user to select a task file if the master list is completely empty.

... or maybe empty task files should show up in the main list view as some special type of top-level task. This would still require some logic to determine whether to add a child or a sibling, but it seems overall a bit cleaner and more flexible.

Changed in tkdo:
importance: Undecided → Medium
milestone: none → 0.8
status: New → Confirmed
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

This has been replaced by bug 482491 -- show empty task files in GUI/TUI.

Changed in tkdo:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.