<?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>190188</bug_id>
          
          <creation_ts>2009-04-20 18:02:18 +0000</creation_ts>
          <short_desc>readonly inputs receive focus (W3C)</short_desc>
          <delta_ts>2009-10-08 17:15:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>khtml event</component>
          <version>4.2.2</version>
          <rep_platform>Microsoft Windows</rep_platform>
          <op_sys>Microsoft Windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="lunter">lunter</reporter>
          <assigned_to name="Konqueror Bugs">konqueror-bugs-null</assigned_to>
          <cc>faure</cc>
    
    <cc>matthew</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>745265</commentid>
    <comment_count>0</comment_count>
    <who name="lunter">lunter</who>
    <bug_when>2009-04-20 18:02:18 +0000</bug_when>
    <thetext>Version:           4.2.2 (using KDE 4.2.2)
OS:                MS Windows
Installed from:    MS Windows

W3C: Read-only elements receive focus
http://www.w3.org/TR/html401/interact/forms.html#adef-readonly

Konqueror: readonly element can&apos;t receive focus</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745266</commentid>
    <comment_count>1</comment_count>
      <attachid>32960</attachid>
    <who name="lunter">lunter</who>
    <bug_when>2009-04-20 18:03:30 +0000</bug_when>
    <thetext>Created attachment 32960
example</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745334</commentid>
    <comment_count>2</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2009-04-20 20:50:30 +0000</bug_when>
    <thetext>*** Bug 190146 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>745336</commentid>
    <comment_count>3</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2009-04-20 20:50:34 +0000</bug_when>
    <thetext>*** Bug 190157 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>779210</commentid>
    <comment_count>4</comment_count>
    <who name="Matthew Dawson">matthew</who>
    <bug_when>2009-06-21 06:07:15 +0000</bug_when>
    <thetext>This bug is reproducible on a recent SVN snapshot r984032.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>842004</commentid>
    <comment_count>5</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2009-10-08 17:15:42 +0000</bug_when>
    <thetext>Fixed for 4.3.3.

I wrote the wrong bug number in the commit log, should have said 190188 instead of 203069.

SVN commit 1032808 by dfaure:

Allow to focus readonly form elements (like other browsers do, partial revert
of the commits for 159682),
which makes it possible to copy their text, too (for tomj on irc).
On the other hand, don&apos;t allow Ctrl+X and Ctrl+V to work in such widgets.
Will backport for 4.3.3.
BUG: 203069
CCBUG: 159682


 M  +1 -1      html/html_formimpl.cpp  
 M  +18 -12    khtml_ext.cpp  
 M  +2 -2      rendering/render_form.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=1032808</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>32960</attachid>
            <date>2009-04-20 18:03:30 +0000</date>
            <delta_ts>2009-04-20 18:03:30 +0000</delta_ts>
            <desc>example</desc>
            <filename>focus.html</filename>
            <type>text/html</type>
            <size>340</size>
            <attacher name="lunter">lunter</attacher>
            
              <data encoding="base64">PGh0bWw+DQogPGJvZHk+DQogIDxkaXY+PGlucHV0IG9uZm9jdXM9ImFsZXJ0KCdvaycpIiByZWFk
b25seT0icmVhZG9ubHkiIC8+PC9kaXY+DQogIDxkaXY+Q2xpY2sgb24gaW5wdXQgZWxlbWVudCAt
IGl0IHNob3VsZCBmaXJlIG9uZm9jdXMgZXZlbnQgKGFsZXJ0KTwvZGl2Pg0KICA8ZGl2Pi0gS29u
cXVlcm9yOiBGQUlMUzwvZGl2Pg0KICA8ZGl2Pi0gSUU6IE9LPC9kaXY+DQogIDxkaXY+LSBGaXJl
Zm94OiBPSzwvZGl2Pg0KICA8ZGl2Pi0gT3BlcmE6IE9LPC9kaXY+DQogIDxkaXY+LSBTYWZhcmk6
IE9LPC9kaXY+DQogIDxkaXY+LSBDaHJvbWU6IE9LPC9kaXY+DQogPC9ib2R5Pg0KPC9odG1sPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>