-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Templates folder: In "New >" menu, the hierarchy of templates is flattened #2491
Comments
I am not seeing any difference between OS7.1 and OS8 regarding which entries appear. Folders inside |
I can confirm that all entries in the templates part of the context menu are at the same level and do not follow the hierarchy of the Templates folder. This is the same as OS7.1. Not sure whether it followed the hierarchy in the past? Anyway, this is a separate issue to entries not appearing at all so needs to be raised in a separate report. |
I am not expecting empty folders or hidden files to show up, but templates files other docx templates elsewhere also shows up, so it is definitively strange (and a bit disruptive:..)
Another issue has been filed for the missing entries, and this has been edited to focus on the flattened hierarchy. |
Thanks for splitting the issues. Just had a look at the relevant code and files do not get added to template list if the list exceeds 32 items at the moment. Is that the case for you? Not sure why that limit was chosen - presumably to limit the size of the context menu. If the menu were not flattened then it would not be such an issue I guess. |
There are ten file templates in the data science directory, in total, including all subfolders In total, all folders and subfolders included, we have 31 templates files, so even if i slorped everything in the base folder without dividing it should appear i removed the data science folder (the one whose hierarchy is flattened), because it is unused and not to be used in the foreseeable future. |
It sounds like it is something to do the total number of templates then. Strange that it is less than The flattening of the hierarchy only applies to folders for me. i.e. all folders appear at the top level. Templates appear either in the top-level or in the submenu of the folder item. |
Ah... There seem to be a confusion here. My issue is that all folders are at top level. The files are in the right folders. "top level" were the words i was missing (non native english, my apologies)
So this would be the issue. Not being able to organize folders beyond top level the missing entries #2493 could be because folders are counted in the max items limit ? |
Yes, I checked the code again and the total number of items in the templates list, including folders, is compared to MAX_TEMPLATES. |
What Happened?
I have a folder in Templates which contains a folder named "data science", with:
The menu "New..." presents Supervised and Unsupervised along the other folder templates,
not in a menu below "data science" as expected.
Steps to Reproduce
place populated folders and subfolders in Templates
check via the "New" menu how they appear, and if anything is missing
Expected Behavior
Show all templates, respect hierarchy of templates
OS Version
8.x (Early Access)
Session Type
Secure Session (Wayland)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
No response
The text was updated successfully, but these errors were encountered: