<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>10154</bug_id>
          
          <creation_ts>2002-11-03 16:15 0000</creation_ts>
          <short_desc>Bug in Tk prevents &lt;control&gt;-v pasting</short_desc>
          <delta_ts>2003-02-04 19:42:18 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>1.4_rc1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>stephen@theboulets.net</reporter>
          <assigned_to>karltk@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>stephen@theboulets.net</who>
            <bug_when>2002-11-03 16:15:38 0000</bug_when>
            <thetext>A bug in Tk prevents tcltk apps in linux from being able to use &lt;control&gt;-v
pasting in apps like idle.py (part of python).

The workaround is to comment out these lines in the file
&quot;/usr/lib/tk8.3/text.tcl&quot;, which is part of dev-lang/tk-8.3.3-r2 like so:

#if {[string compare $tcl_platform(platform) &quot;windows&quot;]} {
#bind Text &lt;Control-v&gt; {
#    if {!$tk_strictMotif} {
#       tkTextScrollPages %W 1
#    }
#}
#}

If I knew how to use sed I&apos;d write a script to do that.  ;)

Here&apos;s a link to the Tk bug report:

http://sourceforge.net/tracker/?func=detail&amp;aid=605277&amp;group_id=12997&amp;atid=112997</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>karltk@gentoo.org</who>
            <bug_when>2002-11-11 10:49:39 0000</bug_when>
            <thetext>Fixed. Available for testing as dev-lang/tk-8.3.3-r3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>stephen@theboulets.net</who>
            <bug_when>2002-11-14 08:14:24 0000</bug_when>
            <thetext>The fix works for me. You can paste now.

Note that this fixes the issue where you can&apos;t paste. There is still the Tk bug
were pasting over highlighted text  won&apos;t replace the highlighted text though.
Hopefully the next version of Tk solves that one.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>