puter icon indicating copy to clipboard operation
puter copied to clipboard

Unexpected behavior when scaling a window near the taskbar

Open Eric-Lighthall opened this issue 10 months ago • 3 comments

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

Eric-Lighthall avatar Apr 21 '24 21:04 Eric-Lighthall

Similar oddness happens if a window is near the right edge of the browser window, and you enlarge it to the left.

AtkinsSJ avatar Apr 22 '24 06:04 AtkinsSJ

This was caused by a PR from last month. I'll fix it.

jelveh avatar Apr 22 '24 06:04 jelveh

Alright, looking forward to how it goes.

Eric-Lighthall avatar Apr 22 '24 06:04 Eric-Lighthall

Finally fixed this! Not pushed to puter.com yet though.

jelveh avatar Jun 19 '24 06:06 jelveh