<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>306824</bug_id>
          
          <creation_ts>2012-09-15 09:25:26 +0000</creation_ts>
          <short_desc>Selection by double-clicking doesn&apos;t send word to clipboard.</short_desc>
          <delta_ts>2012-10-16 18:39:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>okular</product>
          <component>general</component>
          <version>0.15.1</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>junior-jobs</keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Valentin">v.babosha</reporter>
          <assigned_to name="Okular developers">okular-devel</assigned_to>
          <cc>aacid</cc>
    
    <cc>hcmh</cc>
    
    <cc>v.babosha</cc>
          
          <cf_commitlink>http://commits.kde.org/okular/146369e3d24b97cc990d747648ecfbead9c2d9cb</cf_commitlink>
          <cf_versionfixedin>4.9.3</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1297463</commentid>
    <comment_count>0</comment_count>
    <who name="Valentin">v.babosha</who>
    <bug_when>2012-09-15 09:25:26 +0000</bug_when>
    <thetext>Selection by double-clicking doesn&apos;t send word to clipboard. In other programs it&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1306338</commentid>
    <comment_count>1</comment_count>
      <attachid>74572</attachid>
    <who name="Christian Holme">hcmh</who>
    <bug_when>2012-10-16 00:21:45 +0000</bug_when>
    <thetext>Created attachment 74572
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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1306578</commentid>
    <comment_count>2</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2012-10-16 18:35:11 +0000</bug_when>
    <thetext>We do prefer reviewboard, but no need to resubmit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1306581</commentid>
    <comment_count>3</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2012-10-16 18:39:20 +0000</bug_when>
    <thetext>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 &apos;KDE/4.9&apos;.

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</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>74572</attachid>
            <date>2012-10-16 00:21:45 +0000</date>
            <delta_ts>2012-10-16 00:21:45 +0000</delta_ts>
            <desc>Patch for double-click selection to clipboard</desc>
            <filename>doubleclick-clipboard.patch</filename>
            <type>text/plain</type>
            <size>897</size>
            <attacher name="Christian Holme">hcmh</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL3VpL3BhZ2V2aWV3LmNwcCBiL3VpL3BhZ2V2aWV3LmNwcAppbmRleCAwNjcx
ZjFhLi4xZDZkODA3IDEwMDY0NAotLS0gYS91aS9wYWdldmlldy5jcHAKKysrIGIvdWkvcGFnZXZp
ZXcuY3BwCkBAIC0yODc1LDYgKzI4NzUsMTMgQEAgdm9pZCBQYWdlVmlldzo6bW91c2VEb3VibGVD
bGlja0V2ZW50KCBRTW91c2VFdmVudCAqIGUgKQogICAgICAgICAgICAgICAgICAgICAvLyBUT0RP
IHdvcmRzIHdpdGggaHlwaGVucyBhY3Jvc3MgcGFnZXMKICAgICAgICAgICAgICAgICAgICAgZC0+
ZG9jdW1lbnQtPnNldFBhZ2VUZXh0U2VsZWN0aW9uKCBwYWdlSXRlbS0+cGFnZU51bWJlcigpLCB3
b3JkUmVjdCwgcGFsZXR0ZSgpLmNvbG9yKCBRUGFsZXR0ZTo6QWN0aXZlLCBRUGFsZXR0ZTo6SGln
aGxpZ2h0ICkgKTsKICAgICAgICAgICAgICAgICAgICAgZC0+cGFnZXNXaXRoVGV4dFNlbGVjdGlv
biA8PCBwYWdlSXRlbS0+cGFnZU51bWJlcigpOworICAgICAgICAgICAgICAgICAgICBjb25zdCBR
U3RyaW5nIHRleHQgPSBkLT5zZWxlY3RlZFRleHQoKTsKKyAgICAgICAgICAgICAgICAgICAgaWYg
KCAhdGV4dC5pc0VtcHR5KCkgKQorICAgICAgICAgICAgICAgICAgICB7CisgICAgICAgICAgICAg
ICAgICAgICAgICBRQ2xpcGJvYXJkICpjYiA9IFFBcHBsaWNhdGlvbjo6Y2xpcGJvYXJkKCk7Cisg
ICAgICAgICAgICAgICAgICAgICAgICBpZiAoIGNiLT5zdXBwb3J0c1NlbGVjdGlvbigpICkKKyAg
ICAgICAgICAgICAgICAgICAgICAgICAgICBjYi0+c2V0VGV4dCggdGV4dCwgUUNsaXBib2FyZDo6
U2VsZWN0aW9uICk7CisgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAg
cmV0dXJuOwogICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgIH0K
</data>

          </attachment>
      

    </bug>

</bugzilla>