Skip to content
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] Tags lost when renaming directories/folders #1166

Closed
jjisnow opened this Issue Mar 14, 2019 · 5 comments

Comments

Projects
None yet
2 participants
@jjisnow
Copy link

commented Mar 14, 2019

Expected behaviour

Tags present in a folder are kept

Actual behaviour

Tags deleted when renaming folders

Steps to reproduce

  1. Rename folder
  2. Look for tags on files under folder
  3. Curse at having to retag the files

Relevant log output in the Log panel

Expand

Information about the application, settings and environment

Expand

QOwnNotes Debug Information

General Info

Current Date: Fri Mar 15 08:22:26 2019
Version: 19.3.0
Build date: Mar 3 2019
Build number: 4192
Platform: windows
Operating System: Windows 7 SP 1 (6.1)
Build architecture: i386
Current architecture: x86_64
Release: AppVeyor
Qt Version (build): 5.11.3
Qt Version (runtime): 5.11.3
Portable mode: no
Qt Debug: 0
Locale (system): en_US
Locale (interface): empty
Enabled scripts: 0

@pbek pbek added the enhancement label Mar 14, 2019

@pbek

This comment has been minimized.

Copy link
Owner

commented Mar 14, 2019

Since notes can only be referenced by filename and path it certainly is impossible to maintain the tagging information if folders are renamed outside of QOwnNotes. Inside QOwnNotes it would be possible to implement it.

A quick fix for your needs would be to store the tags inside the notes (for example with one of the note tagging scripts in the script repository).

@pbek

This comment has been minimized.

Copy link
Owner

commented Mar 16, 2019

19.3.1

  • implemented preserving of note tag links when renaming note sub-folders

@pbek pbek added this to the 19.3.1 milestone Mar 16, 2019

pbek added a commit that referenced this issue Mar 16, 2019

@pbek

This comment has been minimized.

Copy link
Owner

commented Mar 16, 2019

There now is a new release, could you please test it and report if it works for you?

@jjisnow

This comment has been minimized.

Copy link
Author

commented Mar 16, 2019

Works for me! Thx.

@pbek

This comment has been minimized.

Copy link
Owner

commented Mar 16, 2019

Great, thank you for testing!

@pbek pbek closed this Mar 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.