Skip to content
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]: Resizing window inconsistent when the BrowserView intersects the edge of a frameless window #33424

Closed
3 tasks done
solarfluxx opened this issue Mar 24, 2022 · 6 comments

Comments

@solarfluxx
Copy link

Preflight Checklist

Electron Version

17.2.0

What operating system are you using?

Windows

Operating System Version

Windows 11 version 21H2

What arch are you using?

x64

Last Known Working Electron version

17.1.2

Expected Behavior

When resizing the window using the mouse, it should allow resizing.

Actual Behavior

When resizing using the mouse, most of the time the cursor is "locked" to the browser window which prevents the window from being resized. However, some of the time it does work. It seems very inconsistent.

Testcase Gist URL

https://gist.github.com/08a21fe0da32e9d647b1bd03934c7309

Additional Information

No response

@apm963
Copy link

apm963 commented Mar 24, 2022

I am running into this too. It may have been introduced in #32871.

@solarfluxx
Copy link
Author

After further investigation, with the same electron setup and Windows version I have discovered the following:

In electron version 17.0.0, resizing, drag regions, and the maximize/minimize animations work correctly.
In electron version 17.0.1, drag regions (-webkit-app-region: drag;) are broken, along with the maximize and minimize animations.
In election version 17.2.0, the drag regions are fixed but now the resize issue appears. The maximize and minimize animations are still broken.

@mankeheaven
Copy link

In electron version 17.0.1, 17.2.0, 15.4.2, I can resize with right bottom cornor, can not resize with top, right, bottom, left edge.
which version is stable?

@mankeheaven
Copy link

13.5.2 is ok, but titlebar height can not update, is 30px, I use this version

@github-actions
Copy link
Contributor

github-actions bot commented Oct 5, 2022

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!

@github-actions github-actions bot added the stale label Oct 5, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2022

This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants