Skip to content

🐛 Undo Loop function truncates window size for windows that were not completely on the screen #347

@adly42

Description

@adly42

Bug Description

If a window is half off the screen, then looped to a different position, using the Undo Loop function does not restore the window to its original size. Whatever part of the window that was visible on the screen will become the new window's dimensions.

Steps To Reproduce

  1. Create a new window of any Loop-supported program
  2. Move the window so that part of the window is off screen
  3. Use Loop to move the window to a new position
  4. Undo Loop to revert the window to its offscreen position and dimensions
  5. (Optional) Click and drag the window to see that its dimensions were truncated by the screen's boundaries

Expected Behavior

The Undo Loop function should restore the window's previous size and dimensions, even if part of it is off screen.

Actual Behavior

The Undo Loop function truncates a window's dimensions for edges that leave the bounds of the screen (i.e., go offscreen).

Screenshots

Undo.Loop.Bug.mov

MacOS Version

Sonoma 14.0

Loop Version

Version 1.0.0-beta.15 (817)

Additional Context

No response

Final Checks

  • My issue title is descriptive
  • This is a single bug (multiple bugs should be reported individually)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions