puter
puter copied to clipboard
Unexpected behavior when scaling a window near the taskbar
Issue Description Scaling a window when the window is near the bottom taskbar causes the window to scale in unexpected ways.
Steps to Reproduce
- Open an app/window (Notepad, Terminal, Trash... etc)
- Position the window near the bottom taskbar
- Scale horizontally or vertically
Expected & Actual Behavior Window resizes normally when scaling
Addition Information or Screenshots (if applicable) https://github.com/HeyPuter/puter/assets/55029902/4ced574b-ccd9-49fa-8ce4-3d68e59cb94e https://github.com/HeyPuter/puter/assets/55029902/e14385e9-cf70-42ea-b595-77d57fba2694 https://github.com/HeyPuter/puter/assets/55029902/998a6dd9-e69e-43f1-bb2d-9eaca617145d
Tooling
- [x] Development (
npm run start
) - [ ] Docker (via
docker run
) - [ ] Docker (via
docker-compose
)
Puter version 2.1.0
Similar oddness happens if a window is near the right edge of the browser window, and you enlarge it to the left.
This was caused by a PR from last month. I'll fix it.
Alright, looking forward to how it goes.
Finally fixed this! Not pushed to puter.com yet though.