Add a window full-screen changed event
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
- 48/100
Hướng nghiên cứu
Start by tracing Window::SetFullScreen() and IsFullScreen() on macOS, Windows, and Linux. Review the listed native notifications and window-state event, including the Windows style and title-bar restoration concerns. Done means a full-screen change event is emitted for programmatic and user-triggered changes on each platform.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Window::SetFullScreen() / IsFullScreen() exist on all three desktop platforms, but there is no event when a window enters or leaves full screen. That includes changes the user triggers (the green button on macOS, F11 / the window manager on Linux). Apps that change their layout in full screen currently have to poll.
Proposal: add a WindowFullScreenChangedEvent (or an entered/left pair), emitted:
- macOS:
NSWindowDidEnterFullScreenNotification/NSWindowDidExitFullScreenNotification - Windows: from
SetFullScreen(), which is the only way in since Win32 has no native full-screen state. Note thatWM_SIZEarrives withSIZE_RESTORED, so it can't be detected from the size message. - Linux:
window-state-eventwithGDK_WINDOW_STATE_FULLSCREEN
It should also be checked that the Windows SetFullScreen() restores the style and title bar correctly on exit (see leanflutter/window_manager#579 and #569).
Background:
- leanflutter/window_manager#560: onWindowEnterFullScreen / onWindowLeaveFullScreen never fire on Windows
- leanflutter/window_manager#559: a draft PR for Windows full-screen handling
- 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
- Đọ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 libnativeapi/nativeapi
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
libnativeapi/nativeapi#81 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
libnativeapi/nativeapi#80 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
libnativeapi/nativeapi#79 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
libnativeapi/nativeapi#78 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
libnativeapi/nativeapi#77 ·
Tất cả issue của libnativeapi/nativeapi
Issue tương tự
-
AuTest Bug Tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/trafficserver#13714 ·
-
bug build
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
facebookincubator/velox#19143 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
tenstorrent/tt-metal#57393 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
objectionary/eo-graphs#74 ·