Bug 306824 - Selection by double-clicking doesn't send word to clipboard.
Summary: Selection by double-clicking doesn't send word to clipboard.
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.15.1
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2012-09-15 09:25 UTC by Valentin
Modified: 2012-10-16 18:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.3
Sentry Crash Report:


Attachments
Patch for double-click selection to clipboard (897 bytes, patch)
2012-10-16 00:21 UTC, Christian Holme
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valentin 2012-09-15 09:25:26 UTC
Selection by double-clicking doesn't send word to clipboard. In other programs it's work properly. Selection by mouse movement works properly.

Reproducible: Always

Steps to Reproduce:
1. Open any document.
2. Select any word by double click.
3. Check Klipper: the word is not in the buffer.
For comparison do this steps selecting word by mouse movement.
Comment 1 Christian Holme 2012-10-16 00:21:45 UTC
Created attachment 74572 [details]
Patch for double-click selection to clipboard

Hello,
I think this patch should fix it, since adding it to the clipboard in this way is used in every other instance.

Futhermore, with this change double-click selections are added to the clipboard (as verified by Klipper).

By the way, is this the preferred way of submitting patches? Or should the review board be used for this?

Christian Holme
Comment 2 Albert Astals Cid 2012-10-16 18:35:11 UTC
We do prefer reviewboard, but no need to resubmit.
Comment 3 Albert Astals Cid 2012-10-16 18:39:20 UTC
Git commit 146369e3d24b97cc990d747648ecfbead9c2d9cb by Albert Astals Cid, on behalf of Christian Holme.
Committed on 16/10/2012 at 20:36.
Pushed by aacid into branch 'KDE/4.9'.

Send word to selection clipboard on double click
FIXED-IN: 4.9.3

M  +7    -0    ui/pageview.cpp

http://commits.kde.org/okular/146369e3d24b97cc990d747648ecfbead9c2d9cb