Open safris opened 4 months ago
@safris i'm unable to reproduce using the provided version and Ubuntu. I see r
only when expected, and m
only when expected. Is there anything else necessary to see the unexpected behavior?
@codebytere, I'm surprised you cannot reproduce this, because this definitely happens for me. I just ran the attached GIST, and when I move the window I see this in my terminal:
Note that I'm testing from a Parallels VM on arm64 architecture with Ubuntu running the Cinnamon desktop environment.
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
30.0.1
What operating system are you using?
Ubuntu
Operating System Version
Ubuntu 22.04
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
No response
Expected Behavior
In the attached GIST,
console.log("m")
occurs forBrowserWindow.on("move")
, andconsole.log("r")
occurs forBrowserWindow.on("resize")
.Expected Behavior:
Actual Behavior
Three distinct use-cases:
It seems that if the title bar is either moved or resized, both "move" and "resize" events are emitted. If other parts of the window are moved or resized, "move" and "resize" are emitted respectfully to the correct action.
I've also tried with
frame=false
, and the behavior is the same.This issue seems to be related to #28134.
Testcase Gist URL
https://gist.github.com/safris/bb9e06b50d82e83f787a1b52f94b3f3c
Additional Information
No response