SpacingBat3 / WebCord

A Discord and SpaceBar :electron:-based client implemented without Discord API.
MIT License
1.88k stars 94 forks source link

Typing issue #406

Closed LynithDev closed 1 year ago

LynithDev commented 1 year ago

Aknowledgements

Operating System / Platform

🐧️ Linux

Operating system architecture

x64 (64-bit Intel/AMD)

Electron version

v24.0.0

Application version

v4.2.0

Bug description

Hello! I found a rather irritating issue which only seems to happen on Webcord and the Discord Desktop App (https://discord.com/app in Firefox but couldn't reproduce it).

It's rather hard to describe but I'll try. Whilst typing, the app seems to attempt to auto-correct / spell-check it in some way, which makes it sorta "laggy". It is most visible whilst typing "your" and/or "you're" (Which gives me reason it is to do with auto-correct).

I would provide a video however my recorder (GNOME's Screencast util) didn't capture it.

Additional context

LynithDev commented 1 year ago

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

How would I check this?

SpacingBat3 commented 1 year ago

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

How would I check this?

You would have clone repo, npm ci and for each Electron version (except v24): npm i electron@${major}.x.y && npm start, where ${major} is Electron's major version (in this scenario: 22,23). So the script for Linux to do it all at once:

#!/bin/sh -e
git clone https://github.com/SpacingBat3/WebCord.git
cd WebCord
npm i
for v in 23 22; do
    npm i "electron@${v}.x.y"
    echo "=== Executing app on Electron ${v} ==="
    npm start
done

That's optional through  – it is there to prove it isn't a recent regression.

LynithDev commented 1 year ago

Okay I found out it is specific to Wayland + NVIDIA (Proprietary driver) + Electron apps

Sorry for the confusion