-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
[Bug]: Errors reported from validation_errors.cc and interface_endpoint_client.cc when dragging something out of Electron #41304
Comments
On my Windows 11 machine, the errors are not logged. |
Hello @sschultze. Thanks for reporting this and helping to make Electron better! Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use. Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests. Now adding the
blocked/need-repro
|
This is the gist for Electron Fiddle: https://gist.github.com/sschultze/e569bb2187cda685e61079b86df22e81 Keep in mind that the errors are logged on macOS (I've tried arm64). |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
bump |
Preflight Checklist
Electron Version
28.2.2
What operating system are you using?
macOS
Operating System Version
macOS Sonoma 14.2.1
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
No response
Expected Behavior
Create a draggable element:
Attach an event handler for the
dragstart
event:Start the application and drag the red box somewhere, e.g. into Finder, into Visual Studio Code, or into TextEdit.
This works fine, but I expect that no internal errors are logged.
Actual Behavior
Electron or Chromium internal errors are logged. You can see them in the Fiddler console too, but also in the "normal" console when starting the Electron app from Terminal.
The message number (here: 549403661) differs when a different Electron version is used. Also, in 29.0.0-beta.8, the line number in
interface_endpoint_client.cc
is different (707 instead of 702).From the user perspective however, everything works fine.
Testcase Gist URL
https://gist.github.com/sschultze/e569bb2187cda685e61079b86df22e81 (added)
Additional Information
My application does not actually allow to drag
text/plain
, I have chosen this only for simplicity of reproduction. The errors seem to be logged for any data transfer object regardless of its contents.I have tried 29.0.0-beta.8 too, same issue.
The text was updated successfully, but these errors were encountered: