Bug 347625

Summary: Be able to copy text from received messages with using right mouseclick
Product: [Applications] trojita Reporter: Roberth Sjonøy <roberth.sjonoy>
Component: Desktop GUIAssignee: Trojita default assignee <trojita-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: tl
Priority: NOR    
Version First Reported In: 0.5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Roberth Sjonøy 2015-05-12 17:08:57 UTC
It would be great if you could add the ability to select "copy" when selecting text in a received message when right clicking the selected text, so users that prefer or can only use mouse can easily copy text from received mail.

Reproducible: Always
Comment 1 Jan Kundrát 2015-05-12 20:10:23 UTC
Patches welcome. I suspect that a big problem is that the selection get cleared (both on Qt4 and Qt5) on right mouse click, so I don't think that simply adding a correct webview-provided QAction will do the trick :(.

Ctrl-C works anyway.
Comment 2 Thomas Lübking 2015-05-12 20:31:02 UTC
(In reply to Jan Kundrát from comment #1)
> Patches welcome. I suspect that a big problem is that the selection get
> cleared (both on Qt4 and Qt5) on right mouse click

????
Not here. The widget turns inactive (the selection is greyed out), but that should be no problem.
(Though one must click the selected area)
Comment 3 Jan Kundrát 2015-05-12 20:35:45 UTC
> (Though one must click the selected area)

Ah, that was the catch. Would be nice to disable that, eh, "feature".
Comment 4 Jan Kundrát 2015-05-12 20:41:23 UTC
https://gerrit.vesnicky.cesnet.cz/r/454
Comment 5 Jan Kundrát 2015-05-14 16:03:27 UTC
Git commit 88473e24e3761e4229a16e2f23f9cda3be18c032 by Jan Kundrát.
Committed on 12/05/2015 at 21:55.
Pushed by gerrit into branch 'master'.

GUI: Add "copy" action to the message viewer's context menu
Change-Id: Ia69af94f37fbea67759aff937e43295a7580bb04

M  +1    -0    src/Gui/MessageView.cpp

http://commits.kde.org/trojita/88473e24e3761e4229a16e2f23f9cda3be18c032
Comment 6 Jan Kundrát 2016-01-22 09:54:18 UTC
*** Bug 358355 has been marked as a duplicate of this bug. ***