GNOME Bugzilla – Bug 588807
Feature request: protect notes
Last modified: 2013-08-22 21:32:05 UTC
Tomboy has a nifty feature which I use all the time. It let you protect a designated note from being inadvertently changed. Many of my notes include phone numbers, urls, scraps of code, etc., that are, in effect, critical strings of data. I found that I would often accidentally corrupt a note by searching or editing. With a Lock/Unlock feature, I can know for sure that no note will be changed unless I intentionally change it. Thanks very much.
I have never seen that feature in Tomboy. Are you sure it has it?
Yes. The Lock/Unlock Note feature is found under the Tools icon on the menu bar. This feature has been in Tomboy for some time now. I'm the one who requested it. You can look at the bug/feature request here: http://bugzilla.gnome.org/show_bug.cgi?id=562157 As I read over the Tomboy bug description and comments, I'm wondering now if it was released as an add-in for Tomboy rather than as a regular feature. Regardless, I find it invaluable, and I can use Tomboy with much more confidence. It's the only feature that is keeping me from switching over to GNote!
That's why I couldn't find it. It is a third-party addin.
O.K. I regret that I don't have the skills to port or recode the add-in so that gnote could use it. What you've done with gnote is excellent, by the way.
This link has pretty good info about how the add-in was done for Tomboy. http://bayu.freelancer.web.id/2008/12/13/tomboy-addinread-only-note/
Created attachment 171141 [details] [review] Added ReadOnly addin Here is a first attempt. The code is not ready because of a few bugs that I have not had the time to debug: + Even after marking a note as read-only, one can click in the middle of a sentence and hit enter. + Gnote sometimes crashes when the "Read Only" check button is toggled.
Review of attachment 171141 [details] [review]: I have committed a a patch to git. Addin categories changed from string to integer constants. This patch need to be updated accordingly. Also see Bug 620013. Should we really use `lib' prefix for addins?
Created attachment 192943 [details] [review] Added ReadOnly addin. Edited the patch for current Gnote. The are several issues present, when marking note as readonly: 1. Pressing Enter in bulleted list works 2. Tab/Shift+Tab works in bulleted list 3. All text manipulation commands (bold and others) work So, to make this add-in work well, we need to somehow rethink, how all these actions are implemented.
I've decided to include this addin in the next release. The problems mentioned above are still present, will try to get them fixed until the final release.