[Breezy] "Reply to" fails to quote the message

Bug #18761 reported by Trouilliez vincent
16
Affects Status Importance Assigned to Milestone
LibGtkHTML
Fix Released
Low
gtkhtml3.14 (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

A very strange one started happening a couple days ago.

When I reply to message, the composing window comes up, but sometimes, instead
of quoting the body of the mail I am replying to, it prints the content of the
clipboard !

For example, say I was browsing the web, say I have an URL or some text/words in
the clipboard. Then I try to reply to somone on the Ubuntu list, the composing
window comes up, and what do I see in it ???? Yes, I see whatver tyext or URL I
had in the clipboard, but I will not see the text of the e-mail I am trying to
reply to !! Weird.

I have noticed that Evolution has a feature whereby if I select part of the text
of an e-mail with the mouse, then "reply to" it, the composing window quotes
only the part of the message that I had selected (just selected, NOT "copied")
instead of the entire message.
So maybe Evolution is mixing things and sometimes (it happens at random, I don't
know how to trigger it), mistakes the content of the clipboard, for a genuine
text selection that the user could have high-lighted in the body of the e-mail
he is replying to.

At any rate, once it starts doing it, the only way to fix it (until it starts
again ! :-/ ) is to close evolution and restart it.

Very annoying...

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

Not sure if that helps, but I just noticed that when it starts doing it, it does
NOT do it if I FORWARD the message. It only does it if I "Reply" to it, in which
case it does it no matter how I open the reply-to window : menu command, toolbar
icon, right-click on the message, or keyboard short-cut.
If I select/highlight the entire message using the mouse, then "reply to", it
works normally.

Revision history for this message
Sebastien Bacher (seb128) wrote :

*** Bug 18871 has been marked as a duplicate of this bug. ***

Revision history for this message
Sebastien Bacher (seb128) wrote :

That works fine here now, do you still have this issue?

Revision history for this message
Shaya Potter (spotter) wrote :

seems to work correctly now.

Revision history for this message
Corey Burger (corey.burger) wrote :

Marked as fixed, as per 2 previous comments. Reporter, if you still see the
issue, please reopen the bug.

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

(In reply to comment #3)
> That works fine here now, do you still have this issue?

Yes. I just ran the update-manager just in case I missed some Evolution related
update, but no.
Problem still there. If I 'copy' whatever text from Gedit or a web page or
whatever app, Evolution will use this text when replying to messages, instead of
quoting the message.
The only thing I can think of, is that I have asked Synaptic to "hold"/not
upgrade a few Xorg packages (as few as possible) as I don't want Xorg to break
my keyboard layout again. Since the problem has to do with copy/paste, and that
X does (does it ???) play a role in this mechanism (whrere did I read this, I
don't know !), maybe this is why the problem is still there ? I intended to
upgrade these Xorg related packages once I would assured that the K/B layout
problem would be fixed. The French K/B is very broken. But BTW Seb, I guess you
use a French layout as well ?? How did you get it working ?? If I do a
dist-upgrade after a Fresh install of Colony #2, in Gnome and X, I lose all
upper case letter, and most punctuation characters.... rendering the keyboard
pretty useless :-/

Revision history for this message
Sebastien Bacher (seb128) wrote :

Vincent, how do you copy (ctrl-c, right click menu and copy item, selection and
middle click)? Do you use the current gnome-control-center package?
Can you describe a simple usecase to get the issue? ie:
* start GNOME and some apps
* select a text with gedit, hit ctrl-C
* alt-tab to evolution
* click on the reply button

What I just described works fine.

For xorg, it's known to have xkb issues for some time, I've not tried to update
it for some days ...

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

(In reply to comment #7)
> Vincent, how do you copy (ctrl-c, right click menu and copy item, selection and
> middle click)? Do you use the current gnome-control-center package?
> Can you describe a simple usecase to get the issue? ie:
> * start GNOME and some apps
> * select a text with gedit, hit ctrl-C
> * alt-tab to evolution
> * click on the reply button
>
> What I just described works fine.

Sadly as I said in the initial report, I can't find any pattern/way to reproduce
the problem. It happens at random, no matter if I use Control+C or right-click
or Control+Insert (which is what I use most), and no matter what application the
text has been 'copied' from. The only thing that is sure, is that once it has
done it once, it will not stop doing it, until I close Evolution, and things
will be back to normal once Evolution is re-started. I guess I could use 'trace'
to see what's going on when I hit 'reply', but it would probably result in a
50MB log file...too much to be useful :o(

> For xorg, it's known to have xkb issues for some time, I've not tried to
update it for some days ...

Fair enough ! I shall do the same then, and just wait for the next Colony CD,
which I guess Colin will release as soon as Xorg has settled a bit...

Revision history for this message
Sebastien Bacher (seb128) wrote :

That is fixed with 2.3.7

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

A year later, I still have the problem, every now and then, randomly, can't see a pattern to it.
I have given up on it as it can be worked around, but I prefer to change the status anyway, to reflect reality...

Changed in evolution:
status: Fix Released → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

are you sure you don't have some text selected when that happens? It quotes the message only if you make no selection

Changed in evolution:
status: Confirmed → Needs Info
Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

> are you sure you don't have some text selected when that happens?

Nope. I am sure of that, because if I select text in a message then reply to the message, evolution quotes only the selected text rather than the whole message (which is a nice feature).

Revision history for this message
Sebastien Bacher (seb128) wrote :

It's easy to do a "fake selection", click somewhere to the preview where there is no text, dnd from some pixel like if you were selecting, there is nothing visible but reply will quote nothing ... is that what is happening to you?

Revision history for this message
Shaya Potter (spotter) wrote :

seb, that's what happens to me. basically only way around it for me, is that I have to select a new message, then go back to the original one.

very annoying.

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

Thanks Seb !! Using your "false selection " trick, I can reproduce the bug at will ! :-)
So now I know how to avoid it, and if it hits me, I know how to fix it: just click anywhere in the message, making sure I don't drag the mouse at the same time, before replying to the message.

Now that I know what's happening, it won't drive me nuts anymore :-)

But it should be easy to fix then, no ? I mean, Evolution should quote the "selected" text, only if the text in question makes sense, for example if it contains at least one "visible" character (not a carraige return or space or nothing at all) ? And if the text doesn't make sense, then quote the entire message ?

Revision history for this message
Sebastien Bacher (seb128) wrote :

upstream bug about that: http://bugzilla.gnome.org/show_bug.cgi?id=330175

Vincent, the bug is sort of confusing. When you have no visible selection, do you get the clipboard copy as described on the first description or only no text quoted?

Changed in evolution:
assignee: seb128 → desktop-bugs
status: Needs Info → Confirmed
Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

> upstream bug about that:
> http://bugzilla.gnome.org/show_bug.cgi?id=330175
> Vincent, the bug is sort of confusing.

No need to be confused : the bug you mentionned above is e-xac-tly what I am experiencing... I have nothing more to add :-)
Let's just watch this upstream bug then, and see what they decide...

> When you have no visible selection, do you get the clipboard copy
> as described on the first description or only no text quoted?

A picture being worth a thousand words, see attached...

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote : This is what I get when replying to a message after making an "empty" selection

Why are comments mandatory...

Revision history for this message
Sebastien Bacher (seb128) wrote :

already, that's the same as described by upstream, maybe the new comment will make them react on it

Revision history for this message
Sebastien Bacher (seb128) wrote :

The bug has been fixed upstream now

Changed in gtkhtml3.8:
status: Confirmed → Fix Committed
Changed in libgtkhtml:
status: Confirmed → Fix Released
Changed in gtkhtml3.14:
status: Fix Committed → Fix Released
Changed in libgtkhtml:
importance: Unknown → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.