ID:1670814
 
Resolved
maptext was acting mouse-opaque, in contrast to the DS behavior of considering all maptext mouse-transparent.
BYOND Version:507
Operating System:Windows 8 64-bit
Web Browser:Chrome
Applies to:Webclient
Status: Resolved (507.1254)

This issue has been resolved.
Descriptive Problem Summary:
Okay, this is an extremely weird problem I'm having and I have no idea how to explain it. So, I'll link an image to help explain it.



When I mouse over Register, Login, Quit, or Login With BYOND the icon's change to their proper icon.

However, when I click Login and I get an alert message added to the client's screen everything appears to look normal. Once you hover over a button, the HUD object drops down as seen in the picture. I'm not exactly sure why but it's happening.

Code for hovering the alert buttons:
Alert
icon='AlertBox1.png'
layer=HUD_LAYER+5
MainText
icon=null
layer=HUD_LAYER+6
maptext_width=185
maptext_height=64
Buttons
MouseEntered()
src.icon='AlertBtn2.png'
..()

MouseUp()
src.icon='AlertBtn2.png'
winset(usr, null, "command=\"mouseDown [src.name]\"")
..()

MouseExited()
src.icon='AlertBtn1.png'
..()

Button1
icon='AlertBtn1.png'
layer=HUD_LAYER+6
Text
icon=null
layer=HUD_LAYER+7
maptext_width=50

Button2
icon='AlertBtn1.png'
layer=HUD_LAYER+6
Text
icon=null
layer=HUD_LAYER+7
maptext_width=50



Code for hovering the buttons that seem to work fine:
LoginScreen
icon='Login.png'
layer=HUD_LAYER

CharLogin_Byond
icon='btnKeyLogin1.png'
layer=HUD_LAYER
MouseEntered()
src.icon='btnKeyLogin2.png'
..()

MouseUp()
icon='btnKeyLogin2.png'
AlertBox(usr, "<center>Logging in with a byond key is coming soon.", "Okay")
//usr.client.CharLogin_Login()
..()

MouseExited()
icon='btnKeyLogin1.png'
..()

Register
icon='btnAccRegister1.png'
layer=HUD_LAYER
MouseEntered()
src.icon='btnAccRegister2.png'
..()

MouseUp()
icon='btnAccRegister2.png'
usr.client.Register()
..()

MouseExited()
icon='btnAccRegister1.png'
..()

CharLogin
icon='btnLogin1.png'
layer=HUD_LAYER
MouseEntered()
src.icon='btnLogin2.png'
..()

MouseUp()
icon='btnLogin2.png'
usr.client.CharLogin_Login()
..()

MouseExited()
icon='btnLogin1.png'
..()

Quit
icon='btnQuit1.png'
layer=HUD_LAYER
MouseEntered()
src.icon='btnQuit2.png'
..()

MouseUp()
icon='btnQuit2.png'
winset(usr, null, "command=.quit")
..()

MouseExited()
icon='btnQuit1.png'
..()



Numbered Steps to Reproduce Problem:

Code Snippet (if applicable) to Reproduce Problem:


Expected Results:

Actual Results:

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

When does the problem NOT occur?

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

Workarounds:

Do you have a project I can test this with?
I need to find a way to reproduce it. I can send you the source but it's messy as hell. Do you have an email address I can email it to?

EDIT: I'm going to page you a download link.
Man, this one was brutal, but I finally found it--and another bug besides, thanks to your project.
Lummox JR resolved issue with message:
maptext was acting mouse-opaque, in contrast to the DS behavior of considering all maptext mouse-transparent.