ID:2523407
 
Resolved
After centering text in the output control, future lines incorrectly remained centered.
BYOND Version:513.1497
Operating System:Windows 7 Pro 64-bit
Web Browser:Chrome 78.0.3904.97
Applies to:Dream Seeker
Status: Resolved (513.1498)

This issue has been resolved.
Descriptive Problem Summary:
After you send a message to an output with the center tag, even if it's closed, all further messages will be centered aswell.

Here is a screenshot:
https://gyazo.com/2c3357b81ed1550a205e058a928398b8

Numbered Steps to Reproduce Problem:
Send a message to an output, without any alignment tags, just to show it's working.
Send a message with the center tag, properly closed.
Send a message without any alignment tags, see that it's centered anyway.

Code Snippet (if applicable) to Reproduce Problem:
src<<output("bla 1")
src<<output("<center>center</center>"
src<<output("bla 2")


Expected Results:
Further messages outputted don't get centered just because one was.

Actual Results:
Every message after one was centered get's centered aswell

Does the problem occur:
Every time? Or how often? Every time
In other games? Yes
In other user accounts? Yes
On other computers? YEs

When does the problem NOT occur? I don't know

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.) I don't know

Workarounds:

None that I know of
It would help to know if this issue existed in older versions.
In response to Lummox JR
Last version it didn't happen on was 512.1488.
First showed itself on 513.1490.
That's helpful; thanks.
Confirmed here as well, not sure if it's just </center> or not though.

I do recall there's some hackery involved in making centering work in the RichEdit control, probably got borked by the unicode change.
In response to Nadrew
bold, italic, underline, font-family and color are working fine
We have this one too, but SS13 is mostly unaffected because we are switching people to HTML chat
Lummox JR resolved issue with message:
After centering text in the output control, future lines incorrectly remained centered.
In response to Lummox JR
This is still happenning in 513.1506. Strangely it only happens if the first center message was properly closed!

After that, I have to send a message with center that isn't closed, and then latter messages without the center tag won't get centered. Weird, I know.
This needs a new bug report with a code snippet, since this one was fixed and closed.