You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dimensions can only be calculated after move event on the observed component
Actually, I wrote a native module as a workaround fix, but in this case the window opens with correct bounds, but the content width is still the same and changes only after the show event even with disabled backgroundThrottling. It seems setBounds only applies after show event
electron-issue.mp4
The text was updated successfully, but these errors were encountered:
vmatyagin
changed the title
[Bug]: Incorrect screen detection after Mission Control usage
[Bug]: Unable to detect the screen after Mission Control usage
Mar 15, 2024
Preflight Checklist
Electron Version
29.1.4
What operating system are you using?
macOS
Operating System Version
macOS, 14.2.1 (23C71)
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
No response
Expected Behavior
Bounds are correct after moving a window to another display from mission control.
Actual Behavior
Bounds are incorrect after moving a window to another display from mission control.
Testcase Gist URL
https://gist.github.com/VMatyagin/2e453a22a0ca3e355350872bbfa96bca
Additional Information
The dimensions can only be calculated after
move
event on the observed componentActually, I wrote a native module as a workaround fix, but in this case the window opens with correct bounds, but the content width is still the same and changes only after the
show
event even with disabledbackgroundThrottling
. It seems setBounds only applies aftershow
eventelectron-issue.mp4
The text was updated successfully, but these errors were encountered: