Menu

Add-on relased : Bookmarks

lilive
2018-02-16
2021-03-20
1 2 > >> (Page 1 of 2)
  • lilive

    lilive - 2018-02-16

    Hi,

    I have packed some simple scripts I wrote into an add-on. The goal is to add bookmarks to nodes, and to easily navigate beetween them.

    The add-on is here.

    Let me know what you think !


    I really enjoy this possibility to customize Freeplane with simple scripts like that. Convert them to an add-on was quite easy. Thanks to the developers!

    However, I still have some problems. Perhaps you have seen my translations questions, here and here.
    Another problem is that I need a way to store the map display state (folding and visibility) somewhere to retrieve it later. For now, I store it in the map storage ( map.getStorage() ). I take care to erase it after use, but the downside is that it is still possible to save these datas within the .mm file in some cases. Not so great. Perhaps someone can point me to a better idea ? Thank you.

     
    👍
    1
    • Fredcl

      Fredcl - 2018-02-27

      Hi

      I like the idea and it works fine !
      Thanks for sharing the add on.

       
  • sfpcom

    sfpcom - 2018-02-16

    Hi lilive
    I tried to install the addon but my pc generated the error 0x80004005. Any suggestion what about it?
    Regards
    SFPC

     
    • lilive

      lilive - 2018-02-17

      Hi,

      I'm glad you want to try the add-on. Thank you for the feedback.

      I just read some documentation about this error code. This seems to be a general windows error which can happens in many cases. So here's what came to my mind:

      Can we check the installation method ?
      - Have you opened the good file with Freeplane ? The file to open to install the add-on is "bookmarks.addon.mm"
      - Have you properly decompressed the zip file before opening this file ? The decompression (or extraction) must create a new folder in your hard drive, which contains somes files. You can now open this folder and open "bookmarks.addon.mm".

      Are they some others details in the error message you've got ?

      Thank you if you can try again or answer me. I'm not pleased to discover an installation problem !

       

      Last edit: lilive 2018-02-17
  • sfpcom

    sfpcom - 2018-02-17

    Hi lilive, the porblem was with my system, so the addon is working, it creates a new menu where to manage the bookmarks. Only my suggestion to move in order to utilize svg icon in order to resize them from FP.
    Thanks
    SFPC

     
    • lilive

      lilive - 2018-02-17

      Nice :)

      You made me realize that Freeplane can use SVG icons. The add-on now use an SVG one. Check the last version.

      I don't know how to make the add-on update to remove the old bookmark.png file. You have to manually delete in your FP user directory. Sorry for that.

       

      Last edit: lilive 2018-02-17
  • quickfold

    quickfold - 2019-01-26

    I'm coming from this thread: https://sourceforge.net/p/freeplane/discussion/758437/thread/e4b09b64/#20d0/c839

    I was able to install it and this time it worked! Thanks!

     
    • lilive

      lilive - 2019-01-26

      Cool. Thanks for the feedback :)

       
  • Volker Börchers

    Hi lilive,

    congratulations for your add-on!

    If you install a new version of an add-on the installer takes care of uninstalling the old version (including the icons if you named them under "deinstall") first, so if you switch from .png to .svg then the .png should not be left over. BTW the SVG is not shown for me with Freeplane 1.7.4

    Regards
    Volker

     
    • lilive

      lilive - 2019-01-28

      Hi Volker,
      Thank you.
      And thank you too for your clarifications about the addon update process, I understand better now.

      BTW the SVG is not shown for me with Freeplane 1.7.4

      What do you mean ? The addon svg icon doesn't display ?
      I'm confused with the actual Freeplane version. I believe I use the current stable 1.7.3, and the development version is 1.7.5, according to the links in the wiki home page and the sourceforge files. Where is the 1.7.4 ?

       
      • zipizap

        zipizap - 2019-01-28

        1.7.4 - I recall from another forum-thread that Dimitri explained 1.7.4 had
        some bugs, and so 1.7.5 came in :)
        All the development happened very fast :)

         

        Last edit: Volker Börchers 2019-02-15
        • lilive

          lilive - 2019-02-15

          Ok. Thank you zipizap.

           
      • Volker Börchers

        BTW the SVG is not shown for me with Freeplane 1.7.4

        What do you mean ? The addon svg icon doesn't display ?

        Yes it doesn't. I checked it with the official 1.7.5. Does it work for you with a clean install i.e. without the old .png in the user directory?

        Volker

         
        • lilive

          lilive - 2019-02-15

          Yes it work for me. To be sure I have deinstalled freeplane, erased my user_dir/Freeplane directory, reinstalled Freeplane 1.7.5, installed the bookmark addon, and the bookmark icon is present and work as expected.
          Have you got "bookmark.svg" in your icons user directory after the addon installation ?

           
          • lilive

            lilive - 2019-02-16

            Another dumb tought: have you checked "use SVG icons" in the Appearence tab of Tools > Preferences ?

             
  • Volker Börchers

    Yes, it's checked. But nevermind. If I am the only one that has this problem then it's ok - I can help myself ;-)

     
  • sfpcom

    sfpcom - 2019-02-17

    Hi, it happened that reading your thread I got a doubt, please have a look to the bug I submitted: #2663 FP 176 02 messing icons names , maybe your issue is something similar, the bookmark icon changed name and inherited a different shape... just a thought.
    Regards
    SFPC

     
  • lilive

    lilive - 2019-07-06

    Hi,

    I'm back after been busy elsewhere.
    Thanks for the input sfpcom.

    I've released a totally new version. A major improvement is that you can assign keyboard shorcuts to bookmarks, to make them really easy to reach.

    If you want to have a look, it is in the development branch: https://github.com/lilive/Freeplane-Bookmarks-add-on/tree/devel
    There is a gif to show it in action.

    I'm really curious about feedbacks.
    The disclaimer chapter in the readme expose some doubts I have regarding to the code.

     
    • Bal Simon

      Bal Simon - 2019-07-06

      I tried to install it but got a "could not open" message. I'm not sure if it's your file or my computer.

      ~ Bal

       
      • lilive

        lilive - 2019-07-06

        Which installation method do you use ?
        If you download the zip, make sure to really decompress it before trying to open "bookmarks.addon.mm" with FreePlane. This may cause problem if you don't.

         
        • Bal Simon

          Bal Simon - 2019-07-06

          I used the other method: I right-clicked and saved bookmarks.addon.mm and then double-clicked that file, which activated the Freeplane window and delivered the error message.

           
          • lilive

            lilive - 2019-07-06

            You made me realize this method doesn't work. The downloaded file has the right name, but not the right content. I have updated the installation instructions, you can try again. Thanks for the feedback.

             
  • sfpcom

    sfpcom - 2019-07-06

    Hi lilive, I tried your new bookmarks version 0.5.0, I have 2 notes about it:
    1) the addon is utilizing the bookmark.svg icon but it again is overlapping the previous original one named excellent (a star), to see the star I have to cancel the bookmark.svg, why do you not try to put it in a subfolder in this way changing the path and the icon name?
    2) basically I prefer the previous commands menu what about you create a richer menu as 0.4.2 + 0.5.0?
    KR
    SFPC

     
    • lilive

      lilive - 2019-07-06

      Thanks for the feedback sfpcom

      1) I've forgot this problem. Yes, this must be fixed. I didn't know that it is possible to make icons subfolders, I will try. Or I can just change the name of the file, something like addon_bookmark.svg maybe ?

      2) I can easily add again the "Jump to previous bookmark" and "Jump to next bookmark" commands. But I don't know about the "Display only bookmarks / Return to previous view" command. The problem here is that I was using the local storage map to save the folding state of each node in the map, but I'm not happy with this solution for 2 reasons :
      - these datas may be written in the map file if the user save it when it is in "display only bookmarks" mode. This means quite a lot of data for large maps.
      - the map is modified even if the user just open it to read it and use this command. Then, FreePlane ask to save the file because it was changed.
      I don't find other solutions than locale storage map to keep persistents datas between the "Display only bookmarks" and the "Return to previous view" commands.
      Any tips ?

       
  • sfpcom

    sfpcom - 2019-07-07

    Hi lilive, I appreciate your efforts:
    1) changing the name is enough just not to overlap existing icons.
    2) I agree with you if you add the jump to previous and to next it would be optimal, instead the filtering is not strictly necessary because I can stabilize it with the filters, and saving data for a map is a priority, so I ask you not to add it.
    Thanks
    KR
    SFPC

     
1 2 > >> (Page 1 of 2)