When New document save location
is configured as /
, it will be completed as /Untitled
#10305
Closed
3 tasks done
New document tabs do not appear in notebooks with specific conditions
Is there an existing issue for this?
Can the issue be reproduced with the default theme (daylight/midnight)?
Could the issue be due to extensions?
Describe the problem
Notebooks can be configured to set the path where new documents are generated. The name of the setting is
New document save location
. By default, this is left blank, but if you specify only/
, there will be problems when creating a new document in that notebook.The problem occurs when a document is created directly under a notebook in DocTree using the
+
to the right of the notebook's name. A new document is created, but the document does not appear in the tabs. Normally, when you type in the name of the document, the corresponding tab does not exist.Also, when opening a document immediately below this new document in DocTree, the editor may be split. However, this behavior seems to depend on the state of the tabs when the document is newly created, and may or may not reproduce itself.
Expected result
It was quite a while ago that I made this setting, so I am not sure why I entered only
/
, but it seems that I probably wanted the default name of the document to be placed directly under the notebook, so I made this setting.Screenshot or screen recording presentation
Set the location of the new document to
/
in the notebook settings.Create a document from the icon next to the notebook in the Doc tree.
No corresponding tab is created for new documents.
If a document immediately below in the Doc tree is opened in this state, the editor will be opened in a split state. However, this seems to depend on the status of the previous tabs.
Version environment
Log file
I was monitoring
workspace/temp/siyuan.log
while reproducing this problem, but no specific logs were output.More information
I personally do not consider this to be a serious problem, as I have found that restoring the settings for this problem to their default values resolves the problem.
However, for a while I was restarting every time I created a new document without knowing that this setting was the cause.
The text was updated successfully, but these errors were encountered: