ID:112283
 
This issue has been marked as a duplicate of id:115079
BYOND Version:481
Operating System:Windows 7 Home Premium 64-bit
Web Browser:Firefox 3.6.16
Applies to:Dream Seeker
Status: Duplicate

This issue has been marked as a duplicate of id:115079
Descriptive Problem Summary:
The gray menus, both for right click verbs, and the file menus on interfaces, seem to have drastically slowed in 481. Not only do they seem to take a moment to pop up the first time you access them, but clicking on them can be completely unresponsive, even though the blue highlighting does still seems to be responsive.

Numbered Steps to Reproduce Problem:
It can be tested on the Mission Giver in view of where you start in Adventures, or in the Dojo slightly south of there, by right clicking the Sensei.
I'm not sure if it can be duplicated in a small test demo, since I haven't bothered to try it, but it does seem likely. The issue has been present in various random BYOND games I have tried since installing to 481.

Code Snippet (if applicable) to Reproduce Problem:
mob/verb/Fail()
set src in world
world<<"Boink"


Expected Results:
Clicks on a menu entry get processed instantly

Actual Results:
Clicks on a menu entry are unresponsive for a short time after the menu appears

Does the problem occur:
Every time? Or how often? Often enough to be considered re-produce-able
In other games? Yes
In other user accounts? Most likely
On other computers? Unknown

When does the problem NOT occur?
It doesn't seem to happen 100% of the time, but pretty close to it. It seems like it may also be more prevalent the first time you click on the source of the menu.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
I believe this problem is new to 481, though not 100% sure on that. If you can't think of any new changes that may have caused the problem, then I can do some backwards-testing to make sure.

Workarounds:
No functional ones? Don't use 481?
Don't use file menus or right click verbs? They're both somewhat lame in the first place...
Menu code didn't change between 480 and 481, nor did the code that manages the icons for the right-click menus. You might also want to test this on other computers, since I have found under stressed conditions I have trouble with menus in all kinds of applications.
Actually the menus were incredible slow since I started to use byond in september 2010. Every Space Station 13 player can confirm it. Right clicking on pile of 10-20 items causes DreamSeeker to freeze for 1-5 seconds. I can give you proof video if you need it.
I can vouch as well. I thought it was my mouse at first but it's not.
I can confirm this but my DS was extremely taxed at the time and I assume that was the issue.
Menu's can be slow if theres a few items there, the more there is the considerable amount slower it is, nothing should be that slow so maybe something can be improved to make it faster to display when there are like 20 or so items it's like waiting for the world to end, it takes forever & it should be almost instant, its not like its 100+

Maybe it can't be improved though, I don't know maybe it's a windows problem, looks the same as menus in other programs so windows may just handle the items & bring up these menus slowly.
The problem with menus not popping up when there are several stacked items is a separate issue than what I'm complaining about here.
My menus were appearing instantly, clicking on them just didn't do anything.
As I see it it's slow the first time to actually pop-up is what it sounds like but in any case I have never had this problem but rarely ever have menus that are crazy like this with lots of items at one place or any real amount of things, games I played with any right click menus has been working good for me so far in 485
Oh, I see, I misunderstood you for first time. You're talking about situation when the menu successfully pop-ups and the blue selection does follow the mouse but clicking does nothing as if the left mouse button is broken? Well, I experience this bug too, however I was thought it is my virtual machine software fault.

So yeah, I confirm: that bug happens with Byond 481.1090 under Windows XP in Virtual Box.
Confirmation under 485. The effect begins when the client is under stress and is compounded as the stress builds.
I also confirm this issue.
Hiro the Dragon King wrote:
Confirmation under 485. The effect begins when the client is under stress and is compounded as the stress builds.

It seems to me that it occurs when the server is under stress.
I hadn't experienced this issue until I played Spacestation 13 recently and the server was struggling to keep up. Client-side, my computer wasn't breaking a sweat.
Your ability to click on an interface object could never be affected by anything on the server. (EDIT: Aside from moving the button randomly.)
To my knowledge the right-click menu shouldn't be hampered by server performance in any way; it should be acting on info already available to the client.
I have never, ever experienced this issue until ~481.
The following is a video reproducing the issue on an SS13 server (byond://BYOND.world.996371751)
The blue represents a mouse click.
http://www.youtube.com/watch?v=X3XbFm4692U

You're correct about it not being affected by server perfomance. The issue occurs the same during the start of an SS13 round as it does after ~30 minutes. (The SS13 round starts off with a server load of "Minimal" and progresses over time to "Oh F*ck", on this particular server) But it's definitely not any form of CPU/Video/Memory stress on my computer.
Although this issue came first, I've marked this as a duplicate of 3177 because that's the first one I closed, and it had a reliable test case that led to the discovery of the root problem.