GNOME Bugzilla – Bug 273512
typing characters isn't moving the cursor (characters are reverse / backwards)
Last modified: 2017-02-09 13:38:11 UTC
Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: Steps to reproduce the problem: 1. To to the end of the document you've just typed 2. Put the cursor at the middle of a string (at the top if the document) 3. start typing Actual Results: The cursor doesn't move but characters are being added (in the wrong direction) Expected Results: The cursor should move while characters are being added How often does this happen? Not always .. Additional Information: I'm using everything from CVS HEAD
i can reproduce this both when replying and writing a new message with a special content (can also be copied and pasted into). write an email long enough (e.g. by copying content to the composer window) to be able to use page up + page down to get exactly *into* the signature when the cursor is in the first line. (or have a big signature and a short mail ;-) since plain html email style is automatically set to "normal", there will be a line break at 72chars (or whatever, doesnt matter). testing has shown that the bug does not seem to happen when the email has no line break and only includes short sentences with less then those 72chars, so there MUST be at least one line break by evolution. being at the end but above the signature of the email i write, i now use the page up button to get to the beginning of the email. type something, it's still LTR as expected. now hit page down again to set the cursor *into* (neither "after" nor "to the right of") the signature and page up again to the first line. now it's wrong and RTL. now this is 100% reproducable to me here. suse 9.2, evolution-2.1.6.0.200503080410-0.snap.ximian.10.1, gtkhtml2- 3.5.7.0.200503080410-0.snap.ximian.10.1.
yay, adding me to the cc list
*** bug 273408 has been marked as a duplicate of this bug. ***
I'm happy you've found a way to reproduce this. It will make it a lot more easy to catch it :-).
I am unable to reproduce it here, please could you try to reproduce it with gtkhtml 3.6.1?
I haven't reproduced this bug for more then a week now (I upgrade from CVS very frequently, more then once a day). So it's possible this has magically been fixed :p. However. If it happens I'll post it here and I'll try to memory what exactly I did to make it happen. Just as Adre Klapper explains in his comment, I've only had this with longer E-mails. In which I wrote longer lines of text that are being wrapped by the composer (not by me).
refering to my comment, it now seems that if i am in the first line of my email and hit "page down" the cursor goes to the end of the signature text box and not right directly into the signature, so i also am not able to reproduce this. hmm. probably the problem hasn't been solved, but now it seems evolution's behaviour prevents me running into that bug. :-/
*** Bug 274466 has been marked as a duplicate of this bug. ***
*** Bug 266491 has been marked as a duplicate of this bug. ***
I have this problem too on multiple installs of ubuntu breezy (1 not updated for a about a month, another updated daily) Main install environment (updated daily): dave@woby:~$ dpkg -l | grep evolution | grep ii ii evolution 2.4.1-0ubuntu4 The groupware suite ii evolution-data-server 1.4.1-0ubuntu1 evolution database backend server ii evolution-exchange 2.4.0-0ubuntu1 Exchange plugin for the Evolution groupware ii evolution-plugins 2.4.1-0ubuntu4 All bundled plugins for Evolution 2.2 ii evolution-webcal 2.4.1-0ubuntu1 webcal: URL handler for GNOME and Evolution ii libcamel1.2-6 1.4.1-0ubuntu1 Generic messaging library for evolution data ii libebook1.2-5 1.4.1-0ubuntu1 Client library for evolution address books ii libecal1.2-2 1.2.1-0ubuntu1 Client library for evolution calendars ii libecal1.2-3 1.4.1-0ubuntu1 Client library for evolution calendars ii libedata-book1.2-2 1.4.1-0ubuntu1 Backend library for evolution address books ii libedata-cal1.2-1 1.4.1-0ubuntu1 Backend library for evolution calendars ii libedataserver1.2-4 1.4.1-0ubuntu1 Utility library for evolution data servers ii libedataserverui1.2-6 1.4.1-0ubuntu1 Utility library for evolution data servers ii libevolution-cil 0.10.1-0ubuntu6 CLI bindings for Evolution ii libexchange-storage1.2-0 1.4.1-0ubuntu1 Backend library for evolution calendars ii openoffice.org2-evolution 1.9.129-0.1ubuntu3 Evolution Addressbook support for OpenOffice dave@woby:~$ dpkg -l | grep gtkhtml | grep ii ii gtkhtml3.6 3.6.2-1 HTML rendering/editing library - bonobo comp ii gtkhtml3.8 3.8.1-0ubuntu1 HTML rendering/editing library - bonobo comp ii libgtkhtml1.1-3 1.1.10-4ubuntu1 HTML rendering/editing library - runtime fil ii libgtkhtml2-0 2.6.3-1 HTML rendering/editing library - runtime fil ii libgtkhtml20 1.0.4-6.2 HTML rendering/editing library - runtime fil ii libgtkhtml3.6-18 3.6.2-1 HTML rendering/editing library - runtime fil ii libgtkhtml3.8-15 3.8.1-0ubuntu1 HTML rendering/editing library - runtime fil Will attach a raw message causes this problem when trying to reply to or forward it.
Created attachment 53180 [details] Message which triggers English RTL bug when replying or forwarding
Whoops the output above didn't like being wrapped, sorry
hi dave, thanks for your test message, that's awesome. i can reproduce this here with evo-2.4.x on suse9.3, reopening this bug report.
note: to import the test message ftom comment #11 to evolution, one has to add a line in front of it like "From example@example.com Tue Sep 20 19:49:17 2005" to get a berkeley mailbox file.
copying comments of dup bug 321162: "the person who sent the email is using *Exchange* but the bug happens in Evolution connecting to a Linux IMAP server." another example message: http://bugzilla.gnome.org/attachment.cgi?id=54581
*** Bug 321162 has been marked as a duplicate of this bug. ***
This is still happening with gtkhtml 3.9.2, Ubuntu bug about this (with an example): http://bugzilla.ubuntu.com/show_bug.cgi?id=19579
raising priority. hmm. i need a 2.4 milestone. :-)
yeah, really seems to only happen when replying. i'm marking bug 244200 as a duplicate of this one here. both bugs have many comments, so i'm unsure, but this one here is newer. please also take a look at the comments at bug 244200, thanks.
*** Bug 244200 has been marked as a duplicate of this bug. ***
targetting from 2.5.x to 2.4.x with the new, fresh and greasy(TM) 2.4.x target milestone provided by harish. ;-)
strange, strange. just had that again. i then copied a word to the position where my right-to-left cursor was and after that, i could continue to type normally from left to right. removing that line again led to rtl-mode again. time to find out how to reproduce this perfectly.
*** Bug 328774 has been marked as a duplicate of this bug. ***
Created attachment 58406 [details] Email I received that causes this bug when attempting to add text while forwarding I saw the report of this problem on the evolution list today and had also experienced the same bug myself. The attachment is the email that caused this bug when attempting to add a note at the top when forwarding it to a third party. (But I still have Evolution 2.0.2 as distributed with RedHat EL AS 4)
Adding this to the 2.5 tracker bug.
*** Bug 329901 has been marked as a duplicate of this bug. ***
when replying to the message attached at comment 11 in plain text mode, the cursor jumps directly to somewhere in the middle of the message. by only using the keyboard i did not succeed in getting the cursor back at the beginnning of the message, but perhaps i was just too stupid. at least page+up did not work. so i used the mouse. i'm getting html_cursor_jump_to_position: assertion `position >= 0' failed five times on the shell now when typing *one* character in the wrong direction. so go to gtkhtml/src/htmlcursor.c, void html_cursor_jump_to_position (HTMLCursor *cursor, HTMLEngine *engine, gint position) and check out how "position" goes mad before finally getting a value of 0. (i added one line g_print("debukq: position: %d\n", position); ad the beginning of that function, don't if it's right because i have no knowledge of c at all) when doing this for a second time, cursor jumps to exactly the same strange position somewhere in the middle of the text. evo2.5.91cvs checkout 8hrs ago.
Possible duplicate with a good backtrace in bug 340384
removing old target milestones
*** Bug 343368 has been marked as a duplicate of this bug. ***
one can find another example email at bug 343368.
Created attachment 66459 [details] This is another message that triggers this bug - same source crikey.com Still happening here. User hassled me about it again today :( Version information: dpkg -l | grep gtkhtml ii gtkhtml3.6 3.6.2-1 HTML rendering/editing library - bonobo comp ii gtkhtml3.8 3.10.1-0ubuntu3 HTML rendering/editing library - bonobo comp ii libgtkhtml1.1-3 1.1.10-9 HTML rendering/editing library - runtime fil ii libgtkhtml2-0 2.11.0-1 HTML rendering/editing library - runtime fil rc libgtkhtml20 1.0.4-6.2 HTML rendering/editing library - runtime fil ii libgtkhtml3.6-18 3.6.2-1 HTML rendering/editing library - runtime fil ii libgtkhtml3.8-15 3.10.1-0ubuntu3 HTML rendering/editing library - runtime fil I know this will wrap poorly - sorry
Forgot the evo version - 2.6.1-0ubuntu7
Add a me too on this one. [carlos@localhost ~]$ rpm -qa | grep evolution evolution-webcal-2.4.1-3.2 evolution-2.6.1-1.fc5.2 evolution-data-server-1.6.1-1.fc5.2 evolution-data-server-devel-1.6.1-1.fc5.2 evolution-sharp-0.10.2-9 [carlos@localhost ~]$ rpm -qa | grep gtkhtml gtkhtml2-2.6.3-1.2.1 gnome-python2-gtkhtml2-2.14.0-1 gtkhtml3-3.10.1-1.fc5.1 Using IMAP to connect to an exchange 2003 server. The original message I believe was sent as rtf encoded, with cut'n'paste html inserted from a web site. Attachmet to follow.
Created attachment 66577 [details] Message triggering problem in my inbox. As promised
according to a user on irc, this still happens with evolution 2.12.1 from gentoo ebuild
andre> is that email confidential, or can you attach it to the bug report? <andre> (after removing the real addresses in it) <raz> it unfortunately is a mail to my boss but maybe it helps to note that it happened immediately after i pasted a link into the mail. actually i only pasted the link TEXT, copied from firefox but evolution still insisted on making it blue underlined. <raz> but i cannot prove that it is actually connected because i haven't tried typing at the top of the mail before...
Just happened to me with 3.2.3. Of course not reproducible.
GtkHtml is not under active development anymore. Evolution (its main consumer) switched to a WebKit backend a while ago. It is currently unlikely that there will be any further GtkHtml development. Closing this report as WONTFIX as part of Bugzilla Housekeeping (bug 778387) to reflect reality. Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again.