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 318973 - Caret Mode broken
Caret Mode broken
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: Rendering
3.14.x
Other All
: Immediate major
: ---
Assigned To: gtkhtml-maintainers
Evolution QA team
: 324002 354991 467124 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-10-15 21:05 UTC by Lionel Dricot
Modified: 2008-01-22 14:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
The buggy email (38.54 KB, text/plain)
2005-10-15 21:06 UTC, Lionel Dricot
  Details
shows your mail at the top (161.47 KB, image/jpeg)
2005-10-17 04:58 UTC, vivek jain
  Details
Patch (2.09 KB, patch)
2006-02-08 11:48 UTC, Irene Huang
none Details | Review
Better patch (1.99 KB, patch)
2006-02-08 11:56 UTC, Irene Huang
committed Details | Review
new testcase (2.14 KB, application/octet-stream)
2006-12-13 11:03 UTC, Richard Edmands
  Details

Description Lionel Dricot 2005-10-15 21:05:17 UTC
Please describe the problem:
The following email scroll automatically to the bottom. There's no way you can
read it in Evolution.

(mail attached in the first comment)

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Maybe related to http://bugzilla.gnome.org/show_bug.cgi?id=318971
Comment 1 Lionel Dricot 2005-10-15 21:06:33 UTC
Created attachment 53535 [details]
The buggy email

When you receive this email in evolution, you are automatically send to the
bottom. Even if you try to go up with the cursor, it will force you down.
Comment 2 vivek jain 2005-10-17 04:58:11 UTC
Created attachment 53570 [details]
shows your mail at the top
Comment 3 vivek jain 2005-10-17 04:59:54 UTC
This works fine for me for both in message viewer window and preview pane. 
Comment 4 André Klapper 2005-10-17 09:19:58 UTC
this does not happen to me.

i assume you have "load images from net" enabled? what happens if you disable
"show animated images" in your settings (see bug 307005)?
can you scroll by using your keyboard?
Comment 5 C Shilpa 2005-10-19 06:01:05 UTC
marking as needinfo. please reopen after providing the requested information.
Comment 6 vivek jain 2005-10-19 11:36:19 UTC
sorry marked fixed by mistake.
Comment 7 vivek jain 2005-10-19 11:36:56 UTC
sorry for the spam :-/
Comment 8 Karsten Bräckelmann 2005-12-10 19:15:38 UTC
Do you happen to have Caret Mode enabled by any chance? Try disabling it. Looks
like Caret Mode simply is broken in 2.4...
Comment 9 André Klapper 2005-12-10 20:02:06 UTC
yeah, it only happens when caret mode (now: "cursor mode") is enabled.

workarounds:
* disable it ("F7")
* or set focus into message list pane and press tab once
* or after scrolled down, set keyboard focus to the message pane and scroll up
by keyboard.

still valid in 2.5.2 rpm snapshot dated 20051117. this has nothing to do with
animated images as i asked for in comment 4.

targetting to 2.4.3 as this totally fucks up accessibility for every received
html mail. dumdidum.
Comment 10 Karsten Bräckelmann 2005-12-10 20:15:16 UTC
Not related to HTML mails, reproducible for text/plain mails, too.
Comment 11 André Klapper 2005-12-10 20:35:28 UTC
this is only reproducible (but 100%) for plain mails that have been sent from
evolution. it does not matter whether evo2.4 or 1.4.6.
this does not happen at all with any other mailer (i went through my inbox so
there are a lot of different mailers i tested).
Comment 12 André Klapper 2006-01-10 01:33:08 UTC
also see bug 273794, could be related
Comment 13 André Klapper 2006-01-26 00:07:04 UTC
*** Bug 324002 has been marked as a duplicate of this bug. ***
Comment 14 Irene Huang 2006-02-08 11:48:42 UTC
Created attachment 58922 [details] [review]
Patch
Comment 15 Irene Huang 2006-02-08 11:56:12 UTC
Created attachment 58924 [details] [review]
Better patch
Comment 16 Irene Huang 2006-02-09 07:06:25 UTC
Patch committed to CVS head. Please verify the bug and close it, thanks
Comment 17 Mike Pedersen 2006-02-15 01:51:52 UTC
I checked this from head on 02/13/2006 and am still seeing problems.  If I have carrot browsing enabled which a keyboard only user needs and press enter on a message the message is opened.  If at this point i press any arrow key nothing happens.  I am required to tab once to get into the headers where I can then arrow normally.  This is with text messages as well.  
Comment 18 Harry Lu 2006-02-15 01:56:08 UTC
Mike, the fix is in GtkHTML, not Evolution.
Are you also using GtkHTML from head?
Comment 19 Mike Pedersen 2006-02-15 05:54:47 UTC
You're right, I hadn't updated gthtml.  This fix really helps a lot.  
thanks a lot for the fix.  
Comment 20 Rohini 2006-02-23 06:07:29 UTC
Tested. Works fine now. Closing bug...
Comment 21 André Klapper 2006-12-13 01:48:36 UTC
this is not fixed, but a duplicate of bug 307005
Comment 22 André Klapper 2006-12-13 01:48:54 UTC

*** This bug has been marked as a duplicate of 307005 ***
Comment 23 André Klapper 2006-12-13 10:55:31 UTC
reopening, as we have a message without any animated gifs which triggers this bug...
sorry for the noise.
Comment 24 Richard Edmands 2006-12-13 11:03:25 UTC
Created attachment 78277 [details]
new testcase

hi, i believe i'm suffering this bug under gtkhtml 3.12. i'm running a reasonably stock ubuntu edgy eft system with the exception of the patch from #350981.

i've attached my testcase, just incase i've missed something.
Comment 25 André Klapper 2006-12-13 21:53:47 UTC
*** Bug 354991 has been marked as a duplicate of this bug. ***
Comment 26 Kjartan Maraas 2007-01-05 12:19:16 UTC
When I enable caret mode now I see that all messages are scrolled down to the bottom. Of course this only shows up if the message contains more text than can be shown in the preview area. I have message preview enabled.
Comment 27 André Klapper 2007-08-17 15:27:38 UTC
*** Bug 467134 has been marked as a duplicate of this bug. ***
Comment 28 André Klapper 2007-08-17 15:28:08 UTC
*** Bug 467124 has been marked as a duplicate of this bug. ***
Comment 29 Willie Walker 2007-08-17 15:46:36 UTC
When fixing this bug, I wonder if it might be able to take bug 423395 (When first opening or tabbing to message content, place the caret at the beginning of the message) into consideration.  It would be an awesome win for usability and accessibility.
Comment 30 Srinivasa Ragavan 2008-01-20 19:56:37 UTC
Hmm, isnt this bug fixed in 2.12 already. I don't see the issue with the offending email too. I'm closing this bug. Please reopen if you see it again.
Comment 31 Willie Walker 2008-01-22 14:22:13 UTC
(In reply to comment #30)
> Hmm, isnt this bug fixed in 2.12 already. I don't see the issue with the
> offending email too. I'm closing this bug. Please reopen if you see it again.
> 

I can't seem to reproduce it, either (thanks!).  If you have ideas on bug 423395, it would be great.  It should hopefully be very simple to determine the top of the message content and place the caret there.  I just don't know the code at all, so it's hard for me to supply a patch.  :-(