Bug: Windows in a stacked group are hidden without a trace

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

@mattchristenson đang làm issue này rồi.

Từ ngày 30/9/2026.

  • #568 của @mattchristenson — đang mở

Đá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
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
desktop

Hướng nghiên cứu

The focus handler calls updateStackedFocus() and updateTabbedFocus() without the window, causing early returns; locate these in the extension JS source. Run the reproduction scenario scenarios/17_stack_tab_switching.py from forge-repro to observe the bug. Implement an i3-style title list bar per acceptance criteria; done means N title rows show for N windows with fixed-order Super+J/K navigation.

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

Mô tả

Problem. A stacked group (Super+Shift+S) places each window one header height lower than the one before, and relies on the windows' own title bars peeking out above the focused one. Only the windows before the focused one peek out. Every window after it is completely covered, with nothing showing that it exists. With focus on the first window of a stack of three, the stack looks like a single window.

stack of three, first window focused: main vs fix

Cause. A 2022 change, "Improve stacking order when focused" (07ac521), was meant to move the focused window to the end of the stack on every focus change, so every title would show above it. But the focus handler calls updateStackedFocus() and updateTabbedFocus() without the window, so both return immediately. The behaviour never took effect. (Enabling it as designed would also reorder the stack on every focus, which breaks Super+J/K: they would bounce between two windows.)

Desired outcome. An i3-style stack:

  • a list of every window's title at the top of the group, one row per window, in a fixed order;
  • the focused window below the list, with its row highlighted;
  • every other window one click on its row, or Super+J/K, away.

Acceptance criteria.

  • A stack of N windows shows N title rows. None is hidden, whichever window is focused.
  • The focused window is on top, below the list. No window covers the list.
  • The focused window's row is highlighted, and follows focus changes (keys, clicks, Alt+Tab).
  • Clicking a row focuses that window; the close button on a row closes it.
  • Super+J/K move through the stack in list order, and the order doesn't change.
  • Switching stacked ↔ tabbed changes the bar between a list and tabs, with no leftover bar.
  • With title bars turned off (showtab-decoration-enabled), stacks keep today's cascade.

Reproduction: scenarios/17_stack_tab_switching.py (17.3, 17.6).

Ngôn ngữ chính
JavaScript
Star
1.3k
Fork
112
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 forge-ext/forge

Tất cả issue của forge-ext/forge

Issue tương tự

Thêm issue về JavaScript

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.