ID:119121
 
Resolved
The focus attribute for a skin control only returned "true" in winget() if the focus was on the actual control itself. Now it also returns true if the focus is contained by the control. (E.g., window.focus is now true if the focus is on an input box in that window.)
BYOND Version:490
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Firefox 6.0.2
Applies to:Dream Seeker
Status: Resolved (490)

This issue has been resolved.
Descriptive Problem Summary:
winget(src,"Main","focus") always returns false.

Numbered Steps to Reproduce Problem:
Create a window
winget() the window's focus

Code Snippet (if applicable) to Reproduce Problem:
world<<winget(src,"Main","focus")


Expected Results:
False if the window isn't in focus, true if it is.

Actual Results:
false, just false... always false...

Does the problem occur:
Every time? Or how often? Every Time
In other games? Don't know
In other user accounts? Yes.
On other computers? Yes.

When does the problem NOT occur?
In every situation where I don't check for the focus, but not using the code isn't a solution. ;)

Workarounds:
Don't use it?
Reproduced it here, it ALWAYS returns false.