Closed Bug 1636972 Opened 4 years ago Closed 2 years ago

discord.com: nothing happens when clicking "Join this server"

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect

Tracking

()

RESOLVED INVALID
Webcompat Priority ?
Tracking Status
firefox78 --- affected

People

(Reporter: mbrodesser-Igalia, Unassigned)

Details

Attachments

(1 file)

Happens on Ubuntu 18.04 with Firefox 77. Doesn't happen on Chrome.

STR:

  1. Login to www.discord.com.
  2. Click the magnifier symbol to discover servers.
  3. Click on some server.
  4. Join some channel.
  5. A popup with "You can't chat here yet! You have to join the community first before you can interact". It contains a "Join this server" button.
  6. Click the button.

Expected:
one joins the server, the popup disappears.

Actual:
the popup doesn't disappear.

Has STR: --- → yes
Webcompat Priority: --- → ?

So you join the server on step 2 and discord again requires joining on step 4? Sounds strange...

(In reply to Kagami :saschanaz from comment #1)

So you join the server on step 2 and discord again requires joining on step 4? Sounds strange...

Clarified the steps.

Thanks!

That said, I tried following the repro steps on Windows and it closes the popup. Not sure what's the difference.

Tried again on Ubuntu 20.04 and I still can get the popup.

Edit: Ah my confusion, no it does not "close" it on Ubuntu.

Weird. I could close the popup by clicking "Join this server" and it did close the popup. I'm retrying on both Windows and Ubuntu, Firefox and Chrome and it never closes anywhere anymore.

Since this can be reproduced on Chrome too, I think this is solely a Discord bug.

I got an interesting exception while reproducing this.

  1. Do the all steps from #c0
  2. Open DevTools console
  3. Middle-click "Leave server" on the server icon you just joined, from the top-left of screen
799a650825062cf0bf23.js:14 Uncaught (in promise) Invariant Violation: Dispatch.dispatch(...): Cannot dispatch in the middle of a dispatch. Action: GUILD_STOP_LURKING Already dispatching: GUILD_MEMBER_REMOVE
    at e.exports (https://discord.com/assets/799a650825062cf0bf23.js:14:117686)
    at e.t._dispatch (https://discord.com/assets/799a650825062cf0bf23.js:62:700874)
    at e.t.dispatch (https://discord.com/assets/799a650825062cf0bf23.js:62:700820)
    at https://discord.com/assets/799a650825062cf0bf23.js:47:202441
    at a (https://discord.com/assets/d20aa062f96034a18e87.js:16:47346)
    at Generator._invoke (https://discord.com/assets/d20aa062f96034a18e87.js:16:47099)
    at Generator.forEach.t.<computed> [as next] (https://discord.com/assets/d20aa062f96034a18e87.js:16:47703)
    at h (https://discord.com/assets/799a650825062cf0bf23.js:47:197713)
    at i (https://discord.com/assets/799a650825062cf0bf23.js:47:197916)
    at https://discord.com/assets/799a650825062cf0bf23.js:47:197975
    at new Promise (<anonymous>)
    at Object.<anonymous> (https://discord.com/assets/799a650825062cf0bf23.js:47:197856)
    at Object.t.stopLurking (https://discord.com/assets/799a650825062cf0bf23.js:47:197473)
    at Object.selectGuild (https://discord.com/assets/799a650825062cf0bf23.js:20:412511)
    at Me (https://discord.com/assets/799a650825062cf0bf23.js:108:1392867)
    at r.handleHistoryChange (https://discord.com/assets/799a650825062cf0bf23.js:108:1394414)
    at r (https://discord.com/assets/799a650825062cf0bf23.js:54:37009)
    at https://discord.com/assets/799a650825062cf0bf23.js:54:37236
    at Array.forEach (<anonymous>)
    at Object.notifyListeners (https://discord.com/assets/799a650825062cf0bf23.js:54:37206)
    at b (https://discord.com/assets/799a650825062cf0bf23.js:62:644950)
    at https://discord.com/assets/799a650825062cf0bf23.js:62:646605
    at Object.confirmTransitionTo (https://discord.com/assets/799a650825062cf0bf23.js:54:36948)
    at Object.D [as replace] (https://discord.com/assets/799a650825062cf0bf23.js:62:646389)
    at Object.replaceWith (https://discord.com/assets/799a650825062cf0bf23.js:14:242769)
    at GUILD_MEMBER_REMOVE (https://discord.com/assets/799a650825062cf0bf23.js:20:244446)
    at e.t._dispatch (https://discord.com/assets/799a650825062cf0bf23.js:62:701412)
    at e.t.dispatch (https://discord.com/assets/799a650825062cf0bf23.js:62:700820)
    at s.<anonymous> (https://discord.com/assets/799a650825062cf0bf23.js:45:237892)
    at s.emit (https://discord.com/assets/799a650825062cf0bf23.js:20:204331)
    at s.u._handleDispatch (https://discord.com/assets/799a650825062cf0bf23.js:110:40448)
    at r (https://discord.com/assets/799a650825062cf0bf23.js:110:35835)
    at r._onDataReady (https://discord.com/assets/799a650825062cf0bf23.js:110:36107)
    at r.t.handleFlushEnd (https://discord.com/assets/799a650825062cf0bf23.js:110:53623)
    at d.push (https://discord.com/assets/799a650825062cf0bf23.js:110:80214)
    at r.t.feed (https://discord.com/assets/799a650825062cf0bf23.js:110:53068)
    at WebSocket.<anonymous> (https://discord.com/assets/799a650825062cf0bf23.js:110:36165)

This is from Chrome, since Firefox didn't show the stack:

Invariant Violation: Dispatch.dispatch(...): Cannot dispatch in the middle of a dispatch. Action: GUILD_STOP_LURKING Already dispatching: GUILD_MEMBER_REMOVE

BTW, I'm just banned from Discord because of repeated joining and leaving. Can somebody contact Discord to unblock my account 😢

(In reply to Kagami :saschanaz from comment #6)

Weird. I could close the popup by clicking "Join this server" and it did close the popup. I'm retrying on both Windows and Ubuntu, Firefox and Chrome and it never closes anywhere anymore.

Since this can be reproduced on Chrome too, I think this is solely a Discord bug.

Thanks for this! I'll see if there's been a similar issue in their feedback forum; if no, going to post a new issue here https://support.discord.com/hc/en-us/community/topics , then closing this bug as this is not something we can help.

Flags: needinfo?(htsai)
Flags: needinfo?(htsai)

Close per comment 8.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: