Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Windows/Linux] Implement SetFocusable and SetNonActivating

Đang mở
#68 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
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp, linux
Lĩnh vực
desktop, operating-systems

Hướng nghiên cứu

Locate the platform-specific implementations of Window::SetFocusable() and SetNonActivating(), then inspect the Windows mouse-activation path and the Linux GTK window setup. Compare the behavior with macOS and evaluate the suggested WS_EX_NOACTIVATE/MA_NOACTIVATE and GTK focus APIs. Done means a window can be clicked without taking focus from the app receiving keyboard input on both platforms.

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

Mô tả

bug

Window::SetFocusable() is a stub on Windows and Linux, and SetNonActivating() only records the flag there. Only macOS implements them. An on-screen keyboard or a floating palette needs a window that can be clicked without taking focus from the app the user is typing into.

Possible implementation: Windows WS_EX_NOACTIVATE (plus MA_NOACTIVATE for WM_MOUSEACTIVATE); Linux gtk_window_set_accept_focus() / gtk_window_set_focus_on_map().

Background:

  • leanflutter/window_manager#404: focus issue while building a virtual keyboard (Windows)
  • leanflutter/window_manager#317: implement setFocusable
Ngôn ngữ chính
C++
Star
34
Fork
7
Merge trung bình
3 ngày 1 giờ
Pull request đã merge (30 ngày)
1

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 libnativeapi/nativeapi

Tất cả issue của libnativeapi/nativeapi

Issue tương tự

Thêm issue về C++

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.