New TextChatService "/" to send message sends slash in message

Using the “/” hotkey to send a message in roblox’s new TextChatService causes the / to send in the beginning of the message. This occurs across multiple experiences, and can be reproduced by creating a new baseplate file and using the new TextChatService. This occurs both in roblox studio and in-experience.

Example from in-experience:

Other Experiences:

Expected behavior

When using the “/” hotkey to send a chat message, the slash should not send as part of the message.

68 Likes

That and TextChatService also causes issues with bubble chat. Some players are reporting that bubble chats don’t appear at all for them or appear for a millisecond before disappearing quickly. I have no idea what the cause for this is but players have been experiencing it for months (I haven’t).

I’m not sure if this is the reason, but it might be that having low graphics somehow effects the bubble chat.

4 Likes

This same behavior happens when creating a custom chat system too. UserInputService.InputBegan detects input from the user. If you use TextBox:CaptureFocus() within the same frame when the user presses “slash” or any other key, the TextBox.Text will also include it as a typed character.

UserInputService.InputBegan:Connect(function(Input, IsGame)
    if IsGame then
        return
    end

    if Input.KeyCode == Enum.KeyCode.Slash then
        task.wait(0.1)
        TextBox:CaptureFocus()
    end
end)

This can be patched by adding a wait time before calling TextBox:CaptureFocus() within the UserInputService.InputBegan event.

4 Likes

I noticed this as well when I was playing Cabin Crew Simulator (which also has the new TextChatService), the chat box would type the “/“ when I pressed the “/“.
This also seems to be a recent problem, as this wasn’t happening at the beginning of the week if I am correct.

2 Likes

It seems like this issue is related to this change regarding user input frame ordering. It seems like the textbox is getting input and capturing focus before the additional input capture is called after the heartbeat step.

It would also explain why this works because the input isn’t being captured next frame.

1 Like

Continued to notice this through games using the new TextChatService.

1 Like

I get the same issue.

When pressing / or - or whatever it sends causes it to go in the chat as well

1 Like

Oof, thanks for the report. I’ve forwarded this report to the team and we will look into taking steps to determine how to prevent this in the future.

29 Likes

I just was about to mention this, players are having issues in my game with the / hotkey also.

1 Like

In addition to the / issue, I’ve also heard reports of chat bubbles not disappearing over users heads.

I’ve had to switch back to legacy chat (which is not ideal) due to the outrage it’s causing.

2 Likes

That issue (chat bubble disappearing) should be fixed by now according to this post : Bubble Chat is now integrated into TextChatService! - #102 by SubtleShuttle

1 Like

Reports were coming in as of yesterday.

1 Like

And as of typing this, it’s still happening to me, and I’ve observed it happening to other people I was playing with.

Hopefully a fix comes today, I’m starting to go near mad having to press backspace all the time.

1 Like

This is happening in my game too and many people are complaining about it.

I replied to the message talking about the chat bubbles disappearing, is that what you are referencing?

1 Like

This issue is also occurring to my custom chat system. I use task.defer to capture focus of the TextBox on the next resumption cycle to avoid capturing the “/”. This trick worked as expected up until today.

UserInputService.InputBegan:Connect(function(...)
	...
	task.defer(textBox.CaptureFocus, textBox)
end)

I thought this behavior may have been caused by the SignalBehavior flag, however it persists regardless of whether it’s Deferred or Immediate.

Edit: I realize this has been reported above, but I’ll leave it here in case it’s useful.

2 Likes

Also getting very annoyed players at my experience. Parts of my experience depends on TextChatService and I cannot revert back to the classic chat without redoing these portions. Hoping for an update on this soon.

1 Like

Unable to find a workaround ):

I presume the team will take a look after the weekend is over? A bit weird it’s taken so long for a seemingly major communication bug.

1 Like

putting this bug report here in case you don’t see it