GNOME Bugzilla – Bug 494796
"to d" is magical for autolinking
Last modified: 2009-02-17 15:33:29 UTC
Please describe the problem: When a word ending with "to" precedes a note name beginning with "d" with a single space between, autolinking does not occur. When the preceding word is just "to" then both "to" and the note name are autolinked as one. Steps to reproduce: 1. create a note "dnote" 2. in another note, type "into dnote" as text 3. then for fun enter "to dnote" Actual results: The dnote in step 2 is not linked. And the dnote in step 3 is linked with the word to. Expected results: dnote by itself to be autolinked both times. Does this happen every time? Yes. Other information: It seems any characters can come before "to" and the note can be named anything as long as it starts with "d".
Created attachment 98744 [details] screenshot of wrong behavior
Created attachment 98745 [details] More wrong behavior If you have 2 spaces between "to" and "d" rather than one, then the problem disappears.
Also, I just compiled the latest version (or what i think to be the latest version) according to http://live.gnome.org/Tomboy/Developers and the problem still occurs.
Created attachment 98775 [details] different words, same wrongness
Comment on attachment 98775 [details] different words, same wrongness After further research, i realized this problem occurs because i had a note named "to do". I made a new note named "on top" and then auto-linking goes crazy for things containing "on t". So the problem seems to be with having a two word titled note, and then having a second note with the same first letter as the second word in the first note and a word before it ending with the first word in the first note's name.
Created attachment 99175 [details] testcase to show the faulty behavior of Trie.cs This bug should be renamed (or something similar), since the problem is just with note names that have a common prefix and suffix. If you have 'ab' and 'bc' then 'abc' will confuse it. This attachment replaces the Tester class at the end of Trie.cs.
Setting the default assignee and QA Contact to "tomboy-maint@gnome.bugs".
This should be looked at along with #350990
Marking this as dependent on bug 350990 as Doug suggested.
This may have been fixed with bug #323845, actually.
I can't reproduce in 0.13.5. Feel free to re-open if you can reproduce. Pretty sure this was a dupe of bug #323845. *** This bug has been marked as a duplicate of 323845 ***