-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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] 2.0.0-beta.7 the window cannot change size under Windows 11 #9023
Comments
My ACL:
|
I couldn't reproduce, could you share a minimal repro? |
@amrbashir I used the Tauri scaffold to create a simplest application to reproduce this issue. I found that the root cause is due to the combination of The result is that under Windows 11, it's impossible to adjust the window size by dragging the top left corner. |
I believe that's is the same behavior as v1, simply You can leave 1px at the top and resizing can work when clicking in that 1px area. We could also add this hack into our code like this 7a822bb but I am not sure just yet if this is the right way. |
@amrbashir The previous users didn't report this bug, I guess it's because they could resize from the bottom right corner before. Now it can only be done from the top left corner, so this behavior has been exposed. |
Is that something you did in your app or did bottom right corner also stopped working? |
@amrbashir Yes, in the simple app I mentioned above, it's also impossible to resize by dragging from the bottom right corner, even if there are no |
works fine for me though, can you check what |
I recorded a video to reproduce this bug. I added a margin in the header, and now the top left corner can be dragged to resize, but the bottom right corner cannot be dragged. @amrbashir tauri-bug.mp4 |
The tao version is 0.26.1. |
For this bottom-right corner issue, it is because of the scrollbars, which prevents Anyways, unless webview2 exposes a way for us to hit test the webview, we are kinda stuck with this JS implementation, however I will look into a better way to solve this but no promises. |
Closing this for now since there is no better way than detecting clicks in JS and then start resizing, hopefully the webview team will provide a better way to do hit tests on the Rust side |
Btw: With the newest versions tao 0.26.1 and tauri 2.0 beta 13 the resize handle are still a bit buggy but I can now use the left and top handles again |
what do you mean by buggy? |
Describe the bug
The window can only change its width and cannot adjust its height, I have already granted all the window permissions.
Pressing alt+tab does not display applications.Reproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: