ID:1993630
 
BYOND Version:509
Operating System:Windows 7 Pro 64-bit
Web Browser:Chrome 47.0.2526.73
Applies to:Webclient
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
link() byond:// messages appear to not go through to Topic() or open http:// pages

(It works completely fine in dreamseeker, only occurs in webclient)

Numbered Steps to Reproduce Problem:

Code Snippet (if applicable) to Reproduce Problem:
src << link("byond://?src=\ref[src];action=test")
src << link("http://google.com/")

mob/Topic(href,href_list[])
..()

switch(href_list["action"])
if("test")
world << 1


Expected Results:
Topic() to be called and webpage to open.

Actual Results:
Nothing happens.

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

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.)
I have no idea if it's related since that bug report is similar but was directed at dreamseeker
http://www.byond.com/forum/?post=1810425

Workarounds:

link() isn't supported yet, so that would be why. It's one of the few things that isn't.

Linking to a new world is something I can definitely add support for; it just hasn't been handled yet because it's kind of tricky. Opening a browser tab/window is easier.
Alright, I should be able to work around it, game in question just uses it for topic calls and opening a webpage, nothing too fancy.

Is there a post that lists what's not supported yet? I recall macros aren't in and I obviously read that back somewhere but couldn't find anything in stickys.
In response to Rotem12
Rotem12 wrote:
Alright, I should be able to work around it, game in question just uses it for topic calls and opening a webpage, nothing too fancy.

Is there a post that lists what's not supported yet? I recall macros aren't in and I obviously read that back somewhere but couldn't find anything in stickys.

http://www.byond.com/docs/ref/webclient.html
Actually link() is supported; I had forgotten about that. Not sure about how it handles byond:// links, but http:// ones ought to get a popup. It's conceivable you have a popup blocker preventing the link from opening.
I don't think anything is blocking it, I've tried in IE with pop up blocker disabled and issue remained. I also asked someone else to try just to be sure.

It's possible we both have something blocking it but I'd like to think it would tell me if something got blocked because it sometimes does.
I'll have to see what our webclient container scripting is doing. Maybe it's not properly using that command yet, but the command is being sent to it.
Just wondering if this is on the list/how priority is this. It's sort of important in a lot of projects to be able to send Topic messages internally.
I've put this on my look-at list so I'll be sure to look into it soon.