文件夹经过复制粘贴后,出现许多错误。文件夹含有许多子文件夹以及子子文件夹。
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 13k
- Forks
- 1.3k
- Avg merge
- 14h 3m
- Merged PRs (30d)
- 3
Description
OS Version (操作系统): Windows, Linux, macOS
VNote Version (Help - About VNote - Version: )(VNote版本): 2.2, d78e892d5cc etc..
Symptoms (表现):
How to Repro (如何复现):
出错提示为“请检查某某目录是否存在”。
打开文件夹后,发现有两个似乎同名的文件夹,其中一个在文件尾部含有一个空格。打开json文件,发现json文件并无异常,含有那个不含空格的文件夹名字。
曾经从一个笔记本复制文件夹到另一个笔记本。检查被复制的文件夹,好像没有出错提示。
似乎存在,如果文件夹结构复杂,拷贝粘贴后,会出错。
按理,就算多了一个文件夹,既然json文件正确,那么应该不会出现找不到文件的问题发生。
虽然它提示找不到文件,但vnote依然能展开子目录,并正确显示目录名,只是会有出错提示。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the copy-and-paste case with deeply nested folders on Windows, Linux, or macOS, then trace the folder-loading and path-validation logic. Done means copied folders open without a missing-directory warning and their names and hierarchy remain correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100