QOwnNotes icon indicating copy to clipboard operation
QOwnNotes copied to clipboard

[BUG] Note Relations does not identify all forms of note links

Open mdealencar opened this issue 7 months ago • 1 comments

Expected behaviour

Any link to a note would show up in the Note Relations graph.

Actual behaviour

Only links in the form <My%20Note.md> or [My Note](My%20Note.md) are included in the graph.

The forms <note://My-Note> and <My Note.md> work fine for other purposes, but are not included in the graph.

Steps to reproduce

Create a My Note.md note and add <note://My-Note> and <My Note.md> to another note. Notice that Note Relations does not show My Note in the graph.

Relevant log output in the Log panel

Expand

Information about the application, settings and environment

Expand

QOwnNotes Debug Information

General Info

Current Date: Wed Apr 30 12:57:01 2025 Version: 25.4.5 Build date: Apr 27 2025 Build number: 1179 Platform: windows (windows) Operating System: Windows 10 Version 2009 Build architecture: x86_64 Current architecture: x86_64 Release: GitHub Actions Qt Version (build): 5.15.2 Qt Version (runtime): 5.15.2 Portable mode: no Settings path / key: \HKEY_CURRENT_USER\Software\PBE\QOwnNotes Qt Debug: 0 Locale (system): en_CA Locale (interface): en Primary screen resolution: 1920x1080 Screen resolution(s): 1920x1080, 1080x1920 Icon theme: breeze-dark-qownnotes Notes in current note folder: 923 Calendar items: 0 Enabled scripts: 1 Database drivers: QSQLITE, QODBC, QODBC3, QPSQL, QPSQL7

Enabled scripts

Script Note stats

id: 1 path: C:\Users\s213184\AppData\Roaming\PBE\QOwnNotes\scripts\note-stats\note-stats.qml variablesJson:

{
    "charSpaceName": "Chars",
    "readTimeName": "Reading time",
    "readTimeRate": 300,
    "wordsName": "Words"
}

identifier: note-stats version: 0.0.2 minAppVersion: 17.06.3

mdealencar avatar Apr 30 '25 11:04 mdealencar

Yes, those links are not supported by https://github.com/pbek/QOwnNotes/blob/6616e27a87808013ef2a9a90f70521f6a1792b3d/src/entities/note.cpp#L3221-L3260 (yet).

pbek avatar Apr 30 '25 13:04 pbek