Bug 476963 - Can't copy HTML email content - Evolution crashes when selecting text in HTML mail for copy
Summary: Can't copy HTML email content - Evolution crashes when selecting text in HTML...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution
Version: 9
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Matthew Barnes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-18 10:59 UTC by Gerard Fernandes
Modified: 2009-03-07 17:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-07 17:45:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gerard Fernandes 2008-12-18 10:59:39 UTC
Description of problem: Evolution crashes when selecting text in HTML mail for copy


Version-Release number of selected component (if applicable): latest fully updated Fedora-9 (stable repositories only)


How reproducible: Always


Steps to Reproduce:
1. Configure Evolution to access Google mail via IMAP
2. Send yourself an HTML email to the google mail address preferably from another email address - or simply use an existing HTML formatted email.
3. Open this email, attempt to select all content for copying. At this point Evolution crashes.
  
Actual results: Boom!


Expected results: Selected content - preferably highlighted - on which the user can execute Cntrl-C (or Edit/Copy) to copy all content.


Additional info:

Comment 1 Gerard Fernandes 2008-12-18 11:01:30 UTC
Since I only ever use Evolution to access google mail via IMAP (don't run my own mail server!), I can't say if this is applicable to all HTML email or to HTML email accessed specifically via IMAP.

Comment 2 Milan Crha 2008-12-18 11:40:34 UTC
Could you install debug info packages for evolution, evolution-data-server and gtkhtml3, and attach here also a stacktrace of the crash, please? Thanks in advance. It'll help to identify the place where it crashed. Maybe also how you select the text exactly? You can by mouse, with arrows and shift, the Ctrl+A, and so on. Maybe it also depends on the message structure, like tables, paragraphs,...

But let's see the trace first, maybe it was already reported.

Comment 3 Gerard Fernandes 2009-01-05 12:39:00 UTC
Sorry for the long delay in getting back - Christmas, New Year and a Fedora upgrade to v10 intervened. :)

I've just upgraded to Fedora 10, where this problem still happens. The only difference is that it does allow the GNOME bug-reporter to send off details. I have done that and will post another comment with the GNOME bug reference number.

The copying may be done in any manner - with either Cntrl-A, only the mouse, partial mouse/keyboard (with arrows and shift) - all with the same result. The moment the Cntrl-C combination is used (or the Edit/Copy menu option selected), Evolution gives up the ghost.

Comment 4 Gerard Fernandes 2009-01-06 07:38:50 UTC
The last post is a little misleading - I'd assumed that all the methods for selecting content for copying would work (e.g. Cntrl-A, shift key + arrows etc.).

I just tried it and as it turns out, there is really only one way to select text: with the mouse. NO OTHER METHOD WORKS!

1. Cntrl-A selects all the emails from the summary window EVEN WHEN FOCUSSED ON THE MAIL CONTENT DISPLAY WINDOW! When the mail is opened in a separate window nothing happens at all when selecting Cntrl-A.

2. Shift and the arrow keys do nothing at all for selecting text in either the embedded mail display window or when the mail is opened in a separate window.

I'm on the latest updated Fedora 10.

Comment 5 Milan Crha 2009-01-06 11:59:37 UTC
Try Edit->Select all text. It has different shortcuts because it collides with those for a mail window, as you said above. There is also a difference between composer and viewer of the mail, and I believe it's correct. You can turn on the caret mode (View->Caret Mode) to be able to select with text as you described in 2), but I cannot recommend it, unfortunately, it has some strangeness too.

Comment 6 Gerard Fernandes 2009-01-06 22:50:48 UTC
Edit/Select All Text crashes Evolution as well. Here is the crash report link:
http://crash.gnome.org/report/index/24c5ed00-dc44-11dd-aa67-0007e9333148?date=2009-01-06-22

Comment 7 Mike Chambers 2009-03-07 15:01:56 UTC
Does this problem still persist?  Does it happen on a new user as well? BTW, this doesn't seem to happen (well, not tested on imap, but on pop3 connection) on latest evo in rawhide.

-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 8 Gerard Fernandes 2009-03-07 16:24:31 UTC
Sorry, I've done a couple of updates and not tested this. With my current system (all patches applied as of 6th March 2009), I can confirm that this problem doesn't persist.

I've tested with various HTML emails I have in my IMAP mail-box and it works as expected - the text is copied to the clip-board from where it may be transfered to any other application.


Note You need to log in before you can comment on or make changes to this bug.