After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 676649 - Linking not working properly
Linking not working properly
Status: RESOLVED NOTGNOME
Product: tomboy
Classification: Applications
Component: General
1.10.x
Other Linux
: Normal major
: ---
Assigned To: Tomboy Maintainers
Tomboy Maintainers
gnome[moved-to-github]
Depends on:
Blocks:
 
 
Reported: 2012-05-23 16:02 UTC by Hans
Modified: 2017-07-31 12:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tomboy debug for old system that works (16.26 KB, application/octet-stream)
2012-06-04 18:20 UTC, Hans
Details
Tomboy debug of new system that does not work (12.25 KB, application/octet-stream)
2012-06-04 18:29 UTC, Hans
Details

Description Hans 2012-05-23 16:02:07 UTC
Linking is not working properly within the text of notes.  For example, say there is a note titled "The Big Red Dog" and lets also have a second note named "The Big".  In a new note, we write in the text "The Big Red Dog".  As we are typing, "the big" gets hyperlinked first and then as we keep typing the hyperlink should change to "the Big Red Dog" as soon as the "g" is typed, but now it is not doing this so after I type in "the Big Red Dog" only "the big" is hyperlinked, not the desired "the big red dog".  The issue seems to be associated with the spaces.
Comment 1 Hans 2012-05-23 16:03:58 UTC
I am not sure if this is due to the new version of 1.10.2 tomboy or the new 12.04 ubuntu... but the same behavior is occurring on both of my laptops.  This was not happening when I had ubuntu 11.10.
Comment 2 Jared Jennings 2012-05-23 19:34:53 UTC
I can confirm the same thing.
From debug I see.
[DEBUG 15:33:53.476] Matching Note title 'big red' at 0-7...
[DEBUG 15:33:54.516] Matching Note title 'big red' at 380-387...
[DEBUG 15:33:54.807] Matching Note title 'big red' at 380-387...
[DEBUG 15:33:55.022] Matching Note title 'big red' at 380-387...
[DEBUG 15:33:55.167] Matching Note title 'big red' at 380-387...


The first line is where it matched "Big red"
The second line is where it matched "Big red dog"....
Comment 3 Hans 2012-05-24 03:37:07 UTC
So what do you think, should I revert back to a previous version of tomboy? Or should I wait for a patch?  This is really annoying, like 75% of my 2,000+ tomboy notes contain spaces, in this state my tomboy system is totally FUBARed.  How should I proceed?
Comment 4 Jared Jennings 2012-05-24 05:45:05 UTC
I was looking at the code today. I didn't find the cause, but I am investigating and if you can give us a week I would like to have a patch ready.
Comment 5 Hans 2012-05-24 18:18:11 UTC
Thanks for your help.  I really like tomboy, it is a wonderful system, this is the first time it has given me problems.  I look forward for your patch.
Comment 6 Hans 2012-05-24 18:22:21 UTC
Oh one more symptom of this problem.  I manually copy and paste my .tomboy file among my different laptops (through a shell script and dropbox).  Anyway, I still have one laptop using a previous version of linux (and perhaps a previous version of tomboy, I cannot confirm the version at the moment).  When I transfer the .tomboy file to the old ubuntu it will generate the proper hyperlinks. After generating the proper hyperlinks, I can then transfer the files to a 12.04 ubuntu and the proper links remain, but if I start typing and type a multi-word phrase the links generated in the new text is all screwed up.  

Not sure if that helps at all.
Comment 7 Jared Jennings 2012-05-24 18:55:59 UTC
If you run tomboy --debug you should see in the log the difference between the two systems when they are running the linking process.
Comment 8 Hans 2012-06-04 18:20:28 UTC
Created attachment 215571 [details]
tomboy debug for old system that works

ubuntu: 11.04
tomboy: 1.6.0-0ubuntu4
Comment 9 Hans 2012-06-04 18:29:00 UTC
Created attachment 215573 [details]
Tomboy debug of new system that does not work

ubuntu: 12.04
tomboy: 1.10.1-0ubuntu1
Comment 10 Jared Jennings 2012-06-05 21:48:07 UTC
Hum. An exception is being thrown.
[DEBUG 14:46:12.644] DoHighlight: null pointer error for 'the big'.
Comment 11 Hans 2012-06-05 21:58:56 UTC
Well I think that could make sense, although I am not intimate with the program at this level... What I mean is, it seems that the "null pointer error" should be occurring as "the big" is not a link to anything only "the big red dog clifford" contains the phrase "the big". So it is an incomplete link, it should not link.  This is normal behaviour as it is from the working properly debug log. 

Is there anyway this exception working on 12.04/1.10.1-0ubuntu1
Comment 12 Jared Jennings 2012-06-05 22:23:33 UTC
I spent a bit of time looking at the code and I still don't know exactly how it works. Needless to say I don't see the fix yet. I will look some more since I have your two logs.

Maybe Aaron or Sandy can be of more use than I :)
Comment 13 Hans 2012-06-15 03:54:52 UTC
Hello Tomboy Developers,

How is it going?  I was wondering if there has been any progress made on the linking/spacing issue, I am not sure what you guys are calling it.  I am still quite frustrated.  I have been looking into previous .deb of tomboy but unfortunately all the .deb's before 1.6 wont install on the latest distros.  Is there progress being made on this or should I start looking into downgrading my ubuntu so that I can get tomboy to work?  Do you think this issue will be solved in the next release of tomboy?

Thanks

Hans
Comment 14 Sridhar Dhanapalan 2012-09-01 06:41:29 UTC
Problem also exists in:

Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=853599

Ubuntu
https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/886742
Comment 15 André Klapper 2017-07-31 12:43:05 UTC
The Tomboy team has moved from GNOME Bugzilla to GitHub for bug reports and feature requests: 
      https://github.com/tomboy-notes/tomboy/issues/
Closing this report as NOTGNOME as part of Bugzilla Housekeeping (bug 781054) to keep tasks in one place. Please feel free to transfer this task to GitHub if this task is still valid in a recent Tomboy version. 
We are sorry for the inconvenience.