Information
Apparently when you minimize a ROBLOX game client on an OS of windows 7 or earlier, it also interferes with the size of all scaled GUIs in-game (windows 8-10, on the other hand, does not). This means if you have a frame with the dimensions of {1,0} , {1,0} in size, when you minimize your game, it will be scaled down to nothing (i.e, having an AbsoluteSize of 0,0).
The problem
I have a chat system, where I rely on this section of code to get the space between the speaker label, and the message label:
-- And no, I'm not adding a wait(). That would take forever for messages to send.
while Label2.TextBounds.X < Label1.TextBounds.X do
AppendText(Label2,' '); -- Adds a space to the text of Label2
end;
Every time a chat message is received by a player, this code must execute to find the length between the speaker label, and the message label so it can have a multi-line text effect (As seen here: http://prntscr.com/a9q72d)
There's no problem with this method when in-game. The PROBLEM is when you minimize your game client (on an OS of win7 or earlier), and for example, someone says something in chat while your game is minimized.
At this point, the while loop is just going to crash your client, because the scaled chat frame is now set to an AbsoluteSize of 0,0 (thanks to the windows OS 7- method of minimizing your screen), and it screws up the TextBounds property of the text labels.
Solution?
I know this was an odd question, but if anyone has a solution to this, or even an alternative method, I'd really appreciate it.

1 comment
Yeah I started to strongly consider that, but I actually thought of a better way, which would be just queuing the received chats while the player's screen is minimized, then loading them upon opening again. Thanks for your input though.