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
Macos, frameless window, -webkit-app-region: drag on fixed height/width not working after resizing the window #electron7.1 #21034
Comments
@KASOGIT Same behavior to me. |
This is a problem and we will have to postpone our upgrade. |
We have the same issue, but when resizing on height. Resizing on width and corners afterwards fixes it. |
I have the same issue, when leave-full-screen |
* chore: 升级部分包 * fix: 为解决electron的无边框早macos 10.15.1的拖拽BUG,只用有边框 BUG:electron/electron#21034 * fix: 使用https * fix: 解决同源策略,可以修复右键功能 * fix: 解决mac qq选中整个content截图白屏的问题,实际上这是qq的问题,识图的截图方式依然存在白屏问题 * chore: 升级版本 * chore: 还原功能,记录问题 调试发现,qq截图白屏是new tray执行的原因,只要tray顺利执行,那么qq弹框截屏就白屏 * feat: 增加回到日事清功能 * fix: 升级@sentry/electron解决提示getName被废弃警告的问题
This seems to be an issue with changing the window height. When the height is expanded or reduced, the window is no longer draggable. Expanding the height AND width of the window will restore the usual functionality. This can be done by expanding one edge at a time or both at the same time. One other thing to note is that the issue is somewhat inconsistent. Most of the time it occurs, but sometimes it doesn't. For the record, I'm using electron 7.1.7 on OSX. |
Any updates on this one? |
It seems to be fixed by #21723, so normally you shouldn't have this problem anymore after Electron 7.1.9 |
The Electron version reported on this issue is no longer supported. See our supported versions documentation. If this is still reproducible on a supported version, please open a new issue with any other new information that a maintainer should know. Thank you for taking the time to report this issue and helping to make Electron better! Your help is appreciated. |
Issue Details
Expected Behavior
After manually resizing my window or with electron api func like
maximize
orsetBounds
i would like the-webkit-app-region: drag
property to keep on working on a title bar with fixed width or/and height.Actual Behavior
When opening the app drag works perfectly but once manually resize the window or call size changing electron api func the drag stop working directly.
To Reproduce
https://github.com/bonjourio/electron-test-repository
npm install && npm run start
On the exemple the header has a fixed height of 40px and width 100% when resizing on the width drag works fine after it but after resizing on the height not. You can edit the style in index.html to test different behavior, like:
height: 100%; width: 40px;
= not working after resizing on width.Best regards.
The text was updated successfully, but these errors were encountered: