Page 1 of 1
How to add a toolbar button to add subtasks in Inbox in list view?
Posted: Wed Nov 06, 2024 10:11 am
by raym
I am trying to add a new toolbar button "New task at bottom of a specific folder" in my case "New task at bottom of Inbox Folder".
There is a menu item "New task at bottom of selected task's parent’ but I don't see the task parent in Listview.
Would it be possible to add a new toolbar button "New task at bottom/top of Inbox (or a specific folder)"?
Re: How to add a toolbar button to add subtasks in Inbox in list view?
Posted: Thu Nov 07, 2024 12:00 am
by abstr
raym wrote: ↑Wed Nov 06, 2024 10:11 am
but I don't see the task parent in Listview.
That must be because you have an active filter or you have chosen to hide parent tasks, either in 'List View > Options' or
Code: Select all
Tools > Preferences > User Interface > Tasklist Attributes > Always hide parent tasks in List View
.
raym wrote: ↑Wed Nov 06, 2024 10:11 am
Would it be possible to add a new toolbar button
I think a better solution would be for you to create a user-defined-tool (UDT) for this purpose.
Follow
these basic steps, but type the following into the 'Arguments' field:
Code: Select all
"$(pathname)" -nt -pid <parent task ID>
Re: How to add a toolbar button to add subtasks in Inbox in list view?
Posted: Thu Nov 07, 2024 9:30 am
by raym
Thank you. It works very well.
Two small questions left:
- Is there any way to move this toolbar icon to the custom toolbar?
- If I add a task using this new icon (without writing anything), push the ESC button on my keyboard then the task does not disappear like all other tasks.
Would it be possible to make this happen?
Re: How to add a toolbar button to add subtasks in Inbox in list view?
Posted: Thu Nov 07, 2024 11:27 pm
by abstr
raym wrote: ↑Thu Nov 07, 2024 9:30 am
Is there any way to move this toolbar icon to the custom toolbar?
Yes:
1. Untick the 'Tools > Preferences > User Defined Tools > Display in toolbar' checkbox
2. Add the appropriate 'Tools > User Defined Tool <x>' button to the 'Custom Toolbar' button list
abstr wrote: ↑Thu Nov 07, 2024 12:00 am
Would it be possible to make this happen?
You'll need to repost that as a separate bug report,
together with the relevant information.