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
BillGoldenWater
changed the title
[bug] set position will reset size when cross monitor on macOS
[bug] (macOS) reset size when move cross monitor that has different scale factor
Mar 6, 2023
Describe the bug
when use Window::set_position to set to a position that have a different monitor than last position, the window's size will reset to default.
Reproduction
Expected behavior
the size still be the same size before set pos
Platform and versions
Environment
› OS: Mac OS 12.6.0 X64
› Node.js: 18.7.0
› npm: 8.15.0
› pnpm: 6.11.0
› yarn: 1.22.18
› rustup: 1.25.1
› rustc: 1.62.0
› cargo: 1.62.0
› Rust toolchain: stable-aarch64-apple-darwin
Packages
› @tauri-apps/cli [NPM]: 1.1.5
› @tauri-apps/api [NPM]: 1.0.2
› tauri [RUST]: 1.1.1,
› tauri-build [RUST]: 1.1.1,
› tao [RUST]: 0.14.0,
› wry [RUST]: 0.21.1,
App
› framework: React
App directory structure
├─ original
├─ dist
├─ node_modules
├─ script
├─ public
├─ .github
├─ src-tauri
├─ .git
├─ .idea
└─ src
Stack trace
No response
Additional context
apple silicon, 2nd monitor has scaled
The text was updated successfully, but these errors were encountered: