[knotes] [Bug 335703] cannot create a sticky note by knotes

Wolfgang Bauer wbauer at tmo.at
Mon Jul 7 17:59:04 BST 2014


https://bugs.kde.org/show_bug.cgi?id=335703

--- Comment #18 from Wolfgang Bauer <wbauer at tmo.at> ---
(In reply to comment #14)
> Well, I understand this idea even though I find it confusing, moreover since
> after migration the correct resource has not been selected.
Well, this seems to be a problem, yes. 
But I tried now again, and the migration does not set a default collection for
saving notes.

OTOH, I tried on a fresh account as well with skipping the migration. In that
case no valid default collection is set.
Not even the default notes resource is enabled to show notes (same problem
exists in KOrganizer and KAddressbook, that's another bug that's already been
reported some time ago).

> I made some screen-shots that you can see how Akonadi and Knotes are
> configured. The one showing the Knotes setup-dialogue shows both resources I
> can choose from. The other two let you see, how they were defined, one is a
> maildir-resource the other a aknotes-resource. 
Are you sure?
It is named "Notizen", so I would guess that it's rather an akonotes resource.
But apparently it is pointing to your local mail folder. As akonotes resources
also store the notes in maildir format, this is absolutely valid. 

Your actual maildir resource is named "Maildir" according to your second
screenshot.

> But one thing gets obvious too, Akonadi seems to have severe problems with
> localization. The contact-resource exists three times even though only one
> is being displayed in Kontact.
AFAIK the resource's name is stored in the database as string. It doesn't get
localized when shown, just when the resource is created with the default name.
Since you can change the name to anything you like, it's not feasible to
localize it I'd say.

Btw, AFAIK the possibility to rename collections in knotes has been added for
4.14.
For now you have to use akonadiconsole for this. ("Browser" tab, right-click on
the collection and choose "Folder Properties")

> > You might want to file a separate bug report about this (i.e. that knotes
> > shows a maildir resource).
> 
> Shall I file a bug report regarding the aknotes-resource?
Well, if it is indeed an akonotes resource, it is no bug that knotes shows it.
How and why it got created the way it is, is a different question of course.

Maybe you had some stray configuration files laying around, or some garbage in
the database.

Just remove it in Systemsettings or akonadiconsole, the one named "Notizen"
that is.
Don't worry that you lose  your local mail, removing a resource does _not_
remove the data it stored.

But to recap, IMO this bug report boils down to two things:
- _no_ default notes collection is set automatically, when you skip the
migration (on a fresh user account f.e.). The user has to set one manually.
- knotes silently fais when you try to create a note and there is no default
collection set. It should tell the user about the problem, and maybe even show
a dialog to pick one in that case.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list