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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>20198</bug_id>
          
          <creation_ts>2008-07-28 11:01:57 -0700</creation_ts>
          <short_desc>[Qt] Copy key sequence doesn&apos;t work in non-editable areas.</short_desc>
          <delta_ts>2008-08-04 07:03:49 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Erik L. Bunce">elbunce</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87173</commentid>
    <comment_count>0</comment_count>
    <who name="Erik L. Bunce">elbunce</who>
    <bug_when>2008-07-28 11:01:57 -0700</bug_when>
    <thetext>Can be demonstrated using QtLauncher from SVN r35408.
1) Navigate to any site.
2) Make a selection in a non-editable text area.  Note that the Copy action is now enabled.
3) Use the local copy key sequence (CTRL+C, etc.) 
4) Attempt to paste into your favorite text editor, note you&apos;ll get the previous clipboard contents since the copy will not have been performed.

This is because it is only checked for in editorActionForKeyEvent(), the calling of which is inappropriate outside of editable areas.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87174</commentid>
    <comment_count>1</comment_count>
      <attachid>22524</attachid>
    <who name="Erik L. Bunce">elbunce</who>
    <bug_when>2008-07-28 11:04:23 -0700</bug_when>
    <thetext>Created attachment 22524
patch to add Copy handling for non-editable sections of a page.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87748</commentid>
    <comment_count>2</comment_count>
      <attachid>22524</attachid>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2008-08-04 02:38:14 -0700</bug_when>
    <thetext>Comment on attachment 22524
patch to add Copy handling for non-editable sections of a page.

Ahh, I ran into this bug a few times and I always wondered what it was, since I did not see it in my daily use of QtWebKit in Arora. But I realize that&apos;s only because the browser there has its own Copy handling.

Thanks for the patch!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87754</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2008-08-04 07:03:49 -0700</bug_when>
    <thetext>Landed in r35535</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>22524</attachid>
            <date>2008-07-28 11:04:23 -0700</date>
            <delta_ts>2008-08-04 02:38:14 -0700</delta_ts>
            <desc>patch to add Copy handling for non-editable sections of a page.</desc>
            <filename>copy.patch.txt</filename>
            <type>text/plain</type>
            <size>1062</size>
            <attacher name="Erik L. Bunce">elbunce</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC9xdC9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gV2ViS2l0L3F0L0NoYW5n
ZUxvZwkocmV2aXNpb24gMzU0MDgpCisrKyBXZWJLaXQvcXQvQ2hhbmdlTG9nCSh3b3JraW5nIGNv
cHkpCkBAIC0xLDMgKzEsMTIgQEAKKzIwMDgtMDctMjggIEVyaWsgQnVuY2UgIDxlbGJ1bmNlQHRo
ZWhpdmUuY29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAg
ICAgIEFsbG93IENvcHkga2V5IHNlcXVlbmNlIHRvIHdvcmsgaW4gbm9uLWVkaXRhYmxlIGFyZWFz
LgorCisgICAgICAgICogQXBpL3F3ZWJwYWdlLmNwcDoKKyAgICAgICAgKFFXZWJQYWdlUHJpdmF0
ZTo6a2V5UHJlc3NFdmVudCk6CisKIDIwMDgtMDctMjcgIERhdmlkIEtpbHplciAgPGRka2lsemVy
QGFwcGxlLmNvbT4KIAogICAgICAgICBGaXggUXQgYnVpbGQgZmFpbHVyZS4KSW5kZXg6IFdlYktp
dC9xdC9BcGkvcXdlYnBhZ2UuY3BwCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdC9xdC9BcGkvcXdlYnBh
Z2UuY3BwCShyZXZpc2lvbiAzNTQwNikKKysrIFdlYktpdC9xdC9BcGkvcXdlYnBhZ2UuY3BwCSh3
b3JraW5nIGNvcHkpCkBAIC01NTQsNiArNTU0LDExIEBAIHZvaWQgUVdlYlBhZ2VQcml2YXRlOjpr
ZXlQcmVzc0V2ZW50KFFLZXkKICAgICAgICAgICAgIHEtPnRyaWdnZXJBY3Rpb24oYWN0aW9uKTsK
ICAgICAgICAgICAgIGhhbmRsZWQgPSB0cnVlOwogICAgICAgICB9CisgICAgfSBlbHNlIHsKKyAg
ICAgICAgaWYgKGV2ID09IFFLZXlTZXF1ZW5jZTo6Q29weSkgeworICAgICAgICAgICAgcS0+dHJp
Z2dlckFjdGlvbihRV2ViUGFnZTo6Q29weSk7CisgICAgICAgICAgICBoYW5kbGVkID0gdHJ1ZTsK
KyAgICAgICAgfQogICAgIH0KICAgICBpZiAoIWhhbmRsZWQpCiAgICAgICAgIGhhbmRsZWQgPSBm
cmFtZS0+ZXZlbnRIYW5kbGVyKCktPmtleUV2ZW50KGV2KTsK
</data>
<flag name="review"
          id="9942"
          type_id="1"
          status="+"
          setter="hausmann"
    />
          </attachment>
      

    </bug>

</bugzilla>