sideview 0.6.0__tar.gz → 0.6.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sideview-0.6.0 → sideview-0.6.1}/CHANGELOG.md +7 -0
- {sideview-0.6.0 → sideview-0.6.1}/PKG-INFO +1 -1
- {sideview-0.6.0 → sideview-0.6.1}/docs/quick/README.md +4 -3
- {sideview-0.6.0 → sideview-0.6.1}/native/macos/webview_host.mm +2 -16
- {sideview-0.6.0 → sideview-0.6.1}/pyproject.toml +1 -1
- {sideview-0.6.0 → sideview-0.6.1}/scripts/validate_covered_capture.py +0 -7
- {sideview-0.6.0 → sideview-0.6.1}/CONTRIBUTING.md +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/LICENSE +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/README.md +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/SECURITY.md +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/examples/quick/Browser.qml +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/examples/quick/Projections.qml +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/examples/quick/Shell.qml +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/examples/quick/page.html +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/examples/quick/run.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/examples/simple_browser.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/native/CMakeLists.txt +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/native/linux/webview_host.cpp +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/native/native_webview.h +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/native/win32/webview_host.cpp +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/release-please-config.json +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/scripts/benchmark_frame_stream.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/scripts/benchmark_quick.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/scripts/benchmark_workload.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/scripts/build_linux.sh +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/scripts/build_windows.ps1 +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/scripts/validate_distribution.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/scripts/validate_pull_request_title.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/scripts/validate_quick.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/scripts/validate_windows_native_bounds.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/src/sideview/__init__.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/src/sideview/_backend.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/src/sideview/_controller.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/src/sideview/py.typed +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/src/sideview/quick/SideView.qml +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/src/sideview/quick/__init__.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/src/sideview/quick/_browser.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/src/sideview/quick/_frames.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/src/sideview/quick/_projection.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/src/sideview/widget.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/tests/conftest.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/tests/test_browser_controller.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/tests/test_imports.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/tests/test_native_bounds.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/tests/test_quick_browser.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/tests/test_quick_frames.py +0 -0
- {sideview-0.6.0 → sideview-0.6.1}/tests/test_release_tooling.py +0 -0
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.1](https://github.com/AlexsanderMe/SideView/compare/v0.6.0...v0.6.1) (2026-12-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **quick:** keep WKWebView frame outputs live while covered ([#20](https://github.com/AlexsanderMe/SideView/issues/20)) ([586a067](https://github.com/AlexsanderMe/SideView/commit/586a067f175f7d5c27952ed6efa02d59e2515b53))
|
|
9
|
+
|
|
3
10
|
## [0.6.0](https://github.com/AlexsanderMe/SideView/compare/v0.5.0...v0.6.0) (2026-12-01)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -153,9 +153,10 @@ output releases its demand, and other consumers keep their subscriptions.
|
|
|
153
153
|
|
|
154
154
|
When `capabilities.hiddenCapture` is true, an active frame output or visible projection keeps the
|
|
155
155
|
initialized browser rendering while its native child is covered or its QML
|
|
156
|
-
item is hidden. This is supported
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
item is hidden. This is supported by WebView2 on Windows, WKWebView on macOS,
|
|
157
|
+
and WebKitGTK on Linux with XCB. The source window must stay visible and the
|
|
158
|
+
source item must remain instantiated. If the capability is unavailable, the
|
|
159
|
+
output holds the last frame until the source is visible again.
|
|
159
160
|
|
|
160
161
|
Keep the browser item alive and leave its viewport in place when drawing a
|
|
161
162
|
QML drawer or menu over the browser.
|
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
#include <algorithm>
|
|
8
8
|
#include <cmath>
|
|
9
|
-
#include <cstdlib>
|
|
10
|
-
#include <cstring>
|
|
11
9
|
#include <memory>
|
|
12
10
|
|
|
13
11
|
@interface NWVNavigationDelegate : NSObject <WKNavigationDelegate>
|
|
@@ -148,14 +146,6 @@ void resize_host(Host *host, int width, int height) {
|
|
|
148
146
|
[host->webview setFrame:frame];
|
|
149
147
|
}
|
|
150
148
|
|
|
151
|
-
bool supports_hidden_projection() {
|
|
152
|
-
// Enable the candidate only in native qualification until the Cocoa run passes.
|
|
153
|
-
return [] {
|
|
154
|
-
const auto *value = std::getenv("SIDEVIEW_EXPERIMENTAL_COCOA_HIDDEN_CAPTURE");
|
|
155
|
-
return value && std::strcmp(value, "1") == 0;
|
|
156
|
-
}();
|
|
157
|
-
}
|
|
158
|
-
|
|
159
149
|
void set_quick_rendering(Host *host, bool render) {
|
|
160
150
|
NSView *parent = host->presentationParent;
|
|
161
151
|
if (!render || !parent) {
|
|
@@ -745,18 +735,14 @@ NWV_EXPORT int nwv_quick_stop(void *handle) {
|
|
|
745
735
|
}
|
|
746
736
|
|
|
747
737
|
NWV_EXPORT int nwv_quick_supports_hidden_projection() {
|
|
748
|
-
return
|
|
738
|
+
return 1;
|
|
749
739
|
}
|
|
750
740
|
|
|
751
741
|
NWV_EXPORT void nwv_quick_set_visible(void *handle, int visible) {
|
|
752
742
|
auto host = get_host(handle);
|
|
753
743
|
if (host && !host->destroyed) {
|
|
754
744
|
run_on_main_sync(^{
|
|
755
|
-
|
|
756
|
-
set_quick_rendering(host.get(), visible != 0);
|
|
757
|
-
} else {
|
|
758
|
-
host->container.hidden = visible == 0;
|
|
759
|
-
}
|
|
745
|
+
set_quick_rendering(host.get(), visible != 0);
|
|
760
746
|
});
|
|
761
747
|
}
|
|
762
748
|
}
|
|
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "sideview"
|
|
7
|
-
version = "0.6.
|
|
7
|
+
version = "0.6.1"
|
|
8
8
|
description = "A lightweight native webview for PySide6 with Qt Widgets and Qt Quick/QML support."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
5
|
import json
|
|
6
|
-
import os
|
|
7
6
|
import sys
|
|
8
7
|
import traceback
|
|
9
8
|
from argparse import ArgumentParser
|
|
@@ -257,12 +256,6 @@ def main() -> int:
|
|
|
257
256
|
help="also sample the real screen, which must show the test window unobstructed",
|
|
258
257
|
)
|
|
259
258
|
args = parser.parse_args(app.arguments()[1:])
|
|
260
|
-
if app.platformName() == "cocoa":
|
|
261
|
-
# Exercise the Cocoa candidate in this process while the production
|
|
262
|
-
# capability remains gated on native qualification.
|
|
263
|
-
os.environ["SIDEVIEW_EXPERIMENTAL_COCOA_HIDDEN_CAPTURE"] = (
|
|
264
|
-
"0" if args.expect_unsupported else "1"
|
|
265
|
-
)
|
|
266
259
|
app.setQuitOnLastWindowClosed(False)
|
|
267
260
|
register_types()
|
|
268
261
|
with TemporaryDirectory(prefix="sideview-covered-", ignore_cleanup_errors=True) as directory:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|