Output types and traceback convert to what the one under the mouse was when they appeared

When certain types of output appear in the Output, their appearance and traceback link (when you click on them) becomes the same as whatever output was hovered over at the time.

A good reproduction is as follows:

Open a place in studio and do the following:

  • create a new script
  • enter warn("test") wait(5) for i = 1, 5 do print(i) end error("test error")
  • hit play
  • mouse over the warning in the output
  • once the other text shows up, move your mouse elsewhere in the output

This results in the following:

If you separate the output into different scripts (e.g. the initial warning into one and everything else into another) you can see that the outputs all point to the place the warning came from rather than the proper place.

From what I can tell, this is only triggered by printed output and warnings, though as you can see in the gif it converts all the output regardless once itā€™s triggered. It notably doesnā€™t trigger if the code is ran in the command bar (as no traceback is given) and if the output from the script doesnā€™t provide a traceback, like stuff from printidentity.

4 Likes

I have encountered this bug before, the output types changes into one after exactly the same reproduction. However, I was not sure if I reproduced that through moving the mouse.

I gotta check this later.

I just tried this in a baseplate localscript and did not produce the effect described.
Perhaps the error is associated with the HTTPService situation.

After disabling all of my plugins the same bug occurred. Are you on 32- or 64-bit Studio?

I was able to reproduce this with the repro code given (and even in Linux). Remarkable bug, wonder what causes it.

Occurs during a play solo test.

Quite recent, I believe this issue has only been happening for about a week.

Iā€™m not sure how exactly it happens, but I think it might have something to do with the place auto-saving (in my screenshot, the autosave text was cut out, but it was there above the print).

So, with that in mind, the repo is:

  • Open a place
  • Make it so it throws an error or does another type of print
  • Spam play solo until the place autosaves before/during the test is happening
  • See results in the output
4 Likes

Itā€™s not just purple. Itā€™s whatever the color of the first message is. Iā€™ve had it happen in play solo and edit mode and it appears to be triggered by mousing over the output (making the underlines appear)

3 Likes

This occurred to me a few times, sometimes I get the standard ā€˜printā€™ color or the red error message color.

2 Likes

This is an odd one which I randomly encountered just by hitting Enter.

Apparently, if you execute your code from the command line in studio at the same time an auto-recovery file is created, it will merge your output with the recovery fileā€™s.

Result

1 Like

I also get this bug. It catches me off guard because I think an error is thrown at me from a plugin or something, but itā€™s just combined with the prints. This doesnā€™t only happen with recovery files, but with script warnings and errors too.

This also happens with prints, warnings, errors, and basically every other type of message in output.

image

The ā€œGo to Game Settings and turn on Allow HTTP requests.ā€ is supposed to be blue.

image

It can be seen in this gif but I canā€™t come up with a consistent repro. I thought resizing the output window or mousing over it after or before beginning or exiting play solo had something to do with it but I couldnā€™t get it to replicate consistently.

https://gyazo.com/f2cb2e0ed3320a2775b57b52a8b19653.gif

This does happen to me in the worst of times though, like if Iā€™m actually trying to read output this will conveniently happen.

image

Seen above is a crop of my output window after a quick test. Usually the disconnect message and auto-recovery messages are purple, the Nice? (x9) is white. They do output that way but as soon as I mouse over any line of text in the output the entire output changes to purple-link text for the auto-recovery message. The example image doesnā€™t show it but error and warning outputs are also also turned purple and auto-recovery-link-ified.

image

I donā€™t have auto-recovery enabled so Iā€™m not sure why Iā€™m getting the output message in the first place, but it eating all my output colours and script links is pretty annoying.

Auto-Recovery created message are the only ones that Iā€™ve noticed trigger this behaviour.


I can repro the purple-paintbucket-fill behavior every time an auto-recovery message gets sent to my output window.

Iā€™m unable to figure out a repro for the auto-recovery message showing up when the Auto-Recovery Enabled property is disabled.

Studio version 0.433.0.405142 on Windows 10

1 Like

The new output window will sometimes glitch and render everything in the same color as the top item. Clicking any item in the output will behave as if you clicked the top item as well.

As you can see in this video, all of my normal prints got turned into warnings (like the top warning). When I go click a stack trace elsewhere in the output, it brings me to the warning at the very top.

The output was the proper color, until I did something (I forget whatā€¦ maybe resizing the output?) and it triggered everything to turn yellow.

Windows 10

2 Likes

Thanks for the report! Weā€™ve filed a ticket to our internal database and weā€™ll follow up here when we have an update for you.

3 Likes