spacedrive
spacedrive copied to clipboard
[MacOS] Resizing Spacedrive Using Window Manager
Describe the bug
Resizing Spacedrive using a window manager does not allow Spacedrive to remember the resolution that it was set to. Resizing the window manually is okay, although moving the window after resizing it using a window manager does not work as intended.
Reproduction
- Install https://rectangleapp.com/
- Set up keyboard shortcuts for Rectangle
- Try to resize Spacedrive using rectangle.
- Drag spacedrive around using the toolbar
- Watch the window revert to original size.
https://github.com/spacedriveapp/spacedrive/assets/60551230/d25be29c-3d70-4383-947f-79c65b46d461
Expected behavior
The window stays the same resolution after modified by window manager.
Platform and versions
©`pnpm --version && cargo --version && rustc --version`:
9.6.6
OS:
macOS 12.6.2 21G320 arm64
Chip:
Apple M1 Max
Spacedrive Version:
v0.1.0 - 2325a8c
Stack trace
No response
Additional context
No response
This may be an underlining issue with Tauri specifically on macOS, because I can't reproduce it on Linux:
Screencast from 2023-05-24 14-16-39.webm
Could you test this in another Tauri based app and see if they have the same behavior? Like this one or this one
Can confirm, Tauri issue:
https://github.com/spacedriveapp/spacedrive/assets/60551230/9269eac7-c0a9-4fa9-a8db-1a1c804ed97b
https://github.com/spacedriveapp/spacedrive/assets/65303441/97950d59-adc8-477d-a539-47d680ba0955
I think this is Rectangle's default behaviour and not a Tauri issue, since other apps are affected by it