[issue23760] Tkinter in Python 3.4 on Windows don't post internal clipboard data to the Windows clipboard on exit

Serhiy Storchaka report at bugs.python.org
Wed Nov 4 10:10:42 EST 2015


Serhiy Storchaka added the comment:

Related Tk issues:

http://core.tcl.tk/tk/tktview/822002ffffffffffffff
http://core.tcl.tk/tk/tktview/732662ffffffffffffff
http://core.tcl.tk/tk/tktview/1844034fffffffffffff
http://core.tcl.tk/tk/tktview/939389ffffffffffffff

The problem should be fixed (at least on Windows) in the last issue, but perhaps Tkinter doesn't execute this code.

A workaround is to make a pause about 0.1 sec (can be depend on perfomance of your computer, it doesn't work if the pause is too short). Append following lines to you example:

r.after(100, r.destroy)
r.mainloop()

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23760>
_______________________________________


More information about the Python-bugs-list mailing list