Text copied from TortoiseHg workbench to clipboard disappears from clipboard when closing TortoiseHg workbench
Created originally on Bitbucket by KoenT_IM (Koen Tanghe)
Description
Whenever I copy some text from within the TortoiseHg workbench to the Windows clipboard, then close the workbench, and then try to paste the clipboard in some other application, it doesn’t work: no text is pasted at all. It is as if the text has been removed from the clipboard by closing the workbench.
Reproduction steps
- open the TortoiseHg workbench by right-clicking on the top folder of your locally checked out repository and selecting “Hg Workbench“
- select a changeset in the list of changesets to have the full commit message show up in the revision details panel
- in that panel, select and copy some text from the commit message
- close the workbench, go to a different Windows application and paste the copied text → no text is pasted at all (expected behavior: the copied text should still be in the clipboard and get pasted just fine in the other application)
Note that in step 4. pasting does work if you keep the workbench open at the moment of pasting.
Technical info
TortoiseHg version 5.0.2 (with Mercurial-5.0.2, Python-2.7.13, PyQt-5.9.1, Qt-5.9.2)
Windows 10 Pro, version 1903, OS build 18362.476