Tk Source Code

Artifact [ac95d79f]
Login

Artifact ac95d79f6fc3f74298a08051ac4f15ad5cc9f8b9:

Ticket change [ac95d79f] - New ticket [28d0b8fb] Delete the property used for X selection conversion before requesting the conversion. by dpb 2017-07-24 00:29:42.
D 2017-07-24T00:29:42.981
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment <tt>TkSelGetSelection</tt>\srequests\san\sX\sselection\sconversion.\sAccording\sto\sthe\sICCCM\ssection\s"Requesting\sa\sSelection",\r\n\r\n<blockquote>Requestors\sshould\sensure\sthat\sthe\snamed\sproperty\sdoes\snot\sexist\son\sthe\swindow\sbefore\sissuing\sthe\s<tt>ConvertSelection</tt>\srequest.\sThe\sexception\sto\sthis\srule\sis\swhen\sthe\srequestor\sintends\sto\spass\sparameters\swith\sthe\srequest\s(see\sbelow).</blockquote>\r\n\r\nSince\s<tt>TkSelGetSelection</tt>\sprovides\sno\sway\sto\ssupply\sa\sparameter\sfor\sthe\sconversion\srequest,\sit\sshould\sdelete\sthe\sproperty\sbefore\smaking\sthe\srequest.\sOtherwise,\sthe\scurrent\svalue\sof\sthe\sproperty\s(which\sis\sthe\sresult\sof\sthe\sprevious\sconversion\srequest\sfor\sthe\ssame\sselection)\smay\sbe\sunintentionally\sinterpreted\sby\sthe\sselection\sowner\sas\sthe\sparameter.
J is_private 0
J login dpb
J priority 5\sMedium
J private_contact d7525f76e0d0b7da27c233ac1b79319d0f7e3217
J resolution None
J severity Minor
J status Open
J submitter dpb
J subsystem 53.\s[selection]
J title Delete\sthe\sproperty\sused\sfor\sX\sselection\sconversion\sbefore\srequesting\sthe\sconversion
J type Patch
K 28d0b8fb2ff991fde1483a88f159c0449fd8108f
U dpb
Z 44bda75b30d6d78003efa4d1d0352f52