How to add a toolbar button to add subtasks in Inbox in list view? Topic is solved

How-to's and other software related queries

Moderator: abstr

Post Reply
raym
Posts: 31
Joined: Wed Mar 09, 2022 11:07 am

How to add a toolbar button to add subtasks in Inbox in list view?

Post by raym » Wed Nov 06, 2024 10:11 am

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)"?

User avatar
abstr
Site Admin
Posts: 370
Joined: Sun Jul 28, 2019 12:22 pm

Re: How to add a toolbar button to add subtasks in Inbox in list view?

Post by abstr » Thu Nov 07, 2024 12:00 am

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>

raym
Posts: 31
Joined: Wed Mar 09, 2022 11:07 am

Re: How to add a toolbar button to add subtasks in Inbox in list view?

Post by raym » Thu Nov 07, 2024 9:30 am

Thank you. It works very well. :-D

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?

User avatar
abstr
Site Admin
Posts: 370
Joined: Sun Jul 28, 2019 12:22 pm

Re: How to add a toolbar button to add subtasks in Inbox in list view?

Post by abstr » Thu Nov 07, 2024 11:27 pm

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.

Post Reply