ID:1597211
 
Not a bug
BYOND Version:506
Operating System:Windows 8 Pro 64-bit
Web Browser:Chrome 35.0.1916.114
Applies to:Dream Seeker
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:
Using winset() for setting the background-color of an output box changes the color to a blueish type color.

Numbered Steps to Reproduce Problem:
Use the following code and run. Both versions produce the samething.

Code Snippet (if applicable) to Reproduce Problem:

Code #1:
mob/Login()
.=..()
if(.)
winset(src,"output","background-color:#000000")

world
name="Background Bug"


Code #2:
mob/Login()
.=..()
if(.)
winset(src,"outputwindow.output","background-color:#000000")

world
name="Background Bug"



Expected Results:
For winset() to change the background-color to #000000, or black.

Actual Results:

winset() changes the background-color so some shade of blue.

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?

If I make changes to the skin before runtime. Anytime when the world is running, it occurs.

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.)

Not that I'm aware of.

Workarounds:

Remove the ability to freely customize your skin during runtime.
Does winset() support colons? I thought it used the equal-sign for separating the parameter and value.
The usage is wrong here; that should be = instead of a colon.
Oh sorry, I guess I wasn't paying attention and kept skipping past that since I've been doing some CSS stuff. Thanks for that correction.

Anywho, should it still change the color to that blue, rather than a default white/black?
Does it still do that when you use the proper syntax?
It works perfectly using "=" rather than ":"
Lummox JR resolved issue (Not a bug)