D 2018-07-08T20:20:14.738 J assignee fvogel J icomment All\sthese\sthree\stests\sfail\sbecause\sthe\slast\sstatement\s"clipboard\sget"\sreturns\san\sempty\sstring\sinstead\sof\sthe\sexpected\serror\s"CLIPBOARD\sselection\sdoesn't\sexist\sor\sform\s"STRING"\snot\sdefined".\r\n\r\nAn\sinstrumented\sinteractive\stest\ssession\sprovides\ssome\sinsight:\r\n\r\n\r\n%\sclipboard\sclear\r\nTkClipInit:\sclipboardActive\sset\sto\sFALSE\r\nTk_ClipboardClear:\sclipboardActive\sis\sFALSE\r\nXSetSelectionOwner:\sclipboardActive\sis\sFALSE,\schanging\sowner\r\nTk_ClipboardClear:\sclipboardActive\sset\sto\sTRUE\r\n%\sclipboard\sappend\sTest\r\nTk_ClipboardAppend:\sclipboardActive\sis\sTRUE\r\n%\sselection\sclear\s-selection\sCLIPBOARD\r\nXSetSelectionOwner:\sclipboardActive\sis\sTRUE\r\nClipboardLostSel:\sclipboardActive\sset\sto\sFALSE\r\n%\sputs\s"!![clipboard\sget]!!"\r\nTk_GetSelection:\sentering\r\nTk_GetSelection:\sselection\sowned\sby\ssome\sother\sprocess\r\nTkSelGetSelection:\sentering\r\ntkProvidePasteboard:\sclipboardActive\sis\sFALSE\r\nTkSelGetSelection:\sbefore\scalling\sproc,\sstring\sis\s!!!!\r\n!!!!\r\n%\r\n\r\n\r\n(Note\sthat\stesting\sthis\sclipboard\sfeature\sis\sprone\sto\serrors:\syou\smust\seither\srun\sthe\stest\sfrom\sthe\stest\ssuite,\sor\stype\severything\sby\shand\s(as\sopposed\sto\scopy/pasting)\sotherwise\sthe\sclipboard\ssoon\sgets\smangled\sby\sthe\stest\sof\sthe\spasted\scommands).\r\n\r\nFrom\sthe\sabove\slog\sI\sthink\sthat\stesting\sdispPtr->clipboardActive\sis\smissing\sin\sthe\smacOS\sversion\sof\sTkSelGetSelection,\swhich\sis\stherefore\smy\sfix\sproposal\s[b4c5f163].\r\n\r\nWith\sthis\spatch\sclipboard-4.[124]\sno\slonger\sfail\son\smacOS. J login fvogel J mimetype text/x-fossil-wiki J resolution Fixed K b947864419c55e7278b87fcc9d701a914cb7914a U fvogel Z b9083b4bc725d352929d3acaddc18a94