-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow creating documents from templates via the context menu #1747
Comments
As explained in #1519, the submenus are not included. The Qt framework already handles placement of context menus badly, and often cuts them off. Adding multiple submenus under an existing submenu is just asking for problems. A parallel submenu may be a usable workaround, but I am trying to limit the size of the existing menu as well. |
Surely not as a UX feature? Consider an author already invested in Templates by having added a number of them, anticipating their particular use cases. It should be perfectly acceptable to this author to open a context menu and see it expanded by the very number of custom templates. Small by default, large by customization. Sounds great! Unless there's a different rationale for the size restriction? edit: I realize now you may be referring to the main context menu, not the “Create New ...” submenu. |
Yes: "The Qt framework already handles placement of context menus badly, and often cuts them off. Adding multiple submenus under an existing submenu is just asking for problems." |
GUIMain has methods supported in novelwriter listed in https://github.com/vkbo/novelWriter/blob/main/novelwriter/guimain.py some file managers support scripts which could invoke some commands to novelwriter like if implemented as command-line API(but could be implemented also by GUI option box) could be for example: but So to this issue: context menu is only host between commands passengers invoked and such invocation if not so desired currently in novelwriter could be added via filemanager and his actions with calling some addingDocument with commandline or via context menu in future... context menu or command palete could be implemented in various ways but novelwriter should be prepared for that. |
Right now it is only possible to add new templated Documents to the Project Tree via the Add Item button. But the Project Tree context menu already allows adding new default items via the context menu.
It should be possible to select an available template right from the context menu.
Bonus points if the list of templates is available at the same level as the default documents in the context menu (as opposed to navigating to the “From Template” sub-menu). Perhaps in a section of its own separated by a horizontal bar?
The text was updated successfully, but these errors were encountered: