The Restore Previously Used One option does't work correctly

Đang mở
#66 0 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ó
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ệ
swift
Lĩnh vực
desktop

Hướng nghiên cứu

Start with InputSourcePro's code that implements the Restore Previously Used One behavior — the observers tracking app/window focus changes and the calls that apply an input source. Read how the previous layout is stored and re-applied on activation, and check the linked demo video for the rapid double-switching symptom. Done means CMD-TAB reliably restores the prior layout for the new app (including with a Karabiner-remapped F19 trigger). Note the issue has sat 272 days with no maintainer reply, so confirm it is still relevant before investing.

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

Mô tả

Presumably, after the last update, the Restore Previously Used One option stopped working.
For example, I am in the Text Editor and select Layout 1, then I switch to another application where I select Layout 2. Then I press CMD-TAB and Layout 2 remains in the first application, but not always: sometimes the switch works, but more often than not. Often, simply pressing CMD helps, and then the input source changes to Layout 1, but sometimes that doesn't work either. In the system settings, the Automatically switch to a document's input source checkbox is unchecked (if that matters).
If you look closely, you can see in the demo that when switching focus between windows, the layout switches quickly several times. In the lower right corner, display the layout switch in Input Source Pro and KeyCastr in the lower left corner. To clarify: F19 is the FN key remapped on my keyboard via Karabiner, and in the system settings, language switching is assigned to F19. These are custom layouts for two languages with prefix ALTER, created using Ukelele.
Everything used to work with this settings

Demo: https://disk.yandex.ru/i/DSqnoOYHcoPAQg

Ngôn ngữ chính
Swift
Star
3.6k
Fork
144
Merge trung bình
4 giờ 16 phút
Pull request đã merge (30 ngày)
3

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 runjuu/InputSourcePro

Tất cả issue của runjuu/InputSourcePro

Issue tương tự

Thêm issue về Swift

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.