-
-
Notifications
You must be signed in to change notification settings - Fork 417
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
[I] Path to note in link does not change #3200
Comments
That doesn't look like a correct note link. |
Do you have the same issue without portable mode? |
I just tried and can't reproduce your issue. I get a dialog that tells me that linked notes need to change... You never shared your settings. |
My omission, I thought the issue was specifically with the logic of the code itself. Here are my settings that I used for testing (I only changed the settings related to language and translation. I don't remember touching anything more significant).
|
I get this dialog window when I move I also tested this on It seems a bit convoluted to describe, but I hope you understand me. 😄 I also tried other options: If I try to insert a link to the note as a regular file using If I try to create a link using |
Ah, I see now. Currently, the mechanism only supports looking for notes that are linking to the moved note, not the other way around. This use case was more important, because you may not know anymore what linked to your note (meanwhile, you can also show the backlinks to notes). Would be a nice addition tho... QOwnNotes/src/entities/note.cpp Line 3418 in f9f73a4
|
I did some additional testing with different usage scenarios related to links and notes. I decided not to create another issue, as I think these are all part of the same problem: "broken links due to various actions with paths and notes". To summarize, the link remains valid if:
Additionally, I wanted to mention that when |
Yes, of course. There is no connection anymore.
Currently, you can do that with the backlink panel. |
Expected behaviour
I create a link in the note
./folder_1/note_1
to another note./folder_2/note_2
:When moving the note
./folder_1/note_1
to a higher or lower directory, for example, to./folder_1/subfolder_1/note_1
, the link path to the note should update to../../folder_2/note_2
to remain valid.Actual behaviour
The link path remains unchanged:
../folder_2/note_2
. As a result, the link becomes invalid and does not work.Steps to reproduce
./folder_1/note_1
and./folder_2/note_2
.The text was updated successfully, but these errors were encountered: