Comments (6)
I just noticed that Signal Desktop exhibits this same behavior if run under native Wayland, suggesting it might be an Electron issue.
from webcord.
(...)
--enable-features=UseOzonePlatform
(...)
FYI, this flag is redundant on WebCord. I think WebCord was adding it before with Wayland enabled and even if it wouldn't, it is believed recent Chromium builds are already enabling the use of ozone platform support. You should be aware, WebCord does as much as it is possible to tinker with Chromium command-line without re-launching or wrapping its own process, although some actions (like enabling Wayland) seem to be only possible before any process creation is made, otherwise it may lead to unexpected behaviour like crashes from my past experience when I was actually considering making WebCord switch to Wayland by the default (it's possibly too early to do that for now anyway, at least with Chromium still considering it somewhat experimental by itself or at least not using it by the default).
As of the issue, I might check it out later to see if I can reproduce it on Wayland on GNOME. Also I think #464 is not a duplicate (since it seems to explain the opposite situation: everything being fine with Wayland but not under XWayland) and I might also want to close it, given this issue ticket explaining the contrary situation to what was explained in #464 (that XWayland is functional but not Wayland, plus file being added to the message box).
Please explain if I understand correctly the bug you're experiencing and its reproducibility against different windowing systems.
from webcord.
I just noticed that Signal Desktop exhibits this same behavior if run under native Wayland, suggesting it might be an Electron issue.
I suspect this is more or less actually a bug within Chromium engine and it might not be present with different Electron builds. At worst it could be also introduced by Wayland implementation within DE, if something has changed around drag and drops (isn't Wayland spec still changing around some portal stuff?).
Also, you might find more info on that around other Electron/Chromium software, like VSCode:
microsoft/vscode#156723
I might also check if there's any upstream report made to Electron around this issue later.
from webcord.
Yes, you understand correctly. Drag and drop leads to everything still working on XWayland, and causes the mouse to stop working on Wayland.
Because it still works perfectly on XWayland, there's no rush for a fix, especially if it's dependent on Wayland protocols that aren't finalized.
from webcord.
For pure curiosity, I tested this on plain Chromium by dragging an image into the drop zone on https://dragdrop.com/test. Chromium exhibits the exact same behavior as WebCord: the mouse stops working on Wayland and keeps working on XWayland. This is on Chromium 123.0.6312.86 from the Arch repos.
Googling lead me to this Arch forum post, which links to this KDE issue. The newest comment on that bug report (from 3/29) suggests that this has been fixed in beta Chromium, currently version 124, which presumably will percolate down into Electron at some point.
I installed Chrome beta (not Chromium, it's not in the AUR, but I figure they're close enough for this test), and it does indeed seem to be fixed.
from webcord.
This seems to be fixed in Chromium 123.0.6312.105.
from webcord.
Related Issues (20)
- Take Ownership of the io.spacingbat3.webcord Flathub repo HOT 7
- RPM package cannot be installed on Mageia 9 HOT 1
- UncaughtException: WebCord threw 'SyntaxError' HOT 1
- Webcord RPM package cannot be installed because headers are not signed. HOT 2
- Activites do not load due to the Content Security Policy HOT 3
- Font size
- Webcord crashed, now crashes on startup. HOT 2
- Ctrl+Tab does not work
- Disable startup webcord splash screen HOT 4
- Custom CSP configurable by the user HOT 1
- Screen share on Wayland does not work HOT 11
- UncaughtException: WebCord threw 'Error' HOT 1
- Infinite Captcha when logging in via QR Code HOT 4
- config.json gets overridden/replaced with default values on launch HOT 2
- "EIO: i/o error, write" when running the appimage by double clicking, but works fine if ran through the terminal
- Alt menu opening when switching language with Alt + Shift HOT 2
- add `--ozone-platform-hint=auto` to the AUR build script HOT 2
- Maximizing "accept invitation" window crashes the whole program HOT 4
- I can't maximize the window HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webcord.