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 616120 - Links are not displayed if preceded by a unicode character in the containing note.
Links are not displayed if preceded by a unicode character in the containing ...
Status: RESOLVED DUPLICATE of bug 606022
Product: gnote
Classification: Applications
Component: main
0.7.x
Other Linux
: Normal normal
: ---
Assigned To: gnote-maint
gnote-maint
Depends on:
Blocks:
 
 
Reported: 2010-04-18 17:56 UTC by Johannes Dahl
Modified: 2010-09-03 20:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Johannes Dahl 2010-04-18 17:56:40 UTC
A word that coincides with the name of a note should be shown as a link to that note. This does not happen if such a word is preceded by a unicode character, e.g. '€', anywhere in the note.

Try for yourself:

1. Create a note named "foo", containing the word "bar".
2. Create a note named "bar".
3. Observe that the word "bar" has turned into a link.
4. Write or copy the symbol '€' to the beginning of the note "foo".
5. Observe that the link "bar" has turned back into a plain text word. That should not happen.
Comment 1 Vincas Dargis 2010-08-05 13:41:10 UTC
"4. Write or copy the symbol '€' to the beginning of the note "foo"."

like this?

:begin note:
foo

€bar
:end note:

Either way, I've spammed a lot "€'s" in "foo" note and couldn't reproduce it with v0.7.3.
Comment 2 Johannes Dahl 2010-08-07 16:40:19 UTC
I just found that the offending symbol has to be on the same or preceding line as the link to affect it.

The way you wrote it in the comment, "€bar", loses the link even if I use some ASCII symbol instead of €, I think that's intended. Try writing "€ bar" and see if that reproduces this bug.
Comment 3 Vincas Dargis 2010-08-11 17:40:40 UTC
I could reproduce it in 0.6.2 (Ubutnu 10.04), but not in latest GIT 0.7.3.
Comment 4 Aurimas Černius 2010-08-11 17:52:02 UTC
> I just found that the offending symbol has to be on the same or preceding line
> as the link to affect it.
> 
> The way you wrote it in the comment, "€bar", loses the link even if I use some
> ASCII symbol instead of €, I think that's intended. Try writing "€ bar" and see
> if that reproduces this bug.


Try to reproduce this:
1. Create note "foo" this this live of text:
€€€€ bar boo

2. Create note, named "bar"

What should happen is word 'boo' become a link.

In case this happens, than it's the same bug, that have been fixed in v0.7.3.
Comment 5 Vincas Dargis 2010-08-11 18:07:33 UTC
In line "€€€€ bar boo" using 0.6.2 neither "boo" nor "bar" become a link.

Though everything works OK ("bar" is a link) in 0.7.3.
Comment 6 Aurimas Černius 2010-08-11 18:21:18 UTC
> In line "€€€€ bar boo" using 0.6.2 neither "boo" nor "bar" become a link.

Are there any text before that line?
Try deleting some €s and type them back. The idea is, that position of "bar" counting in bytes to be equal to position of "boo" counting in characters. € is 2-byte character on my machine.

> Though everything works OK ("bar" is a link) in 0.7.3.

I'm almost sure, that this bug is fixed in 0.7.3.
Comment 7 Vincas Dargis 2010-08-11 18:45:26 UTC
> The idea is, that position of "bar" counting in bytes to be equal to position of "boo" counting in characters.

Yes indeed, "€€ bar boo" made "boo" a link in 0.6.2. Still, it's OK in 0.7.3.
Comment 8 Johannes Dahl 2010-08-11 21:17:43 UTC
I'm experiencing this problem with 0.7.2 (on Ubuntu Lucid with the package from "gnote unstable" PPA). Great to hear that it's fixed in git, I'm looking forward to testing it out when 0.7.3 is released!
Comment 9 Aurimas Černius 2010-09-03 20:47:07 UTC
This bug have been already reported and is fixed.
But please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 606022 ***