ID:91848
 
Not a bug
BYOND Version:462
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Firefox 3.5.8
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 Developer forums.
Descriptive Problem Summary:
Making choice in "input() in list()" by double clicking, instead of click and press OK also causes map to be pressed
Numbered Steps to Reproduce Problem:
Use supplied code. Make any icon for turf and mob. Compile and run. Press the verb, window with choices appears, move it over the map, and double click any of choices in the list, the window closes as you made the choice, but also sends click to the map, which is quite annoying.

Code Snippet (if applicable) to Reproduce Problem:
world
maxx=20
maxy=20
maxz=1
turf
icon='grass.dmi'
Click()
walk_to(usr,src)
mob
icon='mob.dmi'
verb/repro()
input("Window","Label") in list("choise 1", "Choise 2", "choise3")


Expected Results:
Do not send click to map, when double clicking in the list

Actual Results:
Sends click to the map, causing annoying behavior

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

When does the problem NOT occur?
When using single click to select, then hitting either pressing OK

Workarounds:
Single click your choice, then press either press OK
Maybe I just didn't explain it properly. When "input() in list()" type window appears, where I need to choose something out of few choices, I double click any of them, double click on the window is handled as my choice, and it closes, sending my answer to the host, but it also sends click to the map.