[Lazarus] Clipboard.HasFormat(CF_TEXT)

Colin Western l at c-m-w.me.uk
Mon May 26 20:41:27 CEST 2014


In the wrong order is certainly a possibility also, though I was more concerned about the hang. When the actions overlap, I think anything can happen. 

On 26 May 2014 18:43:23 BST, Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
>On Mon, 26 May 2014 18:16:10 +0100
>C Western <l at c-m-w.me.uk> wrote:
>
>>[...]
>> I would think that any application that uses the clipboard would be 
>> vulnerable to this. For example, I think I can trigger the issue with
>
>> two Ctrl-V's in succession with the edittest example in lazarus.
>Start 
>> it and say libre office (I used a spreadsheet with about 1000 lines
>of 
>> data.) Select and copy a large block in the spreadsheet, and then
>hold 
>> down the Ctrl+v key in edittest. A few copies will appear very
>quickly, 
>> but then the application hangs for several seconds (at least).
>Lazarus 
>> itself can be made to hang in the same way.
>
>Do you mean the copies could be processed in the wrong order?
>
>Mattias
>
>--
>_______________________________________________
>Lazarus mailing list
>Lazarus at lists.lazarus.freepascal.org
>http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140526/2f5cf6ce/attachment-0003.html>


More information about the Lazarus mailing list