Repository navigation
feat: sync WindowLevel / exclude_own_windows and multi-window region screenshot (#85) - #86
Merged
Merged
Conversation
…overlay to multi-window - Sync all 7 language bindings (Rust, Dart, C#, JS, Python, Go, Swift) and API reference with core bbdd13b (WindowLevel, instant macOS visibility, square frameless, ScreenCaptureOptions.exclude_own_windows) - Update Rust, Python, and JS screen_capture tests for exclude_own_windows - Refactor examples/flutter_screen_capture_example to multi-window overlays (one borderless screen-saver-level overlay window per display via Flutter multi-window + nativeapi) - Restore MainFlutterWindow.swift to the stock Flutter template with zero custom platform code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Depends on / pairs with libnativeapi/nativeapi-core#115.
Closes #81
Closes #82
Closes #83
Closes #84
Closes #85
Changes
corebbdd13b:WindowLevel(Normal,Floating,Status,ScreenSaver) +Window.setLevel/Window.getLevelScreenCaptureOptions.excludeOwnWindowsscreen_capturetests for the newexclude_own_windowsfield.examples/flutter_screen_capture_example:macos/Runner/MainFlutterWindow.swiftto the stock 15-line Flutter template (zero custom platform code orMethodChannel).macos/Runner/AppDelegate.swift,MainMenu.xib,windows/runner/main.cpp) matchingflutter_floating_toolbar_example.excludeOwnWindows: trueand spawns one borderlessWindowLevel.screenSaveroverlayWindowper display vianativeapi+nativeapi_flutter/windowing.dart, leaving the main window untouched underneath.Verification
./codegen check— 87 C ABI files + 436 binding/reference files up to date.screen_capture_test&window_corner_preference_unsupported_testpassed.cargo test -p nativeapi --test screen_capture, Swiftswift test, C#dotnet build NativeAPI.slnx, Gogo test, Pythonpytest tests/test_screen_capture.pypassed.flutter_screen_capture_example:dart format,flutter analyze,flutter build macos --debugpassed, and verified visually on dual displays (built-in Retina + external 2K) with instant full-display dimmed overlays covering menu bar and Dock.