"Apply when the last tab closes" isn't working as expected (loads random tab in background)

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

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

Đá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
70/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
dart
Lĩnh vực
mobile-dev

Hướng nghiên cứu

Locate the tab close handling logic in the Dart codebase, find the code that runs when the last open tab is closed, and fix the condition for the 'Apply when the last tab closes' setting so it opens the configured home page instead of a random background tab. Test the fix on an Android device to confirm the unwanted background tab no longer loads.

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

Mô tả

bug deferred

The "Apply when the last tab closes" option in the Home & New Tab settings section isn’t working properly

ResizedImage_2026-08-10_15-10-18_2323.jpg

Even when this option is enabled and "Home page" is selected in the setting above, closing the last tab in a container still opens a random tab from some other container

The only difference when "Apply when the last tab closes" is enabled is that this opened tab isn't displayed on the screen. Nevertheless, it loads fully in the background and gets recorded in history, including in all browser features that remember recently opened tabs.
This disrupts their sequence with pages the user never intended to open


Environment:

  • Device: realme 9 pro+
  • OS: Android 14
  • WebLibre version: 0.30.0-alpha-3
Ngôn ngữ chính
Dart
Star
1k
Fork
41
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 FaFre/WebLibre

Tất cả issue của FaFre/WebLibre

Issue tương tự

Thêm issue về Dart

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.