Closed nkahe closed 9 months ago
Like I said, please best open an issue on https://github.com/qownnotes/scripts/issues and mention the maintainers of the script there 😉
Like I said, please best open an issue on https://github.com/qownnotes/scripts/issues and mention the maintainers of the script there 😉
Ok, I'll close this one.
Expected behaviour
When using "Wiki Links" script by @dohliam and having note in sub-folder, for example /foo/source.md and when making a Wiki link which points to note which is in that folder's sub-folder, for example /foo/bar/target.md like this:
[[/bar/target]]
Clicking it should show the note without a pop up if the file already exists.
Actual behaviour
I see pop up telling
Even though the file is there. It shows it correctly if I select "Yes".
There is an option to "Don't ask again" but I think it's still an issue.
Steps to reproduce
[[/bar/target]]
This can be repeated with same result.
Relevant log output in the Log panel
Expand
``` [15:45:23] [status] No script updates were found [15:45:37] [status] Stored current note to disk [15:45:52] [status] Stored 1 note(s) to disk [15:46:01] [status] Stored current note to disk [15:46:02] [status] Stored 1 note(s) to disk [15:46:12] [status] Stored 1 note(s) to disk [15:46:40] [warning] Wayland does not support QWindow::requestActivate() ```Information about the application, settings and environment
Expand
QOwnNotes Debug Information =========================== ## General Info **Current Date**: `su jouluk. 31 15:48:00 2023` **Version**: `23.12.4` **Build date**: `Dec 26 2023` **Build number**: `1069` **Platform**: `linux` **Operating System**: `Fedora Linux 39 (Thirty Nine)` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `OBS` **Qt Version (build)**: `5.15.10` **Qt Version (runtime)**: `5.15.11` **Portable mode**: `no` **Settings path / key**: `/home/henri/.config/PBE/QOwnNotes.conf` **Application database path**: `/home/henri/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite` **Application arguments**: `/usr/bin/QOwnNotes` **Qt Debug**: `0` **Locale (system)**: `en_US` **Locale (interface)**: *empty* **Primary screen resolution**: `2560x1440` **Screen resolution(s)**: `2560x1440, 2560x1440` **Icon theme**: `breeze-dark-qownnotes` **Notes in current note folder**: `228` **Calendar items**: `11` **Enabled scripts**: `10` ## Server Info **serverUrl**: *empty* **appIsValid**: `no` **notesPathExists**: *empty* **connectionErrorMessage**: *empty* ## Spellchecking **Enabled**: `false` **Selected language**: `auto` **Language codes**: `en_AG, en_AU, en_BS, en_BW, en_BZ, en_CA, en_DK, en_GB, en_GH, en_HK, en_IE, en_IN, en_JM, en_MW, en_NA, en_NG, en_NZ, en_PH, en_SG, en_TT, en_US, en_ZA, en_ZM, en_ZW` **Language names**: `English (Antigua & Barbuda), Australian English (Australia), English (Bahamas), English (Botswana), English (Belize), Canadian English (Canada), English (Denmark), British English (United Kingdom), English (Ghana), English (Hong Kong SAR China), English (Ireland), English (India), English (Jamaica), English (Malawi), English (Namibia), English (Nigeria), English (New Zealand), English (Philippines), English (Singapore), English (Trinidad & Tobago), American English (United States), English (South Africa), English (Zambia), English (Zimbabwe)` **Application dictionaries path**: `/home/henri/.local/share/PBE/QOwnNotes/dicts` ## Note folders **currentNoteFolderId**: `2` ### Note folder `Local notes` **id**: `2` **isCurrent**: `yes` **activeTagId**: `-1` **localPath**: `/home/henri/Documents/notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `yes` **isUseGit**: `yes` **allowDifferentNoteFileName**: `no` **activeNoteSubFolder name**: `bar` **database file**: `/home/henri/Documents/notes/notes.sqlite` ## Cloud connections ### Cloud connection `RaspberryPi` **id**: `1` **isCurrent**: `yes` **serverUrl**: *empty* **username**: *empty* **accountId**: *empty* ## Enabled scripts ### Script `Custom note preview styling` **id**: `1` **path**: `/home/henri/.local/share/PBE/QOwnNotes/scripts/preview-styling/preview-styling.qml` **variablesJson**: ``` { "customStylesheet": "body.preview {\n margin: 1em;\n margin-top: 50px;\npadding-top: 30px;\n}\n\nh1 {\n margin-top: 0.4em;\n}\n\nh2 {\nmargin-top: 0.7em;\n}\n\nli {\n line-height: 1.2;\n}\n\np {\n line-height: 1.1;\n margin-right: 1em;\n}" } ``` **identifier**: `preview-styling` **version**: `0.0.5` **minAppVersion**: `20.6.0` ### Script `Checkbox preview and export` **id**: `8` **path**: `/home/henri/.local/share/PBE/QOwnNotes/scripts/export-checkboxes/export-checkboxes.qml` **variablesJson**: *empty* **identifier**: `export-checkboxes` **version**: `0.0.4` **minAppVersion**: `20.6.0` ### Script `Favorite note` **id**: `9` **path**: `/home/henri/.local/share/PBE/QOwnNotes/scripts/favorite-note/favorite-note.qml` **variablesJson**: *empty* **identifier**: `favorite-note` **version**: `0.0.1` **minAppVersion**: `17.05.6` ### Script `Fix list numbers` **id**: `10` **path**: `/home/henri/.local/share/PBE/QOwnNotes/scripts/fix-list-numbers/fix-list-numbers.qml` **variablesJson**: *empty* **identifier**: `fix-list-numbers` **version**: `1.0.0` **minAppVersion**: `18.04.3` ### Script `Custom user interface styling` **id**: `2` **path**: `/home/henri/.local/share/PBE/QOwnNotes/scripts/custom-stylesheet/custom-stylesheet.qml` **variablesJson**: ``` { "customStylesheet": "QListView::item:selected:hover, QListView::item:selected:hover, QTreeView::item:selected:hover, QTableView::item:selected:active, QTreeView::item:selected:active, QListView::item:selected:active, QWidget:item:selected {\n background: #1b5b55;\n color: white;\n selection-color: white;\n}\n\nQWidget {\n selection-background-color: #1b5b55;\n selection-color: white;\n}" } ``` **identifier**: `custom-stylesheet` **version**: `0.0.2` **minAppVersion**: `17.05.7` ### Script `Backlinks Script` **id**: `3` **path**: `/home/henri/.local/share/PBE/QOwnNotes/scripts/backlinks/backlinks.qml` **variablesJson**: ``` { "triggerOnPreview": true } ``` **identifier**: `backlinks` **version**: `0.0.1` **minAppVersion**: `20.4.18` ### Script `Wiki Links` **id**: `4` **path**: `/home/henri/.local/share/PBE/QOwnNotes/scripts/wiki-links/wiki-links.qml` **variablesJson**: ``` { "wikilinksBackgroundColor": "#FFFF00", "wikilinksForegroundColor": "#ff832b", "wikilinksHideSubfolder": true, "wikilinksLowerCase": false, "wikilinksRemoveSpaces": true, "wikilinksReplaceSpacesSymbol": "-", "wikilinksSanitizeFilename": true } ``` **identifier**: `wiki-links` **version**: `0.0.1` **minAppVersion**: `20.6.0` ### Script `External note open` **id**: `5` **path**: `/home/henri/.local/share/PBE/QOwnNotes/scripts/external-note-open/external-note-open.qml` **variablesJson**: ``` { "executablePath": "kate" } ``` **identifier**: `external-note-open` **version**: `1.0.0` **minAppVersion**: `18.05.4` ### Script `List maker` **id**: `6` **path**: `/home/henri/.local/share/PBE/QOwnNotes/scripts/list-maker/list-maker.qml` **variablesJson**: ``` { "setLetters": "abcdefghijklmnopqrstuvwxyz", "setMarkers": "- • ‣" } ``` **identifier**: `list-maker` **version**: `0.1.2` **minAppVersion**: `17.07.8` ### Script `Headline depth buttons` **id**: `7` **path**: `/home/henri/.local/share/PBE/QOwnNotes/scripts/headline-depth/headline-depth.qml` **variablesJson**: *empty* **identifier**: `headline-depth` **version**: `0.0.2` **minAppVersion**: `17.07.8` ## Settings **AboutDialog/geometry** (QByteArray): `