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 127388 - The text under the cursor is changed with the content of an other line
The text under the cursor is changed with the content of an other line
Status: RESOLVED FIXED
Product: mlview
Classification: Other
Component: General
unspecified
Other Linux
: Normal major
: ---
Assigned To: mlview maintainers
mlview maintainers
Depends on:
Blocks:
 
 
Reported: 2003-11-19 12:59 UTC by Sebastien Bacher
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The file of the test (12.33 KB, text/plain)
2003-11-19 13:00 UTC, Sebastien Bacher
Details
An example of the problem (20.06 KB, image/jpeg)
2003-11-19 13:02 UTC, Sebastien Bacher
Details

Description Sebastien Bacher 2003-11-19 12:59:23 UTC
I'm using a CVS snapshot (last entry of Changelog to have the CVS state) :

2003-11-19  Dodji Seketeli <dodji@gnome.org>
 
        * docs/release-notes-template.xml: updated this.
-----

After loading a .glade (with or without a DTD validation that doesn't
change) I've the trees of the file. I was moving the cursor on the tree and
had the feeling that some part of the text were "flashing" ... the text
under the cursor is sometimes replaced by the content of an other line/node !

The bugs happen in both "Elements" en "Raw XML" tabs with the file attached
to the bug.


Easy way to reproduce it:

* $ mlv
* don't pick a DTD
* scroll on the bottom of the tree
* select the last node (translator credit)
* move the mouse to the authors property 2 lines upper

=> the content is replaced with "translator_credits" witch is the content
of the node selected 2 lines lower.


More details:

* I've a lot of warning in the console:
(mlv:9340): Gtk-WARNING **: Failed to set cell text from markup due to
error parsing markup: Error on line 1 char 60: Odd character '@', expected
a '>' or '/' character to end the start tag of element 'dburrows', or
optionally an attribute; perhaps you used an invalid character in an
attribute name

* The replaced text is a blue "property" instead of a red text with the
value .. the content should be "Daniel Burrows <dburrows@debian.org>". I
assume the problem is due to the "@" according to the warnings 


BTW mlview should correctly parse the "@" or reject the node/file but not
have this behaviour (2 screenshot are attached, the problems is the line
between the 2 last "property" nodes)

I've set the priority to major because I've the feeling that the problem is
due to the "@" use, and seems to be an important bug to fix before the next
release.
Comment 1 Sebastien Bacher 2003-11-19 13:00:49 UTC
Created attachment 21617 [details]
The file of the test
Comment 2 Sebastien Bacher 2003-11-19 13:02:22 UTC
Created attachment 21618 [details]
An example of the problem
Comment 3 Dodji Seketeli 2003-11-19 21:37:40 UTC
Hi,

This bug is fixed in the CVS.
See ChangeLog revision numnber 1.168 .

Thank you for the excellent bug report !!

Dodji