In 4.12 I fixed KNotes. It was totally unmaintained. So I decided to fix all bugs that I found, and improve it.
For 4.13 my focus was to port it to Akonadi. KNotes used KResources until now and in KF5 it will removed, so it was necessary to port it to Akonadi.

I did it in 4.13.
So I created a knotes-migrator for migrate old data to akonadi.
So no data lose

As you know we can put an alarm on a note but it was never displayed when knotes was not started.
With Akonadi we are able to create an “Agent”,. Now we have a new agent named “NotesAgent” which allows to inform you when a note sent an alarm.

In Knotes we can also send a note in network, NoteAgent is used to receive it too.

What are the others improvements ? Now we use “baloo” for searching notes.
As it uses same data as KJots we can see them in Kjots too.

I hope that it will motivate you to use it :)

Future:
I don’t have idea for the future yet :)
Feel free to send idea:)

Trackback

49 comments untill now

  1. Great work! You’re one of the “human” pillars of KDE!

    Is it possible to display a KNotes note on the desktop notes plasmoid?
    I think one of the next steps could be better integration with plasmoids.

  2. Thank you, Laurent :)

  3. MrPeacock @ 2014-03-12 11:39

    Hi,

    everytime i start kontact i have to migrate again. it seems the migrated data was not stored due a crash at exit.

    Thread 1 (Thread 0x7f6951219800 (LWP 1054)):
    [KCrash Handler]
    #5 0x00007f694f3ba186 in KComponentData::operator=(KComponentData const&) () from /usr/lib/libkdecore.so.5
    #6 0x00007f6950717cf5 in KXMLGUIClient::setComponentData(KComponentData const&) () from /usr/lib/libkdeui.so.5
    #7 0x00007f68ebdd65fd in ?? () from /usr/lib/kde4/kontact_knotesplugin.so
    #8 0x00007f68ebdd8ac5 in ?? () from /usr/lib/kde4/kontact_knotesplugin.so
    #9 0x00007f694f47a163 in KPluginFactory::create(char const*, QWidget*, QObject*, QList const&, QString const&) () from /usr/lib/libkdecore.so.5
    #10 0x00007f6950a72d78 in Kontact::MainWindow::loadPlugins() () from /usr/lib/libkontactprivate.so.4
    #11 0x00007f6950a73d99 in Kontact::MainWindow::initObject() () from /usr/lib/libkontactprivate.so.4
    #12 0x00007f6950a744e8 in Kontact::MainWindow::MainWindow() () from /usr/lib/libkontactprivate.so.4
    #13 0x0000000000403b0b in ?? ()
    #14 0x00007f694e703b05 in __libc_start_main () from /usr/lib/libc.so.6
    #15 0x0000000000403b98 in _start ()

    I’m usinf arch, so there is not more debug info i can provide.

  4. @Diego: Indeed I need to look at it. I know that kjots has plasma support but never see it working. I will investigate

    @MrPeacock: Interesting I will investigate it.

  5. Great News. It needed some TLC

  6. Would be fine to see knotes akonadi integration to relegate kjots to the attic as I really don’t see applications offering very similar functionality a good point for KDE PIM. Especially if both are shipped as standard components in main distributions.

  7. Notes as plasmoids would be very nice, as would be Kolab sync (I don’t know if that is already done). If set up in Kolab correctly, I guess this would bring shared notes and could be used as shared shopping list (e.g. for married couples, appartment-sharing students. etc)

  8. @Ian: “It needed some TLC” ?. What do you mean about TLC ?

  9. @MrPeacock: I commited a fix in 4.13 beta2.
    I hope that it will fix.

  10. I would love to see two things:

    - integration with desktop plasmoids
    - sync with owncloud (in order to backup and access them from mobile)

  11. @Laurent. sorry.. TLA (Three Letter Abbreviation) of “Tender Loving Care” :o )

  12. @Eric: if we have support for note owncloud (don’t know for the moment) it’s already done :)
    For desktop plasmoid I will investigate in 4.14

  13. @Ian: Ah ok :) If you have some ideas… :)

  14. Thanks you Laurent!!

    About wishes: :-)
    I would like to see some progress for tasks. From what I see they are currently not integrated in akonandi.
    Also the current “To-Do-list” approach is IMHO a little outdated and to complicated. For example the start and due date should be optional and not required for every little task (such as “buy milk”).

    Then I would like to see tags in notes/task on which application can filter on. For example you create a note for an email / URL / spreadsheet:
    So the mail note would show up in kmail, the URL-note in rekonq upon opening the website, and the the spreadsheet not in Calligra sheets.

  15. PS:
    Regarding tasks, so it also can be integrated with KTimeTracker, which currently uses its own task system.

  16. Alexander @ 2014-03-12 16:46

    AS a regular and happy KDE and KNotes user I just wanted to say “merci” for your maintainance.

    All the best

    Alexander

  17. @Richard @Laurent
    Tasks / Journal / Calendar (VCARD stuff) are all integrated into akonadi. However, I agree that there should be a nicer interface. In the past there was some work to update the tasks interface Zanshin but it seems to have stalled. Continuing development on that may be a way to meet the need.

    @Laurent
    As to ideas I have two:
    - The possibility of working with Patrick Ohly for smoother integration of syncevolution with Akonadi ( Syncevolution + Akonadi Wiki ) especially as it relates to providing a QT/Kde based interface and removing unnecessary Gnome/gtk/evolution dependencies. It will help mainly with syncing KDE PIM data, including notes (which it currently does on some Nokia phones) with cellphones.

    -The second is enabling Knotes/Kjots (akonadi) to talk to the Owncloud Notes API (See the two [KDE] entries on the Older Owncloud Wiki Page for GSOC/OPW ) as mentioned by @Eric

  18. KDEUSER56 @ 2014-03-12 18:54

    Hi,

    Great work!
    I would also vote for working on the plasma integration, it should be unified with plasma notes as much as possible imho. Otherwise it will be quite confusing to new users.
    Apart from that, the current notes look pretty outdated and do not fit the plasma style imho.

  19. Sorry forgot to close a link in second paragraph in original comment. Here it is again

    @Laurent
    As to ideas I have two:
    - The possibility of working with Patrick Ohly for smoother integration of syncevolution with Akonadi ( Syncevolution + Akonadi Wiki ) especially as it relates to providing a QT/Kde based interface and removing unnecessary Gnome/gtk/evolution dependencies. It will help mainly with syncing KDE PIM data, including notes (which it currently does on some Nokia phones) with cellphones.

    -The second is enabling Knotes/Kjots (akonadi) to talk to the Owncloud Notes API (See the two [KDE] entries on the Older Owncloud Wiki Page for GSOC/OPW ) as mentioned by @Eric

  20. For reference: notes already work with Kolab servers. Quite nice to have. ;)

  21. indeed notes with kolab server works fine I use it too

  22. MrPeacock @ 2014-03-12 23:35

    Thank you Laurent!
    As soon as new update in arch is, i will check it again.

  23. @Laurent.. welll… now you mention it. Not critical, just cosmetic and should work if in the preferences.
    I use knotes within Kontact and not many changes to the “Knotes Preferences” from the Kontact Settings Menu seems to have any effect. I’ve tried to increase the size of the icons and their colour but no changes take place. I can change the colour of individual notes icon from the right click context menu but thats it.

  24. @Ian: I don’t understand what do you try to change ? In global preference it change size for knotes as standalone not in kontact. We can’t change size of icon. Color it’s global color. So for new note. Not for individual note, you can do it in preference for note

  25. @Laurent. If you use the Kontact/Settings/Knote Preferences, it allows you to change these “things”, maybe it should be removed if it can’t be changed in Kontact. The notes icons showing each note, in my opinion, too small to really really the note description and thats why i’d like to be able to resize the icons

  26. Icons in kontact will not show description. So I can allow to configure size but you never see what there is in note.
    It’s difficult to hide some feature in global preference because we don’t know when we are in kontact or standalone. But I will take note.

  27. @Laurent. I meant title of the note, not description, sorry. Is there no messaging between KDEPIM apps to interrogate if they were launch stand-alone or by Kontact?
    On the global setting, it needs an “Apply” button because if you make a change and then want to move to the next configuration section, it pops up an message to apply the change before moving.

  28. @Ian: Indeed icon title is limited to 50 characters (hardcoded). You need more ? I can make configure icon size but how it will fix you problem ?

  29. @Laurent. No sure what the best solution is. In a perfect world, i’d be able to resize the icon like we can on the plasma desktop so the title shows more characters as the icon gets bigger. That might be a little too powerful a solution for Knotes unless there is already a function that already allows that. I think 10/12 characters would be enough to see the title of the note but if there is a hover function (or tool tip) that can display the whole title or whole note or both.

    :o )

  30. “but if there is a hover function (or tool tip) that can display the whole title or whole note or both.” it’s already implement but totally buggy. I will replace old code by tooltip directly as in KMail.

  31. Sounds great. thanks

  32. @Ian: I commited in knotes 4.13

  33. Thanks Laurent, i’ll download as soon as its available or is i get my other machine running, i’ll download the beta

  34. it will be in 4.13 rc1 4.13 beta 2 was tagged the 12 march.

  35. How can you manualy run knotes-migrator?

    I managed to click “Skip” when aksed to migrate after upgrading to Kubuntu 14.04, so now I’m left with my old notes.ics file, but no notes in Knotes/Kontact.

  36. @kjetil: rm -f ~/.kde/share/config/knotes-migratorrc
    after launch knotes-migrator

  37. Hello Laurent,

    After migrating the notes I have no notes anymore.
    What can I do?

    PHilip

  38. Did you look at in systray-knotes => configure -> collections and activate them ?

  39. @laurent: Yes.
    I think the migration start, but doesn’t work properly

  40. @Laurent – thanks for the changes to Knotes, much nicer now.

  41. Hello!

    I have exactly 33 notes in my ~/.kde/share/apps/knotes/notes.ics … some with html-encoded formats, some with strictly private content. Non were converted. How can I run/debug the conversion again?

    In addition, I now have 5 “collections” aktivated, (all initially empty) … do I need all those? How / where can I delete the surplus?

    Need help
    Holger

  42. @holger: it’s fixed in 4.13.1. I fixed conversion.
    you can delete it in akonadiconsole directly

  43. OK, got rid of surplus collections. Still nothing converted … eagerly waiting for 4.13.1 to show up in my package manager.

    BTW: Are you also developing the “Leave me a note”-Plasmoid to put on the screensaver?

    - With desktop-design “Oxygen” it features white text on yellow background.
    - It allows pasting the last clipboard contents transparently through the screensaver (security risk)
    - I cannot resize it (also edited ~/.kde/share/config/plasma-overlay-appletsrc), It just snaps back to its default size.
    - It won’t accept text from the on-screen-keyboard-plasmoid which might by itself also be broken to not accept mouseclicks.

  44. Dr Dreyeth @ 2014-05-15 20:50

    Knotes is a wonderful application best note taker on linux

    Though with Akonadi you might as well have ported it to Java
    it would be lighter with the whole VM setting in memory.

    Now I get the joy of Akonadi open all the time, since knotes now requires it. xD

    God I’m going to get flame for this.

  45. Dr Dreyeth @ 2014-05-15 22:24

    What does Akonadi do any way? Does it load a portable copy
    of the Library of Congress into memory and stuff it into
    MySQL databases?

    Now that would be a useful feature, especially if it can be saved to the hard drive and the offending process terminated.

    Atleast we’ll not have to go through another catastrophe like the burning of the Library of Alexandria.

    Every KDE user has a copy of the sum total of all human knowledge loaded into memory called Akonadi.

    And if they’ve avoided that up to this point, but they are a sticky note user, its going to load now, and they’re going to be doing their civic duty preserving the entire legacy of mankind whether they want to or not.

    It is still possible that the same bug could destroy everyones copy, can we have redundant in memory snap shots?

    —————————-

    Sorry all nighter and lots of caffeine. O_o
    I like how you’ve tweaked the user inferface for knotes
    they look much cleaner.

  46. I stored some important information in knotes and now since 4.13 it locks up on migrating and I cannot access my data. How can I get my data? I’m not as concerned with knotes working properly as I am getting my data. Please help.

  47. It’s exciting about the integration, organization, searching and general attention you put into knotes.

    At the same time, I bet a lot of people would love a lite version of knotes and kmail and all things PIM with their personal data stored outside a database in simple flat files on the local file system. Simplicity, speed and data accessable with a file manager and text editor are also important features.

  48. @Vayu: Install 4.13.1 it’s fixed.
    Regards

  49. Thanks!

Add your comment now