Public bug reported:

After noting that the Tomboy screenlet wasn't showing all my notes, I
started digging...

THE PROBLEM:
Tomboy screenlet v0.1 (bundled with 0.1.2-7 on my 9.10/Karmic system) looks for 
notes in ~/.tomboy. This path is hard-coded in 
/usr/share/screenlets/Tomboy/TomboyScreenlet.py and used unless $TOMBOY_PATH is 
set in the environment. But Tomboy 1.0.0, which supposedly shipped with Karmic, 
stores its notes in ~/.local/share/tomboy (see: 
https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/580333).

A WORKAROUND:
Since I had upgraded from an earlier release, Tomboy 1.0.0 helpfully left 
behind a message in a file named "YOUR_NOTES_HAVE_MOVED!" in the old notes 
directory, ~/.tomboy. This gave me the idea to move the old notes directory out 
of the way (renamed it to ~/.tomboy__old), then creating a symbolic link to 
~/.local/share/tomboy in place of ~/.tomboy. After quitting and re-launching 
the Tomboy screenlet, the screenlet shows the correct notes.

POSSIBLE PERMANENT FIX:
I'll look into creating a patch to test the output of 'tomboy --version' and 
choose the notes directory appropriately. As a disclaimer, I'm terrible about 
starting projects (even simple ones) and not finishing them.

OTHER ISSUES:
The Tomboy screenlet still seems to require a quit/re-launch to update the list 
of notes if any are added/deleted, but that's for another bug report.

** Affects: screenlets
     Importance: Undecided
         Status: New


** Tags: screenlets tomboy upgrade-to-karmic

-- 
Tomboy screenlet uses wrong (old) notes directory for Tomboy 1.0.0
https://bugs.launchpad.net/bugs/597252
You received this bug notification because you are a member of
Screenlets Dev Team, which is subscribed to Screenlets.

_______________________________________________
Mailing list: https://launchpad.net/~screenlets-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~screenlets-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to