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 doesn't work good on non decorative windows #9053

Closed
CodeDoctorDE opened this issue Mar 1, 2024 · 5 comments
Closed

[bug] Resizing doesn't work good on non decorative windows #9053

CodeDoctorDE opened this issue Mar 1, 2024 · 5 comments
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@CodeDoctorDE
Copy link

Describe the bug

When resizing the app, the resizing options only appear on the top, top left and left border (but they are very buggy).
Showcase video:

Aufzeichnung.2024-03-01.191408.mp4

Reproduction

  1. Create a tauri v2 project (using leptos template)
  2. Change tauri.conf.json and add decoration:false to the window

This is my current github repo where the bug appears: https://github.com/LinwoodDev/Vulpine/tree/3fe1528756f982e1684558b43051d1b3a0db6c0f
(setup: pnpm install and then cargo tauri dev)

Expected behavior

Simple resize cursor and functionality on the boundary of the window

Full tauri info output

[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 122.0.2365.59
    ✔ MSVC: Visual Studio Build Tools 2022
    ✔ rustc: 1.78.0-nightly (3246e7951 2024-02-19)
    ✔ cargo: 1.78.0-nightly (7b7af3077 2024-02-17)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: nightly-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)
    - node: 21.6.1
    - pnpm: 8.15.4
    - yarn: 1.22.21
    - npm: 10.2.4

[-] Packages
    - tauri [RUST]: 2.0.0-beta.8
    - tauri-build [RUST]: 2.0.0-beta.6
    - wry [RUST]: 0.37.0
    - tao [RUST]: 0.26.1
    - tauri-cli [RUST]: 2.0.0-beta.5
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-beta.6

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/

Stack trace

No error found

Additional context

Despite showing windows 10 in tauri info, I'm actually using the latest windows 11 23h2.
This is how it looks like in the dev tools:
image

Removing titlebar component and custom styles doesn't help

@CodeDoctorDE CodeDoctorDE added status: needs triage This issue needs to triage, applied to new issues type: bug labels Mar 1, 2024
@yetone
Copy link

yetone commented Mar 2, 2024

same issue: #9023

@CodeDoctorDE
Copy link
Author

Hmm, I think it describes something different.

  1. In this issue it will be described that the width can only be adjusted, for me both can but only in the first corners.
  2. In my example I don't use a data-tauri-drag-region element
  3. In alt+tab the application will be displayed

image

@yetone
Copy link

yetone commented Mar 2, 2024

‌‌alt+tab was caused by another issue, which I have already fixed.

@yetone
Copy link

yetone commented Mar 2, 2024

‌‌‌Yes, as I mentioned in that issue, only the top left corner can be dragged to resize. The bottom right corner cannot.

@amrbashir
Copy link
Member

duplicate of #9023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

3 participants