Bug: Windows overlap while resizing, until slower apps catch up
Đá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
- 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, linux
- Lĩnh vực
- desktop-dev
Hướng nghiên cứu
Run sandbox/run-suite.sh 18 from forge-repro to observe overlap episodes per scenario. Acceptance criteria require no tiled overlap at any frame. The linked PR #570 already implements a fix, so pick up from there rather than starting fresh; no forge source file is named in the issue.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem. When Forge changes the layout (a window opens or closes, a container is resized), it asks every affected window for its new place at the same moment. Apps take a frame or more to draw their new size, and GNOME keeps showing a Wayland window at its old place and size until the app has drawn it. X11 apps, by contrast, move at once. So a window that grows into the space its neighbour gives up is drawn over that neighbour until the neighbour has redrawn.
Usually that is one to three frames. While a resize key repeats, Forge sends a new place before the app has drawn the last one, and GTK apps (Ptyxis, Files, Text Editor) fall behind by up to about a second. Example: hold Super+Ctrl+Left on a window with a terminal to its left and VS Code below it. VS Code (X11) follows every step at once, and the terminal lags, so VS Code covers the terminal by hundreds of pixels for seconds.

Desired outcome. A layout change never shows one tiled window on top of another. While an app catches up there may be a gap (the wallpaper shows briefly), never an overlap. The final layout and the speed of resizing are unchanged.
Acceptance criteria.
- Holding a resize key between a GTK app and an X11 app: no overlap at any moment, and no check on the layout reported by GNOME fails.
- Opening, closing and moving windows: no overlap longer than one frame.
- A window whose app never redraws doesn't hold the others back for more than half a second.
- Windows that swap places (move left/right) still swap immediately.
- All layout scenarios still pass.
Reproduction: scenarios/18_slow_redraw_overlap.py, which uses a test app that takes 120 ms to follow each new size, next to a fast window. Or, with real apps, scenarios/07_real_apps.py (7v.4) on a large screen. sandbox/run-suite.sh 18 also reports every overlap episode per scenario.
- 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 38 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: 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
-
Bug: Toggling stacked or tabbed layout off changes the container's split directionCó 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 30/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 ·