App Layout restore clears Stash tracking after stashRight/stashDown action

Đang mở
#890 2 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
macos
Lĩnh vực
desktop

Hướng nghiên cứu

Start with the provided App Layout restore log and trace the sequence from stashRight/stashDown through cursor tracking to the following manual action. Compare the restore sequence with running the stash shortcut manually. Done means restored stashed windows retain slide-out behavior when the cursor reaches the stash edge.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Description

When restoring an App Layout that contains stashed windows, the windows are moved back into their correct stash positions, but the slide-out behavior no longer works.

Running the same stash keyboard shortcut manually after the layout restore fixes the issue.

It appears the layout restore successfully applies the stash action and starts cursor tracking, but a following manual action clears the stash state.

Environment

  • Rectangle Pro: v3.80 (225)
  • macOS: 26.5.1 (Build 25F80)
  • Hardware: Apple Silicon MacBook Pro
  • Display: Samsung Odyssey G95SD (5120x1440)

Steps to reproduce

  1. Arrange multiple application windows
  2. Use Rectangle Pro stash shortcuts:
    • Stash Right
    • Stash Down
  3. Save the arrangement as an App Layout
  4. Restore the App Layout
  5. Move cursor to stash edge

Expected behavior

The restored stashed windows should slide out when hovering over the stash area.

Actual behavior

The windows are moved to the correct stash locations, but they do not slide out.

Running the stash shortcut again on the affected window restores the expected slide-out behavior.

Relevant logs

The log appears to show:

stashRight/stashDown -> cursor tracking starts -> manual action executes -> cursor tracking stops

Rectangle Pro v3.80 (225)
macOS: Version 26.5.1 (Build 25F80)
Model: MacBook Pro Apple Silicon
Display: Odyssey G95SD 5120x1440

2026-06-12T07:44:13-06:00:
Layouts: started layout: Dev - Chat

2026-06-12T07:44:13-06:00:
Layouts: 11 windows, 10 unique PIDs with windows


--- Stash Right example ---

2026-06-12T07:44:13-06:00:
LayoutState: Applying window action

2026-06-12T07:44:13-06:00:
Execute action: stashRight, source: keyboardShortcut

2026-06-12T07:44:13-06:00:
Stashing window ID: ### to location: stashRight

2026-06-12T07:44:13-06:00:
AX position proposed: (5119.0, 30.0), result: (5119.0, 30.0)

2026-06-12T07:44:13-06:00:
Starting cursor tracking (stashed count: 1) ✅

2026-06-12T07:44:13-06:00:
Execute action: manual, source: keyboardShortcut ⁉️

2026-06-12T07:44:13-06:00:
Stopping cursor tracking (menu open: false, stashed count: 0) ‼️

2026-06-12T07:44:13-06:00:
LayoutState: indexAndApply completed,
Windows applied: 1,
Windows stashed: 0,
Windows remaining: 0


--- Stash Down example ---

2026-06-12T07:44:13-06:00:
Execute action: stashDown, source: keyboardShortcut

2026-06-12T07:44:13-06:00:
Stashing window ID: ### to location: stashDown

2026-06-12T07:44:13-06:00:
AX position proposed: (5119.0, 1439.0),
result: (5119.0, 1408.0)

2026-06-12T07:44:13-06:00:
Starting cursor tracking (stashed count: 1) ✅

2026-06-12T07:44:13-06:00:
Execute action: manual, source: keyboardShortcut ⁉️

2026-06-12T07:44:13-06:00:
Stopping cursor tracking (menu open: false, stashed count: 0) ‼️

2026-06-12T07:44:13-06:00:
LayoutState: indexAndApply completed,
Windows applied: 1,
Windows stashed: 0,
Windows remaining: 0


--- Layout completion ---

2026-06-12T07:44:13-06:00:
Layouts: Bringing 1 windows forward for spec: Stash Right

2026-06-12T07:44:13-06:00:
Layouts: Bringing 1 windows forward for spec: Stash Down

2026-06-12T07:44:13-06:00:
Layouts: completed - Total windows applied: 7

Notes

The App Layout appears to save the stash actions correctly because stashRight and stashDown are executed during restore.

The issue appears to happen after the stash action succeeds, when the stash tracking state is cleared before the layout restore completes.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
156
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rxhanson/RectanglePro-Community

Tất cả issue của rxhanson/RectanglePro-Community

Issue tương tự

Thêm issue về Desktop Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.