Skip to content

Moving/copying a note to sub-folder #289

Closed

Description

@Maboroshy

I don't know if it's a question or an enhancement request.

I haven't yet found a way to copy a note to a sub-folder from within the app.
Is there any, or is it in plans?

Maybe if there's no drag-n-drop there is going to be some clipboard-like moving/tagging.

Activity

  1. added
    Type: Feature
    on Aug 14, 2016
  2. mate201 commented on Aug 15, 2016

    @mate201

    No doubt, this is a very wanted feature, at least for me.

  3. added this to the 16.08.10 milestone on Aug 15, 2016
  4. pbek commented on Aug 15, 2016

    @pbek
    Owner

    16.08.10

    • now you can copy and move notes to a note subfolder from the note
      context menu
  5. pbek commented on Aug 15, 2016

    @pbek
    Owner

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

  6. Maboroshy commented on Aug 15, 2016

    @Maboroshy
    ContributorAuthor

    Your development speed doesn't stop to surprise me.
    The app tells me that tagging will be lost. But I guess that's not true for sub-folders.

  7. pbek commented on Aug 15, 2016

    @pbek
    Owner

    Eleven releases in August already, weather really has to suck in Graz. :)

    Moved / copied notes will not be tagged. That would be a hell to implement because notes can be renamed in the background while moving or copying... I'm not planning to go into that hell.

  8. Maboroshy commented on Aug 15, 2016

    @Maboroshy
    ContributorAuthor

    I'm working in the same direction now with Bash-note developing the idea of filesystem-based note tagging. It's hell for real. My head was exploding all the weekend and I've made very little code in the end.

    If the moving or copying is the only problem I'd go for storing note hashes in the tag db you use. My case is much worse since I want to make portable tagging without any kind of a stored db.

  9. pbek commented on Aug 15, 2016

    @pbek
    Owner

    But filesystem-based tagging will just work on that particular system with that filesystem, won't it?

  10. Maboroshy commented on Aug 15, 2016

    @Maboroshy
    ContributorAuthor

    It's not some xattr based thing, that would be too easy and not really portable exactly as you say.

    I want hardcore plain text only tagging by using in-file markdown-like tags not shown in render and a script that make it all spinning.

    So you can tag the note and it will appear in tag sub-directory, or copy it to sub-directory and it will tag itself. Even that is not hard with symlinks/hardlinks but my phone running Linux with ext4 don't really work with them for some reason.

    The hell begins when user makes a change to a file in tag sub-directory and you can't use symlinks to translate it to source directory. And then knowing it's the mess that can be resolved by some hackery user makes another change to the same file in another tag sub-directory and renames this file in third one. And the script will only see it all happened 5-6 hours later when files will be synced with Bash-note running machine,

    That's where my weekend was ruined.

  11. pbek commented on Aug 15, 2016

    @pbek
    Owner

    Oh man...
    You always have to value the experience you have gained.

  12. Maboroshy commented on Aug 16, 2016

    @Maboroshy
    ContributorAuthor

    The good thing is it's all going only in my head while I'm writing fancy scripts for fun.

  13. pbek commented on Aug 16, 2016

    @pbek
    Owner

    One cannot stretch the word "fun" enough. Fun is the most important part.

  14. mate201 commented on Aug 18, 2016

    @mate201

    Houston we have a problem ! I created a folder and move there a few notes, but then I try to move them back in "Note folder" (I think it's better to rename it to default folder) it doesn't work. Tested on windows 10. Copy is broken too.

  15. 15 remaining items

  16. mate201 commented on Aug 20, 2016

    @mate201

    Hi, sorry for delay with answer. Right now I'm testing it on Fedora 24,
    I can check it on windows 10 on monday. So, the create function seems to
    work fine, but then I delete newly created folders, changes do not shown
    in GUI. Physically folders are deleted correctly. If I use "Reload note
    folder" option, GUI refreshes and display correct folder existence.

  17. pbek commented on Aug 20, 2016

    @pbek
    Owner

    Did you use v16.08.15?

  18. Maboroshy commented on Aug 21, 2016

    @Maboroshy
    ContributorAuthor

    Deleting sub-folders works for me on Linux. Same as copying/moving.

    Could you make some overrides for the "you'll loose tags" dialog that pop-up even if note has no tags.

  19. pbek commented on Aug 21, 2016

    @pbek
    Owner

    @Maboroshy, thank you for testing.

    tags

    good idea

  20. pbek commented on Aug 21, 2016

    @pbek
    Owner

    16.08.16

    • the warning about tags when copying or moving notes to a note
      subfolder will now be only displayed if one of the selected notes has
      a tag assigned
  21. pbek commented on Aug 21, 2016

    @pbek
    Owner

    @Maboroshy, there now is a new release, could you please test it and report if the new features work for you?

  22. mate201 commented on Aug 22, 2016

    @mate201
  23. pbek commented on Aug 22, 2016

    @pbek
    Owner

    @aizikil

    First

    Which folder have you selected when you try to delete it?

    Second

    That even works with tags, very funny. :) Thank you for reporting!

  24. mate201 commented on Aug 22, 2016

    @mate201

    Folder "new". Thank you, for your outstanding support )

  25. pbek commented on Aug 22, 2016

    @pbek
    Owner

    😄

    I will try to reproduce that, thank you.

  26. pbek commented on Aug 23, 2016

    @pbek
    Owner

    @aizikil I created a note subfolder structure with notes, removed the top-most folder in QOwnNotes and the whole structure was gone. What did you do different?

  27. pbek commented on Aug 23, 2016

    @pbek
    Owner

    I can't fix your 2nd finding too easily, because you only can set the edit flag for the whole QTreeWidgetItem in Qt (with all its columns). But nothing bad happens when the text is edited, the tree just will refresh.

  28. mate201 commented on Aug 31, 2016

    @mate201

    Regarding second finding, I can say that, at least we know it !

    You need to create new folder, let's call it first, inside it, again,
    you need to create new folder let's call it second, and inside second
    folder you need to create third folder.

    • first
      • second
        o third

    Then you should try to delete first folder.

  29. pbek commented on Aug 31, 2016

    @pbek
    Owner

    I just created your folder structure with QOwnNotes and then removed the first folder in QOwnNotes. All folders were gone,

  30. pbek commented on Nov 18, 2026

    @pbek
    Owner

    Drag-and-drop copying/moving of notes to subfolders is implemented for 26.11.12 and tracked in #3854, including a Copy/Move menu, Ctrl/Shift shortcuts, and confirmations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions