xna-cncnet-client icon indicating copy to clipboard operation
xna-cncnet-client copied to clipboard

Copying text from listbox crashes client if clipboard operation fails [Copy Paste Error!]

Open aefnet opened this issue 3 years ago • 7 comments

The client with version number 2.6.7.0 gave such an error.

https://prnt.sc/uorwun this is the error message. in client.log

aefnet avatar Sep 27 '20 14:09 aefnet

@AlperenFural what did you paste and where?

Metadorius avatar Sep 27 '20 14:09 Metadorius

https://prnt.sc/uosejv When I try to copy any text from here it gives this error.

aefnet avatar Sep 27 '20 15:09 aefnet

It gave this error when I tried to copy it, I did not try to paste it.

aefnet avatar Sep 27 '20 15:09 aefnet

@Starkku

aefnet avatar Sep 27 '20 20:09 aefnet

This crash most likely occurs because clipboard is currently being used by another process as you try to copy text and client (or more accurately, the relevant code in Rampastring.XNAUI library) does not handle such scenario gracefully. Labeling this as a bug and editing the title to better match the issue at hand.

Starkku avatar Sep 28 '20 08:09 Starkku

[Off topic]

Hi @Starkku , it's better to use the permanent link: https://github.com/Rampastring/Rampastring.XNAUI/blob/6299d91a2598dc3a57240495c4629aeb3527c680/XNAControls/XNAListBox.cs#L573.

pzhlkj6612 avatar Sep 28 '20 09:09 pzhlkj6612

When will it recover? this bug

aefnet avatar Sep 28 '20 10:09 aefnet