Bug: Toggling stacked or tabbed layout off changes the container's split direction
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 30/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 issue names determineSplitLayout() as the function that picks split direction from the monitor shape. Locate it in the extension's JavaScript source and read how callers exit tabbed/stacked groups. The external reproduction script exercises the toggles; done means the original split direction is restored per the acceptance criteria.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem. Take a container whose windows sit one above the other (vertical split). Press Super+Shift+S (stacked) and then Super+Shift+S again. The windows come back side by side instead of one above the other. The same happens with Super+Shift+T (tabbed), when a tab group auto-exits because only one window is left, and when the stacked or tabbed feature is turned off in the settings.

Cause. Every way back from a group to a split uses determineSplitLayout(). That picks a direction from the monitor's shape (side by side on a landscape monitor), not from the container. The direction the container had before is not kept anywhere.
Desired outcome. Leaving a tabbed or stacked group restores the split direction the container had before it became a group. The monitor's shape is used only for a group that never was a split, such as one created by drag and drop.
Acceptance criteria.
- A vertical split toggled to stacked and back is a vertical split again; the same for a horizontal split, and for tabbed.
- Switching stacked → tabbed → split (or tabbed → stacked → split) restores the original direction.
- Auto-exit of a tab group, and turning off the stacked or tabbed feature, restore the original direction.
- A group created directly (drag and drop to the centre) still gets the monitor's direction when it leaves the group.
Reproduction: scenarios/17_stack_tab_switching.py (17.1, 17.2).
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của forge-ext/forge
-
Bug: GNOME 51 crash - metaWindow.set_unmaximize_flags() causes Mutter SIGSEGV on window closeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Bug: Changing a setting while Forge is disabled (e.g. screen locked) throws errors; old handlers keep runningCó thể đã có người làm @mattchristenson đã nhận 39 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Bug: Windows overlap while resizing, until slower apps catch upCó thể đã có người làm @mattchristenson đã nhận 39 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
-
Bug: Tabbed and stacked groups that contain a split show windows on top of each otherCó thể đã có người làm @mattchristenson đã nhận 39 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
-
Bug: Windows in a stacked group are hidden without a traceCó thể đã có người làm @mattchristenson đã nhận 39 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Tất cả issue của forge-ext/forge
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Fei2411/DeepSeek-Bot#1113 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
arfct/timezone.fyi#19 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
fastify/fastify-http-proxy#493 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
eliasstravik/herdr-projects#785 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
tensorflow/tfjs#8754 ·