- Fixed bug: Copying empty text document to clipboardtraps

From: [at]} <Gérard>
Date: Wed, 06 Sep 2006 18:57:10 +0200

----boundary-LibPST-iamunique-1280937363_-_-
Content-type: text/plain

Alexander Iljin a crit :
> Hello, CFB!
>
>
>>> GM> I can't reproduce this bug. Why?
>>>
>>> On a clean BlackBox 1.5 installation this trap always happens.
>>> Just press Ctrl+N, Ctrl+Space, Ctrl+C.
>>> If you can't reproduce it, maybe you've fixed it yourself? Or maybe
>>> you've got other keyboard shortcuts configured? Or maybe your
>>> BlackBox is configured to create non-empty documents on Ctrl+N?
>>> If the latter is the case then try this sequence:
>>> Ctrl+N, Ctrl+A, Ctrl+X, Ctrl+Space, Ctrl+C.
>>> This sould work for non-empty documents, cleaning them up before
>>> copying.
>>>

>>>
>
> CS> I haven't been able to reproduce this bug either - even as the very
> CS> first operation on a clean BlackBox 1.5 installation on a system where
> CS> it had never been installed before. Maybe it is Windows
> CS> version-dependent?
>
> Maybe it is. Especially if the OS does not generate invalid memory
> access exceptions. I'm running Windows XP, and you?
>

> Another way to reproduce the same kind of problem is to
> drag-and-drop an empty text view onto Explorer window. Try this way
> (if you have XP).
>
Yes, it's my case, and now I can see the bug. Your patch seems logical.
Thanks.

Grard

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy



----boundary-LibPST-iamunique-1280937363_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ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5NQVJU


----boundary-LibPST-iamunique-1280937363_-_---
Received on Wed Sep 06 2006 - 18:57:10 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:47 UTC