ID:1300808
 
Resolved
Input controls didn't repaint properly after paste and other operations.
BYOND Version:499
Operating System:Windows XP Pro
Web Browser:Firefox 23.0
Applies to:Dream Seeker
Status: Resolved (499.1196)

This issue has been resolved.
Descriptive Problem Summary:
When you paste a string into an input element, it will not refresh properly. It also does not refresh properly when text is "cut" out.

Numbered Steps to Reproduce Problem:

Get some text into an input element.


Paste any text in the middle of the string.


Expected Results:
The injection of text into the existing string should refresh the input's contents nicely like so.


Actual Results:
But notice that there are some lingering artifacts underneath the new block of text.


Does the problem occur:
Every time? Or how often? Every time.
In other games? Yes.
In other user accounts? Yes.
On other computers? Assuming yes. Haven't tried.

When does the problem NOT occur?
If you paste text at the very end of the existing input element's contents.

Workarounds:

None
The input control's behavior is something we only partly control; it should be refreshing just fine. Do you have another element over it, such as a transparent label? We only support a few transparent elements because of Windows limitations, and they're limited in what they can overlay. When they're overlaid on the wrong element they can cause behavior like this.
No I don't have a transparent label used in that window at all.
Might be helpful to upload some code that will replicate the bug.
In response to Writing A New One
Writing A New One wrote:
Might be helpful to upload some code that will replicate the bug.

Literally just a multi-line Output control will do this. No code.

You can test it at byond://makeii.simplechat. Just download it and run it. Click 'Code' in the bottom right. Type something like "asasdas". Copy it. Place cursor in the middle of the text. Paste it and over and over.
Lummox JR changed status to 'Verified'
Lummox JR resolved issue with message:
Input controls didn't repaint properly after paste and other operations.