ID:1737572
 
Resolved
Double-clicking atoms in controls other than the map didn't work.
BYOND Version:507
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 39.0.2171.71
Applies to:Webclient
Status: Resolved (507.1270)

This issue has been resolved.
Descriptive Problem Summary:
Unable to DblClick items in statpanels.
Other mouse functions activate as expected.
Numbered Steps to Reproduce Problem:
Using Cow RP as an example case:
1. Connect to Cow RP with web client
2. Create a Character
3. Move through portals and select a peasant job
4. Equip pickaxe
5. Commands > dig hole
6. Move into hole to go underground
7. Click the dirt walls to get stone
8. DblClick Stone to pickup
9. DblClick Stone in your Items tab
Code Snippet (if applicable) to Reproduce Problem:
obj/test
DblClick()
world<<"we did it"

mob
New()
new/obj/test (src)
Stat()
statpanel("Inventory")
Stat(src.contents)


Expected Results:
DblClick() executes when DblClicking an item in statpanel
Actual Results:
No effect.

Does the problem occur:
Every time? Or how often?
100% reproduction rate
In other games?
Untested
In other user accounts?
Yes
On other computers?
Yes

When does the problem NOT occur?
When DblClicking atoms in the map control

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? Untested (Visit http://www.byond.com/download/build to download old versions for testing.)

Workarounds:
None.


Notes:
Cow RP uses custom skin stuff for just about everything. It's possible this is just Cow RP's problem, as I'm not familiar enough with other games to test this issue elsewhere. If this issue cannot be reproduced I will delve further into the whys and hows.
Seems to be working fine for me, if you have other instances of DblClick() defined in your code you'll need to call ..() otherwise only the first one the code compiles will execute.
I'm calling ..() in all my DblClick procs when the issue occurs.
The DblClick is working for me in DreamSeeker but not the awesome new webclient (sorry if that wasn't clear).
It's possible there is another issue at the root of this and it isn't as simple as "it don't work". I've been seeing other stuff unique to the webclient, it's possible one of these other issues are actually the problem.
Thanks!
Lummox JR resolved issue with message:
Double-clicking atoms in controls other than the map didn't work.