Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some buttons in discord website trigger browser dragging #1381

Closed
shalva97 opened this issue Dec 14, 2020 · 12 comments
Closed

some buttons in discord website trigger browser dragging #1381

shalva97 opened this issue Dec 14, 2020 · 12 comments

Comments

@shalva97
Copy link
Contributor

  • Min Version: 1.17.1
  • Operating system: Arch

Expected Behavior

websites shouldnot be able to make browser drag

Actual Behavior

on Discrod almost all buttons on the right corner trigger dragging and are unclickable

To Reproduce

go to discord and try to press these buttons:
image

updated to 1.17.1

@shalva97 shalva97 added the bug label Dec 14, 2020
@Milo123459
Copy link
Member

That is very weird, this sounds like an issue on Discord's end, but I don't know.

@shalva97
Copy link
Contributor Author

It works okay in other browsers so yea...

I also made a video because it is indeed a weird and easily noticeable bug so maybe it is only on Linux? anyways this is what it looks like

@PalmerAL
Copy link
Collaborator

I think this is probably electron/electron#26496 (or another recent PR that I can't find at the moment); let's try upgrading to the newest version of Electron and see if it still happens.

@shalva97
Copy link
Contributor Author

this is also a problem in Slack when trying to select an emoji...

@PalmerAL
Copy link
Collaborator

I think 1.17.3 (just released) should fix this; can you try that and see?

@shalva97
Copy link
Contributor Author

nope, still same on 1.17.3

@PalmerAL
Copy link
Collaborator

Did you update your version of Electron when you upgraded the package? If you go to Min > help > about, Electron should be at least 11.1.0.

@shalva97
Copy link
Contributor Author

there is no Electron in Min > help > about. only chromium and min version.
image

but the Arch package has #!/usr/bin/electron so Electron version must be v11.1.0 because that what is installed on my system.

@shalva97
Copy link
Contributor Author

I have pulled the master branch and npm run build then electron . but same problem still

@PalmerAL
Copy link
Collaborator

PalmerAL commented Jan 4, 2021

There's another Electron PR that was merged today and fixes a really similar issue: electron/electron#27147, so there's a good chance that should fix this as well.

In the meantime, enabling "use separate titlebar" seems to fix it for me (although the mouse cursor in my VM isn't working very well in general, so I'm not totally sure).

@shalva97
Copy link
Contributor Author

I can confirm everything works fine on Electron v11.2.0

you may close this...

@Milo123459
Copy link
Member

Glad to hear that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants