WebCord: Can't drop files into WebCord

Acknowledgements

  • I have checked that there is no other issue describing the same or similar problem that I currently have, regardless if it has been closed or open.

  • This bug affects Discord website.

  • This issue is confirmed to be reproducible when WebCord is packaged on at least all three latest supported Electron major releases.

  • This issue is reproducible in Chrome, Chromium or any Chromium-based browser, e.g Brave or Edge (please write in Additional Context which browser you have used if it is neither Chrome nor unmodified Chromium).

  • There are no fixes done to master which resolves this issue.

  • My issue describes one of the unstable and/or not fully implemented features.

  • I have found a workaround to mitigate or temporarily fix this issue in affected releases (please write it in Additional context section below).

Operating System / Platform

šŸ§ļø Linux

Operating system architecture

x64 (64-bit Intel/AMD)

Electron version

25.6.0

Application version

4.4.0

Bug description

I can’t drop files into any chat

Additional context

No response

About this issue

  • Original URL
  • State: open
  • Created 10 months ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

I can reproduce this on X11 using the Flatpak. Using the + button and manually picking the file instead of drag&drop works fine.

@dreamsyntax That one is actually a problem specific to Flatpaks (or Electron, if there’s any app actually functional with drag&drop packaged as Flatpak?) since there’s sandboxing going on and it is very likely that drag and drop doesn’t work via portals like when adding a file via native dialogs.